diff options
| author | Jeff Garzik <[email protected]> | 2013-07-03 11:02:29 -0400 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2013-07-03 11:02:29 -0400 |
| commit | 091aa8dae9b7345a1cd81e2733766463dfbf4b82 (patch) | |
| tree | 1f8c22922846c5e6b1a77a1312253b5467c1d357 /src/bitcoinrpc.h | |
| parent | Merge pull request #2801 from gavinandresen/urifix (diff) | |
| download | discoin-091aa8dae9b7345a1cd81e2733766463dfbf4b82.tar.xz discoin-091aa8dae9b7345a1cd81e2733766463dfbf4b82.zip | |
RPC: add getbestblockhash, to return tip of best chain
Diffstat (limited to 'src/bitcoinrpc.h')
| -rw-r--r-- | src/bitcoinrpc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bitcoinrpc.h b/src/bitcoinrpc.h index 247c47adf..4d5599be8 100644 --- a/src/bitcoinrpc.h +++ b/src/bitcoinrpc.h @@ -201,6 +201,7 @@ extern json_spirit::Value signrawtransaction(const json_spirit::Array& params, b extern json_spirit::Value sendrawtransaction(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value getblockcount(const json_spirit::Array& params, bool fHelp); // in rpcblockchain.cpp +extern json_spirit::Value getbestblockhash(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value getdifficulty(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value settxfee(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value getrawmempool(const json_spirit::Array& params, bool fHelp); |