aboutsummaryrefslogtreecommitdiff
path: root/src/rpcserver.h
diff options
context:
space:
mode:
authorAlex Morcos <morcos@chaincode.com>2016-01-07 16:31:27 -0500
committerAlex Morcos <morcos@chaincode.com>2016-01-13 08:42:04 -0500
commit01e06d1fa365cedb7f5d5e17e6bdf0b526e700c5 (patch)
tree000ae132fa41b0a142377b7b1193a63398caace0 /src/rpcserver.h
parent9e697172542e2b01517e4025df2c23d0ed5447f4 (diff)
downloadbitcoin-01e06d1fa365cedb7f5d5e17e6bdf0b526e700c5.tar.xz
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpcserver.h b/src/rpcserver.h
index f85ab42f02..babf7c8d2e 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);