diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-10-20 09:04:18 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-10-20 09:04:32 +0200 |
commit | f2d705629b510e2a5b25c8ecac1898fed13a16a2 (patch) | |
tree | b743f1c759b0b46922f5a7ae7bce8f80d4a54ba0 /src/chain.h | |
parent | c5875773561c249a079714f3b091a2577707eadf (diff) | |
parent | 215caba4ed4547d6f2a0954fa9fe1ae78f4a7c40 (diff) | |
download | bitcoin-f2d705629b510e2a5b25c8ecac1898fed13a16a2.tar.xz |
Merge #7551: Add importmulti RPC call
215caba Add consistency check to RPC call importmulti (Pedro Branco)
cb08fdb Add importmulti rpc call (Pedro Branco)
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 e2f8c56522..46a16a3061 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 |