Add missing rpc commands and mark as unimplemented.
This commit is contained in:
parent
ddc773535a
commit
a992b48705
1 changed files with 7 additions and 1 deletions
|
@ -82,12 +82,16 @@ var rpcHandlersBeforeInit = map[string]commandHandler{
|
||||||
"debuglevel": handleDebugLevel,
|
"debuglevel": handleDebugLevel,
|
||||||
"decoderawtransaction": handleDecodeRawTransaction,
|
"decoderawtransaction": handleDecodeRawTransaction,
|
||||||
"decodescript": handleDecodeScript,
|
"decodescript": handleDecodeScript,
|
||||||
|
"estimatefee": handleUnimplemented,
|
||||||
|
"estimatepriority": handleUnimplemented,
|
||||||
"getaddednodeinfo": handleGetAddedNodeInfo,
|
"getaddednodeinfo": handleGetAddedNodeInfo,
|
||||||
"getbestblock": handleGetBestBlock,
|
"getbestblock": handleGetBestBlock,
|
||||||
"getbestblockhash": handleGetBestBlockHash,
|
"getbestblockhash": handleGetBestBlockHash,
|
||||||
"getblock": handleGetBlock,
|
"getblock": handleGetBlock,
|
||||||
|
"getblockchaininfo": handleUnimplemented,
|
||||||
"getblockcount": handleGetBlockCount,
|
"getblockcount": handleGetBlockCount,
|
||||||
"getblockhash": handleGetBlockHash,
|
"getblockhash": handleGetBlockHash,
|
||||||
|
"getblocktemplate": handleUnimplemented,
|
||||||
"getconnectioncount": handleGetConnectionCount,
|
"getconnectioncount": handleGetConnectionCount,
|
||||||
"getcurrentnet": handleGetCurrentNet,
|
"getcurrentnet": handleGetCurrentNet,
|
||||||
"getdifficulty": handleGetDifficulty,
|
"getdifficulty": handleGetDifficulty,
|
||||||
|
@ -97,6 +101,7 @@ var rpcHandlersBeforeInit = map[string]commandHandler{
|
||||||
"getmininginfo": handleGetMiningInfo,
|
"getmininginfo": handleGetMiningInfo,
|
||||||
"getnettotals": handleGetNetTotals,
|
"getnettotals": handleGetNetTotals,
|
||||||
"getnetworkhashps": handleGetNetworkHashPS,
|
"getnetworkhashps": handleGetNetworkHashPS,
|
||||||
|
"getnetworkinfo": handleUnimplemented,
|
||||||
"getpeerinfo": handleGetPeerInfo,
|
"getpeerinfo": handleGetPeerInfo,
|
||||||
"getrawmempool": handleGetRawMempool,
|
"getrawmempool": handleGetRawMempool,
|
||||||
"getrawtransaction": handleGetRawTransaction,
|
"getrawtransaction": handleGetRawTransaction,
|
||||||
|
@ -129,7 +134,6 @@ var rpcAskWallet = map[string]bool{
|
||||||
"getaccountaddress": true,
|
"getaccountaddress": true,
|
||||||
"getaddressesbyaccount": true,
|
"getaddressesbyaccount": true,
|
||||||
"getbalance": true,
|
"getbalance": true,
|
||||||
"getblocktemplate": true,
|
|
||||||
"getnewaddress": true,
|
"getnewaddress": true,
|
||||||
"getrawchangeaddress": true,
|
"getrawchangeaddress": true,
|
||||||
"getreceivedbyaccount": true,
|
"getreceivedbyaccount": true,
|
||||||
|
@ -137,6 +141,8 @@ var rpcAskWallet = map[string]bool{
|
||||||
"gettransaction": true,
|
"gettransaction": true,
|
||||||
"gettxout": true,
|
"gettxout": true,
|
||||||
"gettxoutsetinfo": true,
|
"gettxoutsetinfo": true,
|
||||||
|
"getunconfirmedbalance": true,
|
||||||
|
"getwalletinfo": true,
|
||||||
"importprivkey": true,
|
"importprivkey": true,
|
||||||
"importwallet": true,
|
"importwallet": true,
|
||||||
"keypoolrefill": true,
|
"keypoolrefill": true,
|
||||||
|
|
Loading…
Reference in a new issue