walletrpc: add new deadline-delta param to bumpfee rpc
Add new parameter deadline-delta to the bumpfee request and only allow it to be used when the budget value is used as well.
This commit is contained in:
7 files changed
+623
-465
No files matched your search
@@ -1422,7 +1422,7 @@
|
||||
"target_conf": {
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
"description": "Optional. The deadline in number of blocks that the input should be spent\nwithin. When not set, for new inputs, the default value (1008) is used;\nfor existing inputs, their current values will be retained."
|
||||
"description": "Optional. The conf target the underlying fee estimator will use to\nestimate the starting fee rate for the fee function."
|
||||
},
|
||||
"sat_per_byte": {
|
||||
"type": "integer",
|
||||
@@ -1446,6 +1446,11 @@
|
||||
"type": "string",
|
||||
"format": "uint64",
|
||||
"description": "Optional. The max amount in sats that can be used as the fees. Setting this\nvalue greater than the input's value may result in CPFP - one or more wallet\nutxos will be used to pay the fees specified by the budget. If not set, for\nnew inputs, by default 50% of the input's value will be treated as the\nbudget for fee bumping; for existing inputs, their current budgets will be\nretained."
|
||||
},
|
||||
"deadline_delta": {
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
"description": "Optional. The deadline delta in number of blocks that the output\nshould be spent within. This translates internally to the width of the\nfee function that the sweeper will use to bump the fee rate. When the\ndeadline is reached, ALL the budget will be spent as fees."
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1468,7 +1473,7 @@
|
||||
"deadline_delta": {
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
"description": "Optional. The deadline delta in number of blocks that the anchor output\nshould be spent within to bump the closing transaction."
|
||||
"title": "Optional. The deadline delta in number of blocks that the anchor output\nshould be spent within to bump the closing transaction. When the\ndeadline is reached, ALL the budget will be spent as fees"
|
||||
},
|
||||
"starting_feerate": {
|
||||
"type": "string",
|
||||
@@ -1483,6 +1488,11 @@
|
||||
"type": "string",
|
||||
"format": "uint64",
|
||||
"description": "Optional. The max amount in sats that can be used as the fees. For already\nregistered anchor outputs if not set explicitly the old value will be used.\nFor channel force closes which have no HTLCs in their commitment transaction\nthis value has to be set to an appropriate amount to pay for the cpfp\ntransaction of the force closed channel otherwise the fee bumping will fail."
|
||||
},
|
||||
"target_conf": {
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
"description": "Optional. The conf target the underlying fee estimator will use to\nestimate the starting fee rate for the fee function."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user