nim-codex/dagger
Dmitriy Ryajov d669e344bc
Engine (#89)
* rework discovery with async queues

* increase max message size for large manifests

* increase sleep time to 100 millis

* pass config

* check for nil on start/stop

* fix tests and split out discovery tests

* don't auto mount network

* add discovery tests

* rework moc discovery

* move discovery moc to disc dir

* don't force logging syncs

* don't force moc discovery on all tests

* rework discovery with methods

* add top level utils file

* don't use asyncCheck

* don't pass entire blocks to list blocks calback

* spelling

* - don't send want reqs to peers reporting the cid

- Don't request blocks directly on presense update, use `requestBlock`

* bug, nodes should not have blocks in local store

* Add failing test

* prefetch blocks so that download isn't serial

* if request already pending, return the handle

* fire discovery if no peers report block as have

* only query discovery if not enough nodes for cid

* wrap async req in template

* use non awaiting version of queue routines

* rework E2E tests as unittest

* re-add chronicles sinks

Co-authored-by: Tanguy <tanguy@status.im>
2022-05-12 15:52:03 -06:00
..
blockexchange Engine (#89) 2022-05-12 15:52:03 -06:00
contracts [contracts] Make contract interactions optional in the node (#91) 2022-04-25 15:12:37 +02:00
erasure Engine (#89) 2022-05-12 15:52:03 -06:00
manifest Integrate erasure (#73) 2022-04-05 18:34:29 -06:00
por Engine (#89) 2022-05-12 15:52:03 -06:00
rest Engine (#89) 2022-05-12 15:52:03 -06:00
stores add onblock callback to list blocks visitor (#96) 2022-05-12 14:02:30 -06:00
streams Node storestream (#62) 2022-03-29 20:43:35 -06:00
utils Upraises (#57) 2022-03-18 16:17:51 -06:00
blockexchange.nim Rename bitswap (#25) 2021-08-30 13:25:20 -06:00
blocktype.nim Protected manifest (#69) 2022-04-04 18:46:13 -06:00
chunker.nim Node storestream (#62) 2022-03-29 20:43:35 -06:00
conf.nim [contracts] Make contract interactions optional in the node (#91) 2022-04-25 15:12:37 +02:00
contracts.nim [contracts] ContractInteractions wraps purchasing, sales and proving 2022-04-21 14:04:07 +02:00
dagger.nim Engine (#89) 2022-05-12 15:52:03 -06:00
discovery.nim Engine (#89) 2022-05-12 15:52:03 -06:00
erasure.nim Erasure coding dataset (#72) 2022-04-05 13:12:59 -06:00
errors.nim Node setup (#32) 2022-01-10 09:32:56 -06:00
manifest.nim Integrate erasure (#73) 2022-04-05 18:34:29 -06:00
market.nim Update to latest dagger-contracts (#78) 2022-04-11 12:03:55 -06:00
node.nim Engine (#89) 2022-05-12 15:52:03 -06:00
proving.nim [contracts] Do not crash when contract interaction fails 2022-04-21 14:04:07 +02:00
purchasing.nim [contracts] Do not crash when contract interaction fails 2022-04-21 14:04:07 +02:00
rng.nim add sample proc with exclude array (#68) 2022-04-05 08:24:39 -06:00
sales.nim [contracts] Do not crash when contract interaction fails 2022-04-21 14:04:07 +02:00
stores.nim feat: introduce LRU cache (#50) 2022-03-02 10:30:42 -06:00
streams.nim Seekable stream (#58) 2022-03-21 12:09:59 -06:00
utils.nim Engine (#89) 2022-05-12 15:52:03 -06:00