openethereum/util/network-devp2p/src
Vladyslav Lupashevskyi 8132d38b50 Node table limiting and cache for node filter (#10288)
* Fix nasty typo in NodeTable::update (add ;)

* Add limiting for NodeTable

* Add cache for NodeFilter

* Use expect instead of unwrap

* Move node in ordered_ids if it exists there in note_failure and note_success + fix expect msg

* Add comment

* Improve code style

* DRY in note_failure and note_success

* Fix nodes ordering

* Simplify match expression

* Add tests for get_index_to_insert

* Remove get_mut method from NodeTable, Add get method to NodeTable

* Fix table_last_contact_order for macos failing because of lost nanosecond precision
2019-04-05 13:30:31 +02:00
..
connection.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
discovery.rs Don't add discovery initiators to the node table (#10305) 2019-02-12 16:57:53 +01:00
handshake.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
host.rs Node table limiting and cache for node filter (#10288) 2019-04-05 13:30:31 +02:00
ip_utils.rs Run all igd methods in its own thread (#10195) 2019-01-16 16:35:28 +01:00
lib.rs Node table limiting and cache for node filter (#10288) 2019-04-05 13:30:31 +02:00
node_table.rs Node table limiting and cache for node filter (#10288) 2019-04-05 13:30:31 +02:00
service.rs fix(ManageNetwork): replace Range with RangeInclusive (#10209) 2019-01-22 09:51:40 +01:00
session.rs Increase number of requested block bodies in chain sync (#10247) 2019-02-07 15:27:09 +01:00