Decentralized Durability Engine
Go to file
Dmitriy Ryajov d3dbbc75fa
Extract Discovery engine (#99)
* don't force logging syncs

* Add failing test

* wip discovery engine

* re-add chronicles sinks

* wip

* move network related stuff to own folder

* move peer related stuff to own folder

* extract discovery into it's own engine

* update imports

* move pending blocks into engine module

* add top level exports

* update imports

* update import paths

* update imports

* support for inflight request filtering and tests

* use `remove` instead of `del`

* fix sorting in `selectCheapest`

* re-org test file structure

* fix to use discovery engine

* file re-org

* fix compilation

* fixup discovery to use async handlers

* more re-org

* rework with support for discovery engine

* add logging

* use defaults

* wip: reworking with discoveryengine

* wip: more test fixes

* more logging

* use ordered table

* use `bt` for blocktype Block

* fix tests

* make tests work with discovery engine

* expose all node components

* fix to work with discovery engine

* wip

* propagate cancellation in listBlocks

* start/stop disc engine in blockexc engine

* remove disc engine start/stop

* wire up discovery engine

* misc comments and imports

* pass discovery to dagger node

* set sleep timers

* unused imports

* misc

* don't spawn a task, await it

* don't await handlers

* trace logging

* reduce default sleep time

Co-authored-by: Tanguy <tanguy@status.im>
2022-05-18 20:29:15 -06:00
.github/workflows [ci] generate coverage data and upload to Codecov (#93) 2022-05-10 14:41:44 -06:00
dagger Extract Discovery engine (#99) 2022-05-18 20:29:15 -06:00
tests Extract Discovery engine (#99) 2022-05-18 20:29:15 -06:00
vendor Update nim-ethers to 0.1.5 2022-04-21 14:04:07 +02:00
.editorconfig Project setup 2021-02-02 19:29:52 +01:00
.gitignore [ci] generate coverage data and upload to Codecov (#93) 2022-05-10 14:41:44 -06:00
.gitmodules Add DHT (#75) 2022-04-13 10:32:35 -06:00
.tool-versions Poc 2 (#7) 2021-02-25 18:23:22 -06:00
Makefile [ci] generate coverage data and upload to Codecov (#93) 2022-05-10 14:41:44 -06:00
README.md [ci] generate coverage data and upload to Codecov (#93) 2022-05-10 14:41:44 -06:00
codecov.yml [ci] generate coverage data and upload to Codecov (#93) 2022-05-10 14:41:44 -06:00
config.nims Revert "Cleanup engine and rework discovery (#87)" 2022-04-20 14:28:11 +02:00
dagger.nim Various dev-ops things (#85) 2022-04-14 12:49:03 +02:00
dagger.nimble Update nim-ethers to 0.1.5 2022-04-21 14:04:07 +02:00
env.sh add env.sh shim to project root (#34) 2021-12-20 13:12:18 -06:00
nim.cfg Disable ObservableStores warning 2021-11-16 16:51:24 +01:00
nimble.lock Nimble lock file 2022-04-12 16:59:00 +03:00

README.md

nim-codex

License: Apache License: MIT Stability: experimental CI Codecov