aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/chain.h
diff options
context:
space:
mode:
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;