mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
txprepare: remove old code, switch to plugin.
Some minor phrasing differences cause test changes. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Changed: txprepare reservations stay across restarts: use fundpsbt/reservepsbt/unreservepsbt Changelog-Removed: txprepare `destination` `satoshi` argument form removed (deprecated v0.7.3)
This commit is contained in:
@@ -434,21 +434,21 @@ static struct command_result *json_txsend(struct command *cmd,
|
||||
|
||||
static const struct plugin_command commands[] = {
|
||||
{
|
||||
"newtxprepare",
|
||||
"txprepare",
|
||||
"bitcoin",
|
||||
"Create a transaction, with option to spend in future (either txsend and txdiscard)",
|
||||
"Create an unsigned transaction paying {outputs} with optional {feerate}, {minconf} and {utxos}",
|
||||
json_txprepare
|
||||
},
|
||||
{
|
||||
"newtxdiscard",
|
||||
"txdiscard",
|
||||
"bitcoin",
|
||||
"Discard a transaction created by txprepare",
|
||||
"Discard a transcation by {txid}",
|
||||
json_txdiscard
|
||||
},
|
||||
{
|
||||
"newtxsend",
|
||||
"txsend",
|
||||
"bitcoin",
|
||||
"Send a transaction created by txprepare",
|
||||
"Send a transacation by {txid}",
|
||||
|
||||
Reference in New Issue
Block a user