parent
a3984729be
commit
1f7af0a779
|
@ -398,8 +398,11 @@ where
|
||||||
async move {
|
async move {
|
||||||
if let Ok(Message::Inv(hashes)) = &msg {
|
if let Ok(Message::Inv(hashes)) = &msg {
|
||||||
// We ignore inventory messages with more than one
|
// We ignore inventory messages with more than one
|
||||||
// item because they are most likely replies to a
|
// block, because they are most likely replies to a
|
||||||
// query rather than a newly gossiped block.
|
// 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
|
// https://zebra.zfnd.org/dev/rfcs/0003-inventory-tracking.html#inventory-monitoring
|
||||||
match hashes.as_slice() {
|
match hashes.as_slice() {
|
||||||
|
|
Loading…
Reference in New Issue