nim-codex/tests/codex
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
..
blockexchange Bump deps take2 (#492) 2023-08-01 16:47:57 -07:00
helpers Bump deps take2 (#492) 2023-08-01 16:47:57 -07:00
merkletree Merkle tree construction (#504) 2023-08-15 13:23:35 +02:00
sales fix: load slots on sales module start (#510) 2023-08-15 11:39:49 +02:00
storageproofs Bump deps take2 (#492) 2023-08-01 16:47:57 -07:00
stores [repostore] Retrieve empty blocks (#513) 2023-08-21 12:51:04 +10:00
utils Bump deps take2 (#492) 2023-08-01 16:47:57 -07:00
examples.nim feat: collateral per slot (#390) 2023-04-14 11:04:17 +02:00
helpers.nim Bump deps take2 (#492) 2023-08-01 16:47:57 -07:00
testasyncheapqueue.nim Create memory-leak detecting test suite (#226) 2023-06-22 12:01:21 -06:00
testasyncstreamwrapper.nim Tests for AsyncStreamWrapper (#463) 2023-06-30 14:18:58 +02:00
testblockexchange.nim Blocks leak and inflight for pending blocks (#315) 2022-11-15 00:12:05 -06:00
testchunking.nim Bump deps take2 (#492) 2023-08-01 16:47:57 -07:00
testclock.nim Create memory-leak detecting test suite (#226) 2023-06-22 12:01:21 -06:00
testerasure.nim [repostore] Retrieve empty blocks (#513) 2023-08-21 12:51:04 +10:00
testmanifest.nim Bump deps take2 (#492) 2023-08-01 16:47:57 -07:00
testmerkletree.nim Merkle tree construction (#504) 2023-08-15 13:23:35 +02:00
testnode.nim Bump deps take2 (#492) 2023-08-01 16:47:57 -07:00
testproving.nim Create memory-leak detecting test suite (#226) 2023-06-22 12:01:21 -06:00
testpurchasing.nim Create memory-leak detecting test suite (#226) 2023-06-22 12:01:21 -06:00
testsales.nim Slot queue (#455) 2023-07-25 12:50:30 +10:00
teststorageproofs.nim Upload authenticators (#108) 2022-05-25 20:29:31 -06:00
teststores.nim Blockstore maintenance (#347) 2023-03-08 16:04:54 +01:00
teststorestream.nim Bump deps take2 (#492) 2023-08-01 16:47:57 -07:00
testsystemclock.nim Create memory-leak detecting test suite (#226) 2023-06-22 12:01:21 -06:00
testutils.nim Cancel and wait for asyncstatemachine futures when stopping (#493) 2023-07-31 15:09:34 +10:00
testvalidation.nim Create memory-leak detecting test suite (#226) 2023-06-22 12:01:21 -06:00