The txdiscard RPC command releases inputs which were reserved for
use of the txid from lightning-txprepare(7).
On success, an object is returned, containing:
- unsigned_tx (hex): the unsigned transaction
- txid (txid): the transaction id of unsigned_tx
If there is no matching txid, an error is reported. Note that this may
happen due to incorrect usage, such as txdiscard or txsend
already being called for txid.
The following error codes may occur:
- -1: An unknown txid.
Rusty Russell <[email protected]> is mainly responsible.
Main web site: https://github.com/ElementsProject/lightning