Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
rpcserver: Disable getblocktemplate.
Browse files Browse the repository at this point in the history
This disables the getblocktemplate RPC handler since it does not at all
work as intended.  Fixing it is going to be a larger effort, so just
disable it until it can be properly implemented.
  • Loading branch information
davecgh committed Apr 28, 2017
1 parent b2d479a commit 2dfb055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpcserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ var rpcHandlersBeforeInit = map[string]commandHandler{
"getblockcount": handleGetBlockCount,
"getblockhash": handleGetBlockHash,
"getblockheader": handleGetBlockHeader,
"getblocktemplate": handleGetBlockTemplate,
"getcoinsupply": handleGetCoinSupply,
"getconnectioncount": handleGetConnectionCount,
"getcurrentnet": handleGetCurrentNet,
Expand Down Expand Up @@ -309,6 +308,7 @@ var rpcAskWallet = map[string]struct{}{
var rpcUnimplemented = map[string]struct{}{
"estimatefee": {},
"estimatepriority": {},
"getblocktemplate": {},
"getblockchaininfo": {},
"getchaintips": {},
"getnetworkinfo": {},
Expand Down

0 comments on commit 2dfb055

Please sign in to comment.