aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/chain.h
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2020-01-16 16:47:00 -0500
committerRussell Yanofsky <russ@yanofsky.org>2020-03-31 08:36:02 -0500
commitbc96a9bfc61afdb696fb92cb644ed5fc3d1793f1 (patch)
tree55ab5d907327c1241747f6abb794c31e5c35691b /src/interfaces/chain.h
parent25a9fcf9e53bfa94e8f8b19a4abfda0f444f6b2a (diff)
downloadbitcoin-bc96a9bfc61afdb696fb92cb644ed5fc3d1793f1.tar.xz
wallet: Avoid use of Chain::Lock in importmulti
This is a step toward removing the Chain::Lock class and reducing cs_main locking. This change only affects behavior in the case where wallet last block processed falls behind the chain tip, in which case it may use a more accurate rescan time.
Diffstat (limited to 'src/interfaces/chain.h')
-rw-r--r--src/interfaces/chain.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/interfaces/chain.h b/src/interfaces/chain.h
index 7504f4cfb6..4c711a618d 100644
--- a/src/interfaces/chain.h
+++ b/src/interfaces/chain.h
@@ -103,10 +103,6 @@ public:
//! Get block time. Height must be valid or this function will abort.
virtual int64_t getBlockTime(int height) = 0;
- //! Get block median time past. Height must be valid or this function
- //! will abort.
- virtual int64_t getBlockMedianTimePast(int height) = 0;
-
//! Check that the block is available on disk (i.e. has not been
//! pruned), and contains transactions.
virtual bool haveBlockOnDisk(int height) = 0;