aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/chain.h
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2018-07-10 15:48:03 -0400
committerRussell Yanofsky <russ@yanofsky.org>2019-02-22 15:43:02 -0400
commita1df1b48a80bf122efa73677ff72577ec0103a3b (patch)
tree5e086560149e2d871a38d882dcc784f264b103fe /src/interfaces/chain.h
parent1106a6fde4bfde31a16de45e4cc84ed5da05c5a4 (diff)
Remove use of IsInitialBlockDownload in wallet code
This commit does not change behavior.
Diffstat (limited to 'src/interfaces/chain.h')
-rw-r--r--src/interfaces/chain.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interfaces/chain.h b/src/interfaces/chain.h
index 116656fef4..60f8570e36 100644
--- a/src/interfaces/chain.h
+++ b/src/interfaces/chain.h
@@ -178,6 +178,9 @@ public:
//! Check if p2p enabled.
virtual bool p2pEnabled() = 0;
+ // Check if in IBD.
+ virtual bool isInitialBlockDownload() = 0;
+
//! Get adjusted time.
virtual int64_t getAdjustedTime() = 0;