diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-10-20 09:04:18 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-10-20 09:04:32 +0200 |
| commit | f2d705629b510e2a5b25c8ecac1898fed13a16a2 (patch) | |
| tree | b743f1c759b0b46922f5a7ae7bce8f80d4a54ba0 /src/chain.h | |
| parent | Merge #8928: Fix init segfault where InitLoadWallet() calls ATMP before genesis (diff) | |
| parent | Add consistency check to RPC call importmulti (diff) | |
| download | discoin-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.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 |