nim-codex/tests/codex/blockexchange
Bulat-Ziganshin 0bfe26440e
WIP: Harmonize BlockStore API (remaining functions) (#123) (#130)
BlockStore API got new return types (rationale in https://github.com/status-im/nim-codex/issues/123#issuecomment-1163797753):
- getBlock: Future[?! (?Block)]
- putBlock/delBlock/listBlocks: Future[?!void]
- hasBlock: Future[?!bool]

Plus refactored readOnce(StoreStream) and check received data in its tests.

And replaced local use of AsyncHeapQueue with seq.sort.
2022-07-28 03:39:17 +03:00
..
discovery WIP: Harmonize BlockStore API (remaining functions) (#123) (#130) 2022-07-28 03:39:17 +03:00
engine WIP: Harmonize BlockStore API (remaining functions) (#123) (#130) 2022-07-28 03:39:17 +03:00
protobuf reorg engine directory structure (#104) 2022-05-19 16:28:53 -06:00
testdiscovery.nim reorg engine directory structure (#104) 2022-05-19 16:28:53 -06:00
testengine.nim reorg engine directory structure (#104) 2022-05-19 16:28:53 -06:00
testnetwork.nim reorg engine directory structure (#104) 2022-05-19 16:28:53 -06:00
testpeerctxstore.nim reorg engine directory structure (#104) 2022-05-19 16:28:53 -06:00
testprotobuf.nim reorg engine directory structure (#104) 2022-05-19 16:28:53 -06:00