diff options
| author | Alex Morcos <[email protected]> | 2016-01-07 16:31:27 -0500 |
|---|---|---|
| committer | Alex Morcos <[email protected]> | 2016-01-13 08:42:04 -0500 |
| commit | 01e06d1fa365cedb7f5d5e17e6bdf0b526e700c5 (patch) | |
| tree | 000ae132fa41b0a142377b7b1193a63398caace0 /src/rpcserver.h | |
| parent | Make wallet descendant searching more efficient (diff) | |
| download | discoin-01e06d1fa365cedb7f5d5e17e6bdf0b526e700c5.tar.xz discoin-01e06d1fa365cedb7f5d5e17e6bdf0b526e700c5.zip | |
Add new rpc call: abandontransaction
Unconfirmed transactions that are not in your mempool either due to eviction or other means may be unlikely to be mined. abandontransaction gives the wallet a way to no longer consider as spent the coins that are inputs to such a transaction. All dependent transactions in the wallet will also be marked as abandoned.
Diffstat (limited to 'src/rpcserver.h')
| -rw-r--r-- | src/rpcserver.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpcserver.h b/src/rpcserver.h index f85ab42f0..babf7c8d2 100644 --- a/src/rpcserver.h +++ b/src/rpcserver.h @@ -221,6 +221,7 @@ extern UniValue listaddressgroupings(const UniValue& params, bool fHelp); extern UniValue listaccounts(const UniValue& params, bool fHelp); extern UniValue listsinceblock(const UniValue& params, bool fHelp); extern UniValue gettransaction(const UniValue& params, bool fHelp); +extern UniValue abandontransaction(const UniValue& params, bool fHelp); extern UniValue backupwallet(const UniValue& params, bool fHelp); extern UniValue keypoolrefill(const UniValue& params, bool fHelp); extern UniValue walletpassphrase(const UniValue& params, bool fHelp); |