aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.h
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2020-06-16 16:27:34 -0400
committerJohn Newbery <john@johnnewbery.com>2020-12-20 10:01:48 +0000
commitc853ef002ee7074b6e20eb8f58138c8293846424 (patch)
tree8dc068ee8f0bb4d1846698442e96d971f610275e /src/net_processing.h
parent53b7ac1b7d3394aeaad1e4a6e3b323d17cdf5994 (diff)
scripted-diff: rename vBlockHashesToAnnounce and vInventoryBlockToSend
-BEGIN VERIFY SCRIPT- sed -i 's/vBlockHashesToAnnounce/m_blocks_for_headers_relay/g' src/net_processing.* sed -i 's/vInventoryBlockToSend/m_blocks_for_inv_relay/g' src/net_processing.* -END VERIFY SCRIPT-
Diffstat (limited to 'src/net_processing.h')
-rw-r--r--src/net_processing.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net_processing.h b/src/net_processing.h
index 44c85a55ba..3080a7da4c 100644
--- a/src/net_processing.h
+++ b/src/net_processing.h
@@ -68,11 +68,11 @@ struct Peer {
/** List of blocks that we'll anounce via an `inv` message.
* There is no final sorting before sending, as they are always sent
* immediately and in the order requested. */
- std::vector<uint256> vInventoryBlockToSend GUARDED_BY(m_block_inv_mutex);
+ std::vector<uint256> m_blocks_for_inv_relay GUARDED_BY(m_block_inv_mutex);
/** Unfiltered list of blocks that we'd like to announce via a `headers`
* message. If we can't announce via a `headers` message, we'll fall back to
* announcing via `inv`. */
- std::vector<uint256> vBlockHashesToAnnounce GUARDED_BY(m_block_inv_mutex);
+ std::vector<uint256> m_blocks_for_headers_relay GUARDED_BY(m_block_inv_mutex);
/** This peer's reported block height when we connected */
std::atomic<int> m_starting_height{-1};