diff options
| author | Pedro Branco <[email protected]> | 2016-06-16 15:57:48 +0100 |
|---|---|---|
| committer | Pedro Branco <[email protected]> | 2016-10-19 15:17:13 +0100 |
| commit | cb08fdbf78685b55029768524ca867772711c32b (patch) | |
| tree | c41c0169a7a428f93527eb715ec2ae9de2df7e70 /src/chain.h | |
| parent | Merge #8788: [RPC] Give RPC commands more information about the RPC request (diff) | |
| download | discoin-cb08fdbf78685b55029768524ca867772711c32b.tar.xz discoin-cb08fdbf78685b55029768524ca867772711c32b.zip | |
Add importmulti rpc call
Diffstat (limited to 'src/chain.h')
| -rw-r--r-- | src/chain.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/chain.h b/src/chain.h index e2f8c5652..46a16a306 100644 --- a/src/chain.h +++ b/src/chain.h @@ -459,6 +459,9 @@ public: /** Find the last common block between this chain and a block index entry. */ const CBlockIndex *FindFork(const CBlockIndex *pindex) const; + + /** Find the most recent block with timestamp lower than the given. */ + CBlockIndex* FindLatestBefore(int64_t nTime) const; }; #endif // BITCOIN_CHAIN_H |