mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2025-12-23 00:44:26 +01:00
Expose fees for review + auto accept
This commit is contained in:
@@ -4642,6 +4642,10 @@ final class wire_cst_SdkEvent_PaymentWaitingConfirmation extends ffi.Struct {
|
||||
external ffi.Pointer<wire_cst_payment> details;
|
||||
}
|
||||
|
||||
final class wire_cst_SdkEvent_PaymentWaitingFeeAcceptance extends ffi.Struct {
|
||||
external ffi.Pointer<wire_cst_payment> details;
|
||||
}
|
||||
|
||||
final class SdkEventKind extends ffi.Union {
|
||||
external wire_cst_SdkEvent_PaymentFailed PaymentFailed;
|
||||
|
||||
@@ -4654,6 +4658,8 @@ final class SdkEventKind extends ffi.Union {
|
||||
external wire_cst_SdkEvent_PaymentSucceeded PaymentSucceeded;
|
||||
|
||||
external wire_cst_SdkEvent_PaymentWaitingConfirmation PaymentWaitingConfirmation;
|
||||
|
||||
external wire_cst_SdkEvent_PaymentWaitingFeeAcceptance PaymentWaitingFeeAcceptance;
|
||||
}
|
||||
|
||||
final class wire_cst_sdk_event extends ffi.Struct {
|
||||
@@ -4708,6 +4714,8 @@ final class wire_cst_config extends ffi.Struct {
|
||||
|
||||
@ffi.Bool()
|
||||
external bool use_default_external_input_parsers;
|
||||
|
||||
external ffi.Pointer<ffi.Uint32> onchain_fee_rate_leeway_sat_per_vbyte;
|
||||
}
|
||||
|
||||
final class wire_cst_connect_request extends ffi.Struct {
|
||||
@@ -5367,6 +5375,8 @@ typedef DartUniFfiRustFutureContinuationFunction = void Function(ffi.Pointer<ffi
|
||||
|
||||
const int ESTIMATED_BTC_CLAIM_TX_VSIZE = 111;
|
||||
|
||||
const int ESTIMATED_BTC_LOCKUP_TX_VSIZE = 154;
|
||||
|
||||
const double STANDARD_FEE_RATE_SAT_PER_VBYTE = 0.1;
|
||||
|
||||
const double LOWBALL_FEE_RATE_SAT_PER_VBYTE = 0.01;
|
||||
|
||||
Reference in New Issue
Block a user