aboutsummaryrefslogtreecommitdiff
path: root/src/chain.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-10-20 09:04:18 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-10-20 09:04:32 +0200
commitf2d705629b510e2a5b25c8ecac1898fed13a16a2 (patch)
treeb743f1c759b0b46922f5a7ae7bce8f80d4a54ba0 /src/chain.h
parentc5875773561c249a079714f3b091a2577707eadf (diff)
parent215caba4ed4547d6f2a0954fa9fe1ae78f4a7c40 (diff)
downloadbitcoin-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.h3
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