nim-codex/codex/blockexchange
Dmitriy Ryajov 22c31046a7
Dont dial self (#633)
* don't dial self

* revert style changes

* filter out self on dial

* add helpers to `peerId` and `isSelf`

* don't fire up discovery eaguerly

* allow excluding multiple peers in sendWantHave

* revert style changes

* move self check to discovery.find

* readd eaguer dht lookup is required in some cases

* revert style changes

* misc

* drop peer first, before queueing a dht lookup

* moar style changes

* use isSelf
2023-11-27 10:25:53 -08:00
..
engine Dont dial self (#633) 2023-11-27 10:25:53 -08:00
network Dont dial self (#633) 2023-11-27 10:25:53 -08:00
peers Blockexchange uses merkle root and index to fetch blocks (#566) 2023-11-14 13:02:17 +01:00
protobuf Blockexchange uses merkle root and index to fetch blocks (#566) 2023-11-14 13:02:17 +01:00
engine.nim reorg engine directory structure (#104) 2022-05-19 16:28:53 -06:00
network.nim reorg engine directory structure (#104) 2022-05-19 16:28:53 -06:00
peers.nim reorg engine directory structure (#104) 2022-05-19 16:28:53 -06:00