diff options
| author | Jonas Schnelli <[email protected]> | 2014-12-16 10:50:44 +0100 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2015-07-05 15:48:33 +0200 |
| commit | c45c7ea0fa38fda453c596bd3161c9362d689381 (patch) | |
| tree | a91f63201dd6fe52ea55209eeb0b75499f9cdcfa /src/rpcblockchain.cpp | |
| parent | Merge pull request #6329 (diff) | |
| download | discoin-c45c7ea0fa38fda453c596bd3161c9362d689381.tar.xz discoin-c45c7ea0fa38fda453c596bd3161c9362d689381.zip | |
[REST] add JSON support for /rest/headers/
Diffstat (limited to 'src/rpcblockchain.cpp')
| -rw-r--r-- | src/rpcblockchain.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rpcblockchain.cpp b/src/rpcblockchain.cpp index b7c3eb172..9cdd0770e 100644 --- a/src/rpcblockchain.cpp +++ b/src/rpcblockchain.cpp @@ -77,7 +77,6 @@ UniValue blockheaderToJSON(const CBlockIndex* blockindex) return result; } - UniValue blockToJSON(const CBlock& block, const CBlockIndex* blockindex, bool txDetails = false) { UniValue result(UniValue::VOBJ); @@ -118,7 +117,6 @@ UniValue blockToJSON(const CBlock& block, const CBlockIndex* blockindex, bool tx return result; } - UniValue getblockcount(const UniValue& params, bool fHelp) { if (fHelp || params.size() != 0) |