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. |
||
---|---|---|
.. | ||
backends | ||
backend.nim | ||
erasure.nim |