Zebra/zebra-network/src
teor 9be13a4fb7
2. Route peer requests based on missing inventory (#3465)
* feat(network): send notfound messages to the inventory registry

* refactor(network): move the inventory filter into an async function

* feat(network): avoid routing requests to peers that are missing inventory

* test(network): advertised routing is independent of numeric address value

* test(network): peer set routes requests to peers not missing that inventory

* test(network): peer set fails requests if all ready peers are missing that inventory

* fix(clippy): needless-borrow in the peer set

* fix(lint): remove redundant trailing commas in macro calls

There is no clippy lint for this, maybe because some macros
are sensitive to trailing commas.
(But not the ones changed in this commit.)

* test(network): check the exact number of inventory peers

* doc(network): explain why we ignore inventory send failures

* docs(network): explain why a channel error is ignored
2022-02-08 01:16:41 +00:00
..
address_book Security: Limit address book size to limit memory usage (#3162) 2021-12-06 16:09:10 -03:00
config Use the default port for configured listen addresses with no port (#2043) 2021-04-21 23:14:29 +00:00
isolated 2. Route peer requests based on missing inventory (#3465) 2022-02-08 01:16:41 +00:00
meta_addr Stop ignoring some peers when updating the address book (#3292) 2022-01-05 18:12:59 -05:00
peer 2. Route peer requests based on missing inventory (#3465) 2022-02-08 01:16:41 +00:00
peer_set 2. Route peer requests based on missing inventory (#3465) 2022-02-08 01:16:41 +00:00
protocol 1. Create an API for a missing inventory registry, but don't register any missing inventory yet (#3255) 2022-02-06 23:05:52 +00:00
address_book.rs 1. Fix some address crawler timing issues (#3293) 2022-01-04 18:43:30 -05:00
address_book_updater.rs feat(log): log the state tip height as part of sync progress logs (#3437) 2022-01-28 19:12:19 -03:00
config.rs T2. Add isolated Tor connection API, but don't enable it by default (#3303) 2022-01-25 01:46:31 +00:00
constants.rs fix(network): Add a send timeout to outbound peer messages (#3417) 2022-01-31 15:22:00 -03:00
isolated.rs T2. Add isolated Tor connection API, but don't enable it by default (#3303) 2022-01-25 01:46:31 +00:00
lib.rs T2. Add isolated Tor connection API, but don't enable it by default (#3303) 2022-01-25 01:46:31 +00:00
meta_addr.rs Stop ignoring some peers when updating the address book (#3292) 2022-01-05 18:12:59 -05:00
peer.rs Test for message broadcast to the right number of peers (#3284) 2021-12-31 00:26:50 +00:00
peer_set.rs 1. Create an API for a missing inventory registry, but don't register any missing inventory yet (#3255) 2022-02-06 23:05:52 +00:00
policies.rs Fix syncer download order and add sync tests (#3168) 2022-01-11 14:11:35 -03:00
protocol.rs Refactor protocol into internal, external modules. 2019-11-27 05:06:01 -05:00