From 78040f91687e7f1986e466d448c9b9530830e9b8 Mon Sep 17 00:00:00 2001 From: John Newbery Date: Tue, 16 Jun 2020 16:27:34 -0400 Subject: [net processing] Rename nStartingHeight to m_starting_height Not done as a scripted diff to avoid misnaming the local variable in ProcessMessage(). --- src/net_processing.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net_processing.h') diff --git a/src/net_processing.h b/src/net_processing.h index 5af2689f18..5b5d96c03e 100644 --- a/src/net_processing.h +++ b/src/net_processing.h @@ -36,7 +36,7 @@ struct CNodeStateStats { int m_misbehavior_score = 0; int nSyncHeight = -1; int nCommonHeight = -1; - int nStartingHeight = -1; + int m_starting_height = -1; std::vector vHeightInFlight; }; @@ -64,7 +64,7 @@ struct Peer { bool m_should_discourage GUARDED_BY(m_misbehavior_mutex){false}; /** This peer's reported block height when we connected */ - std::atomic nStartingHeight{-1}; + std::atomic m_starting_height{-1}; /** Set of txids to reconsider once their parent transactions have been accepted **/ std::set m_orphan_work_set GUARDED_BY(g_cs_orphans); -- cgit v1.2.3