diff options
| author | Matt Corallo <[email protected]> | 2014-11-01 16:01:48 -0700 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2015-04-23 17:50:39 -0700 |
| commit | 59ed61b3895b022f61970ea7aac0c20e8ba38886 (patch) | |
| tree | 6732e33e4d1dbb70a37ee474c660c6fea0572065 /src/rpcserver.h | |
| parent | Add CMerkleBlock constructor for tx set + block and an empty one (diff) | |
| download | discoin-59ed61b3895b022f61970ea7aac0c20e8ba38886.tar.xz discoin-59ed61b3895b022f61970ea7aac0c20e8ba38886.zip | |
Add RPC call to generate and verify merkle blocks
Diffstat (limited to 'src/rpcserver.h')
| -rw-r--r-- | src/rpcserver.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpcserver.h b/src/rpcserver.h index c3200d8c3..790104f8c 100644 --- a/src/rpcserver.h +++ b/src/rpcserver.h @@ -218,6 +218,8 @@ extern json_spirit::Value decoderawtransaction(const json_spirit::Array& params, extern json_spirit::Value decodescript(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value signrawtransaction(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value sendrawtransaction(const json_spirit::Array& params, bool fHelp); +extern json_spirit::Value gettxoutproof(const json_spirit::Array& params, bool fHelp); +extern json_spirit::Value verifytxoutproof(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); |