From 1f7af0a779f536529353b6819a921e5a06140df2 Mon Sep 17 00:00:00 2001 From: teor Date: Wed, 9 Sep 2020 21:19:20 +1000 Subject: [PATCH] Update the inv message processing comment Cleanup after PR #1028. --- zebra-network/src/peer/handshake.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/zebra-network/src/peer/handshake.rs b/zebra-network/src/peer/handshake.rs index 51d694186..a1e6fd925 100644 --- a/zebra-network/src/peer/handshake.rs +++ b/zebra-network/src/peer/handshake.rs @@ -398,8 +398,11 @@ where async move { if let Ok(Message::Inv(hashes)) = &msg { // We ignore inventory messages with more than one - // item because they are most likely replies to a - // query rather than a newly gossiped block. + // block, because they are most likely replies to a + // query, rather than a newly gossiped block. + // + // (We process inventory messages with any number of + // transactions.) // // https://zebra.zfnd.org/dev/rfcs/0003-inventory-tracking.html#inventory-monitoring match hashes.as_slice() {