Update the inv message processing comment

Cleanup after PR #1028.
This commit is contained in:
teor 2020-09-09 21:19:20 +10:00 committed by Henry de Valence
parent a3984729be
commit 1f7af0a779
1 changed files with 5 additions and 2 deletions

View File

@ -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() {