nim-codex/codex/stores
Eric 9cecb68520
[repostore] Retrieve empty blocks (#513)
Add handling of empty blocks in the RepoStore.

* Add empty block handling to repostore for put, del, has
Also added tests for all empty block handling blockstore operations. This showed there was an ambiguous identifier present for `hasBlock`, so one of the two `hasBlock` definitions was removed in `repostore`.

* Change CacheStore to RepoStore in testerasure
As CacheStore is not used in the node, update the Datastore used in the erasure coding tests to be a RepoStore. This ensures that the K > 1 cases are being tested, where they will produce empty padding blocks in the erasure-coded manifests.
2023-08-21 12:51:04 +10:00
..
blockstore.nim Bump deps take2 (#492) 2023-08-01 16:47:57 -07:00
cachestore.nim Plumbing in conf types (#472) 2023-07-06 16:23:27 -07:00
keyutils.nim Add metrics (#478) 2023-07-20 09:56:28 +02:00
maintenance.nim Improving proc/func formatting consistency (#454) 2023-06-22 08:11:18 -07:00
networkstore.nim Block exchange debug (#426) 2023-07-18 07:50:47 +02:00
repostore.nim [repostore] Retrieve empty blocks (#513) 2023-08-21 12:51:04 +10:00