zebra/zebra-network/src
teor 4d608d3224
Stop doing thousands of time checks each time we connect to a peer (#3106)
* Stop checking the entire AddressBook for each connection attempt

* Stop redundant peer time checks within the address book

* Stop calling `Instant::now` 3 times for each address book update

* Only get the time once each time an address book method is called

* Update outdated comment

* Use an OrderedMap to efficiently store address book peers

* Add address book order tests
2021-12-03 15:09:43 -03:00
..
address_book Stop doing thousands of time checks each time we connect to a peer (#3106) 2021-12-03 15:09:43 -03:00
config Use the default port for configured listen addresses with no port (#2043) 2021-04-21 23:14:29 +00:00
meta_addr Stop doing thousands of time checks each time we connect to a peer (#3106) 2021-12-03 15:09:43 -03:00
peer Ignore NotFound errors in the syncer (#3131) 2021-12-02 11:28:20 -03:00
peer_set Stop doing thousands of time checks each time we connect to a peer (#3106) 2021-12-03 15:09:43 -03:00
protocol Revert "Stop returning NotFound errors, use the response instead" (#3124) 2021-12-01 05:09:54 +00:00
address_book.rs Stop doing thousands of time checks each time we connect to a peer (#3106) 2021-12-03 15:09:43 -03:00
address_book_updater.rs Check for panics in the address book updater task (#3064) 2021-11-18 12:34:51 +00:00
config.rs Fix slow Zebra startup times, to reduce CI failures (#3104) 2021-11-30 21:04:32 +00:00
constants.rs Release Zebra v1.0.0-beta.2 (#3132) 2021-12-03 06:54:14 +10:00
isolated.rs Refactor addr v1 serialization using a separate AddrV1 type (#3021) 2021-11-10 06:47:50 +10:00
lib.rs Stop asking users to report peer errors, fix a common peer error (#3054) 2021-11-15 11:32:18 -03:00
meta_addr.rs Stop doing thousands of time checks each time we connect to a peer (#3106) 2021-12-03 15:09:43 -03:00
peer.rs Limit the number of outbound peer connections (#2944) 2021-10-27 21:28:51 +00:00
peer_set.rs Track the number of active inbound and outbound peer connections (#2912) 2021-10-21 21:36:42 +00:00
policies.rs Fix sync algorithm. (#887) 2020-08-12 16:48:01 -07:00
protocol.rs Refactor protocol into internal, external modules. 2019-11-27 05:06:01 -05:00