aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.h
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@gmail.com>2022-08-12 10:05:22 -0400
committerSuhas Daftuar <sdaftuar@gmail.com>2022-08-29 08:10:35 -0400
commit03712dddfbb9fe0dc7a2ead53c65106189f5c803 (patch)
tree26fa9f85ab867705e094f9b4a7826e7553021dfe /src/net_processing.h
parent150a5486db50ff77c91765392149000029c8a309 (diff)
downloadbitcoin-03712dddfbb9fe0dc7a2ead53c65106189f5c803.tar.xz
Expose HeadersSyncState::m_current_height in getpeerinfo()
Diffstat (limited to 'src/net_processing.h')
-rw-r--r--src/net_processing.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net_processing.h b/src/net_processing.h
index bcda9614d4..0a882b1e53 100644
--- a/src/net_processing.h
+++ b/src/net_processing.h
@@ -35,6 +35,7 @@ struct CNodeStateStats {
uint64_t m_addr_rate_limited = 0;
bool m_addr_relay_enabled{false};
ServiceFlags their_services;
+ int64_t presync_height{-1};
};
class PeerManager : public CValidationInterface, public NetEventsInterface