openethereum/util/network-devp2p
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
..
src Node table limiting and cache for node filter (#10288) 2019-04-05 13:30:31 +02:00
tests Increase number of requested block bodies in chain sync (#10247) 2019-02-07 15:27:09 +01:00
Cargo.toml Don't add discovery initiators to the node table (#10305) 2019-02-12 16:57:53 +01:00