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.cpp | |
| 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.cpp')
| -rw-r--r-- | src/rpcserver.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp index bc419d14d..43104b665 100644 --- a/src/rpcserver.cpp +++ b/src/rpcserver.cpp @@ -346,6 +346,7 @@ static const CRPCCommand vRPCCommands[] = { "wallet", "getreceivedbyaccount", &getreceivedbyaccount, false }, { "wallet", "getreceivedbyaddress", &getreceivedbyaddress, false }, { "wallet", "gettransaction", &gettransaction, false }, + { "wallet", "abandontransaction", &abandontransaction, false }, { "wallet", "getunconfirmedbalance", &getunconfirmedbalance, false }, { "wallet", "getwalletinfo", &getwalletinfo, false }, { "wallet", "importprivkey", &importprivkey, true }, |