From 7e0a24950ab54e3fdc6749687e12c465bbc981f9 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Tue, 19 Nov 2013 20:44:37 -0500 Subject: [PATCH] Disable dumpwallet RPC handler that snuck in. We do not support this yet, and need to match bitcoin'd behavior before the function is added back to the RPC handler map. --- cmdmgr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdmgr.go b/cmdmgr.go index 37638ed..fa062e3 100644 --- a/cmdmgr.go +++ b/cmdmgr.go @@ -40,7 +40,6 @@ type cmdHandler func(chan []byte, btcjson.Cmd) var rpcHandlers = map[string]cmdHandler{ // Standard bitcoind methods "dumpprivkey": DumpPrivKey, - "dumpwallet": DumpWallet, "getaddressesbyaccount": GetAddressesByAccount, "getbalance": GetBalance, "getnewaddress": GetNewAddress, @@ -216,6 +215,7 @@ func DumpPrivKey(frontend chan []byte, icmd btcjson.Cmd) { // DumpWallet replies to a dumpwallet request with all private keys // in a wallet, or an appropiate error if the wallet is locked. +// TODO: finish this to match bitcoind by writing the dump to a file. func DumpWallet(frontend chan []byte, icmd btcjson.Cmd) { // Type assert icmd to access parameters. cmd, ok := icmd.(*btcjson.DumpWalletCmd)