Increase the max zero-conf amount for receive swaps (#640)

This commit is contained in:
Ross Savage
2025-01-06 13:14:23 +01:00
committed by GitHub
parent 6d065805b0
commit 73d13b4e54
4 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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,

View File

@@ -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;

View File

@@ -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;