mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 23:29:12 +01:00
[wallet, rpc]: add max_tx_weight to tx funding options
This allows a transaction's weight to be bound under a certain weight if possible and desired. This can be beneficial for future RBF attempts, or whenever a more restricted spend topology is desired. Co-authored-by: Greg Sanders <gsanders87@gmail.com>
This commit is contained in:
@@ -146,6 +146,7 @@ static const CRPCConvertParam vRPCConvertParams[] =
|
||||
{ "fundrawtransaction", 1, "conf_target"},
|
||||
{ "fundrawtransaction", 1, "replaceable"},
|
||||
{ "fundrawtransaction", 1, "solving_data"},
|
||||
{ "fundrawtransaction", 1, "max_tx_weight"},
|
||||
{ "fundrawtransaction", 2, "iswitness" },
|
||||
{ "walletcreatefundedpsbt", 0, "inputs" },
|
||||
{ "walletcreatefundedpsbt", 1, "outputs" },
|
||||
@@ -164,6 +165,7 @@ static const CRPCConvertParam vRPCConvertParams[] =
|
||||
{ "walletcreatefundedpsbt", 3, "conf_target"},
|
||||
{ "walletcreatefundedpsbt", 3, "replaceable"},
|
||||
{ "walletcreatefundedpsbt", 3, "solving_data"},
|
||||
{ "walletcreatefundedpsbt", 3, "max_tx_weight"},
|
||||
{ "walletcreatefundedpsbt", 4, "bip32derivs" },
|
||||
{ "walletprocesspsbt", 1, "sign" },
|
||||
{ "walletprocesspsbt", 3, "bip32derivs" },
|
||||
@@ -208,6 +210,7 @@ static const CRPCConvertParam vRPCConvertParams[] =
|
||||
{ "send", 4, "conf_target"},
|
||||
{ "send", 4, "replaceable"},
|
||||
{ "send", 4, "solving_data"},
|
||||
{ "send", 4, "max_tx_weight"},
|
||||
{ "sendall", 0, "recipients" },
|
||||
{ "sendall", 1, "conf_target" },
|
||||
{ "sendall", 3, "fee_rate"},
|
||||
|
||||
Reference in New Issue
Block a user