aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2020-06-19 13:29:05 -0400
committerJohn Newbery <john@johnnewbery.com>2020-12-20 10:01:48 +0000
commit53b7ac1b7d3394aeaad1e4a6e3b323d17cdf5994 (patch)
tree9bcabdd4081079e069133d84897c8f3593bfb384 /src/net.h
parent78040f91687e7f1986e466d448c9b9530830e9b8 (diff)
downloadbitcoin-53b7ac1b7d3394aeaad1e4a6e3b323d17cdf5994.tar.xz
[net processing] Move block inventory data to Peer
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/net.h b/src/net.h
index eafb33db6b..885f21f2c4 100644
--- a/src/net.h
+++ b/src/net.h
@@ -1006,12 +1006,6 @@ public:
std::chrono::microseconds m_next_addr_send GUARDED_BY(cs_sendProcessing){0};
std::chrono::microseconds m_next_local_addr_send GUARDED_BY(cs_sendProcessing){0};
- // List of block ids we still have announce.
- // There is no final sorting before sending, as they are always sent immediately
- // and in the order requested.
- std::vector<uint256> vInventoryBlockToSend GUARDED_BY(cs_inventory);
- Mutex cs_inventory;
-
struct TxRelay {
mutable RecursiveMutex cs_filter;
// We use fRelayTxes for two purposes -
@@ -1042,9 +1036,6 @@ public:
// m_tx_relay == nullptr if we're not relaying transactions with this peer
std::unique_ptr<TxRelay> m_tx_relay;
- // Used for headers announcements - unfiltered blocks to relay
- std::vector<uint256> vBlockHashesToAnnounce GUARDED_BY(cs_inventory);
-
/** UNIX epoch time of the last block received from this peer that we had
* not yet seen (e.g. not already received from another peer), that passed
* preliminary validity checks and was saved to disk, even if we don't