mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2025-12-24 01:14:22 +01:00
Increase the max zero-conf amount for receive swaps (#640)
This commit is contained in:
@@ -32,7 +32,7 @@ typedef struct _Dart_Handle* Dart_Handle;
|
||||
/**
|
||||
* The maximum acceptable amount in satoshi when claiming using zero-conf
|
||||
*/
|
||||
#define DEFAULT_ZERO_CONF_MAX_SAT 100000
|
||||
#define DEFAULT_ZERO_CONF_MAX_SAT 1000000
|
||||
|
||||
/**
|
||||
* Number of blocks to monitor a swap after its timeout block height
|
||||
|
||||
@@ -22,7 +22,7 @@ use crate::{
|
||||
pub const DEFAULT_ZERO_CONF_MIN_FEE_RATE_TESTNET: u32 = 100;
|
||||
pub const DEFAULT_ZERO_CONF_MIN_FEE_RATE_MAINNET: u32 = 10;
|
||||
/// The maximum acceptable amount in satoshi when claiming using zero-conf
|
||||
pub const DEFAULT_ZERO_CONF_MAX_SAT: u64 = 100_000;
|
||||
pub const DEFAULT_ZERO_CONF_MAX_SAT: u64 = 1_000_000;
|
||||
|
||||
pub(crate) struct ReceiveSwapHandler {
|
||||
config: Config,
|
||||
|
||||
@@ -6932,6 +6932,6 @@ const int DEFAULT_ZERO_CONF_MIN_FEE_RATE_TESTNET = 100;
|
||||
|
||||
const int DEFAULT_ZERO_CONF_MIN_FEE_RATE_MAINNET = 10;
|
||||
|
||||
const int DEFAULT_ZERO_CONF_MAX_SAT = 100000;
|
||||
const int DEFAULT_ZERO_CONF_MAX_SAT = 1000000;
|
||||
|
||||
const int CHAIN_SWAP_MONITORING_PERIOD_BITCOIN_BLOCKS = 4320;
|
||||
|
||||
@@ -5449,6 +5449,6 @@ const int DEFAULT_ZERO_CONF_MIN_FEE_RATE_TESTNET = 100;
|
||||
|
||||
const int DEFAULT_ZERO_CONF_MIN_FEE_RATE_MAINNET = 10;
|
||||
|
||||
const int DEFAULT_ZERO_CONF_MAX_SAT = 100000;
|
||||
const int DEFAULT_ZERO_CONF_MAX_SAT = 1000000;
|
||||
|
||||
const int CHAIN_SWAP_MONITORING_PERIOD_BITCOIN_BLOCKS = 4320;
|
||||
|
||||
Reference in New Issue
Block a user