Expose HeadersSyncState::m_current_height in getpeerinfo()

This commit is contained in:
Suhas Daftuar
2022-08-12 10:05:22 -04:00
parent 150a5486db
commit 03712dddfb
5 changed files with 63 additions and 0 deletions

View File

@@ -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