nim-codex/dagger/blockexchange
Dmitriy Ryajov 4740ffc144
Cleanup engine and rework discovery (#87)
* rework discovery with async queues

* misc style changes

* increase max message size for large manifests

* use upraises and avoid exceptions on key access

* increase sleep time to 100 millis

* pass config

* make list blocks trigger a callback on each block

* check for nil on start/stop

* fix tests and split out discovery tests

* don't auto mount network

* add list block tests

* add discovery tests

* rework moc discovery

* move discovery moc to disc dir

* don't force logging syncs

* don't force moc discovery on all tests

* rework discovery with methods

* add top level utils file

* don't use asyncCheck

* don't pass entire blocks to list blocks calback

* spelling
2022-04-19 21:46:44 -06:00
..
engine Rename bitswap (#25) 2021-08-30 13:25:20 -06:00
protobuf Rename bitswap (#25) 2021-08-30 13:25:20 -06:00
engine.nim Cleanup engine and rework discovery (#87) 2022-04-19 21:46:44 -06:00
network.nim Cleanup engine and rework discovery (#87) 2022-04-19 21:46:44 -06:00
networkpeer.nim Cleanup engine and rework discovery (#87) 2022-04-19 21:46:44 -06:00
peercontext.nim Cleanup engine and rework discovery (#87) 2022-04-19 21:46:44 -06:00
pendingblocks.nim Cleanup engine and rework discovery (#87) 2022-04-19 21:46:44 -06:00