aboutsummaryrefslogtreecommitdiff
path: root/src/chain.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2016-10-20 09:04:18 +0200
committerWladimir J. van der Laan <[email protected]>2016-10-20 09:04:32 +0200
commitf2d705629b510e2a5b25c8ecac1898fed13a16a2 (patch)
treeb743f1c759b0b46922f5a7ae7bce8f80d4a54ba0 /src/chain.h
parentMerge #8928: Fix init segfault where InitLoadWallet() calls ATMP before genesis (diff)
parentAdd consistency check to RPC call importmulti (diff)
downloaddiscoin-f2d705629b510e2a5b25c8ecac1898fed13a16a2.tar.xz
discoin-f2d705629b510e2a5b25c8ecac1898fed13a16a2.zip
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 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