WIP add 'top N only' feature to gensnapshot rpc

This commit is contained in:
Duke Leto
2018-07-23 04:33:47 +00:00
parent 1aa7af1794
commit f1e1ea6133
4 changed files with 57 additions and 10 deletions

View File

@@ -95,7 +95,7 @@ public:
bool ReadFlag(const std::string &name, bool &fValue);
bool LoadBlockIndexGuts();
bool blockOnchainActive(const uint256 &hash);
UniValue Snapshot();
UniValue Snapshot(int top);
};
#endif // BITCOIN_TXDB_H