nim-codex/tests/codex/blockexchange
Dmitriy Ryajov 0beeefd760
Repo limits (#319)
* initial implementation of repo store

* allow isManifest on multicodec

* rework with new blockstore

* add raw codec

* rework listBlocks

* remove fsstore

* reworking with repostore

* bump datastore

* fix listBlocks iterator

* adding store's common tests

* run common store tests

* remove fsstore backend tests

* bump datastore

* add `listBlocks` tests

* listBlocks filter based on block type

* disabling tests in need of rewriting

* allow passing block type

* move BlockNotFoundError definition

* fix tests

* increase default advertise loop sleep to 10 mins

* use `self`

* add cache quota functionality

* pass meta store and start repo

* add `CacheQuotaNamespace`

* pass meta store

* bump datastore to latest master

* don't use os `/` as key separator

* Added quota limits support

* tests for quota limits

* add block expiration key

* remove unnesesary space

* use idleAsync in listBlocks

* proper test name

* re-add contrlC try/except

* add storage quota and block ttl config options

* clarify comments

* change expires key format

* check for block presence before storing

* bump datastore

* use dht with fixed datastore `has`

* bump datastore to latest master

* bump dht to latest master
2022-12-02 18:00:55 -06:00
..
discovery Repo limits (#319) 2022-12-02 18:00:55 -06:00
engine Block download (#304) 2022-11-15 09:46:21 -06:00
protobuf Block download (#304) 2022-11-15 09:46:21 -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 Block download (#304) 2022-11-15 09:46:21 -06:00
testpeerctxstore.nim Block download (#304) 2022-11-15 09:46:21 -06:00
testpendingblocks.nim Blocks leak and inflight for pending blocks (#315) 2022-11-15 00:12:05 -06:00
testprotobuf.nim reorg engine directory structure (#104) 2022-05-19 16:28:53 -06:00