diff options
Diffstat (limited to 'src/headerssync.h')
-rw-r--r-- | src/headerssync.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/headerssync.h b/src/headerssync.h index b694407792..01d55eb44e 100644 --- a/src/headerssync.h +++ b/src/headerssync.h @@ -118,6 +118,9 @@ public: /** Return the current state of our download */ State GetState() const { return m_download_state; } + /** Return the height reached during the PRESYNC phase */ + int64_t GetPresyncHeight() const { return m_current_height; } + /** Construct a HeadersSyncState object representing a headers sync via this * download-twice mechanism). * |