mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
[net processing] Rename nStartingHeight to m_starting_height
Not done as a scripted diff to avoid misnaming the local variable in ProcessMessage().
This commit is contained in:
@@ -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<int> 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<int> nStartingHeight{-1};
|
||||
std::atomic<int> m_starting_height{-1};
|
||||
|
||||
/** Set of txids to reconsider once their parent transactions have been accepted **/
|
||||
std::set<uint256> m_orphan_work_set GUARDED_BY(g_cs_orphans);
|
||||
|
||||
Reference in New Issue
Block a user