splice: Update splice fee maximums

The fee maximum is used to issue a warning to the user their feerate is high in case they accidentally make a large donation to miners.

During python testing the feerates are high on purpose so we raise the warning level to at least the penality feerate.
This commit is contained in:
Dusty Daemon
2024-11-11 13:20:22 +10:30
committed by Rusty Russell
parent eb83ab15ae
commit e4978a4037
3 changed files with 21 additions and 8 deletions

View File

@@ -311,7 +311,7 @@ bool psbt_input_have_signature(const struct wally_psbt *psbt,
return ok;
}
bool psbt_input_get_signature(const tal_t *ctx,
bool psbt_input_get_ecdsa_sig(const tal_t *ctx,
const struct wally_psbt *psbt,
size_t in,
const struct pubkey *pubkey,

View File

@@ -188,7 +188,7 @@ WARN_UNUSED_RESULT bool psbt_input_have_signature(const struct wally_psbt *psbt,
/* Returns false on error. On success *sig is set to the signature otherwise
* *sig is set to NULL. */
WARN_UNUSED_RESULT bool psbt_input_get_signature(const tal_t *ctx,
WARN_UNUSED_RESULT bool psbt_input_get_ecdsa_sig(const tal_t *ctx,
const struct wally_psbt *psbt,
size_t in,
const struct pubkey *pubkey,