nim-codex/codex
Dmitriy Ryajov 5f9507cfcd
Blocks leak and inflight for pending blocks (#315)
* attach `wait` to handle fut

* fix crash when can't find a CID and timeout hits

the exception was not raised, thus a Nil was returned that was
than wrapped in an option, leading to crash.


Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>

* add inFlight flag

* adding pending blocks tests

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
Co-authored-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2022-11-15 00:12:05 -06:00
..
blockexchange Blocks leak and inflight for pending blocks (#315) 2022-11-15 00:12:05 -06:00
contracts Load purchase state from chain (#283) 2022-11-08 08:10:17 +01:00
erasure [stores] update getBlock return type 2022-08-22 20:52:51 -05:00
manifest Download files without padding (#218) 2022-08-24 15:15:59 +03:00
purchasing Load purchase state from chain (#283) 2022-11-08 08:10:17 +01:00
rest Log topic filtering (#312) 2022-11-14 17:42:57 -06:00
storageproofs Remove protobuf serialization (#289) 2022-10-27 07:41:34 -06:00
stores Remove protobuf serialization (#289) 2022-10-27 07:41:34 -06:00
streams track latest nim-libp2p's master branch (#248) 2022-11-02 11:40:28 -06:00
utils Fixes loading of private key on Windows (#299) 2022-11-07 15:54:24 +01:00
blockexchange.nim Change every dagger to codex (#102) 2022-05-19 13:56:03 -06:00
blocktype.nim Remove protobuf serialization (#289) 2022-10-27 07:41:34 -06:00
chunker.nim Download files without padding (#218) 2022-08-24 15:15:59 +03:00
clock.nim [purchasing] Update to latest dagger-contracts 2022-07-20 13:43:20 +02:00
codex.nim setup and persist private key (#292) 2022-11-01 18:58:41 -06:00
conf.nim setup and persist private key (#292) 2022-11-01 18:58:41 -06:00
contracts.nim Cleanup: remove StorageOffer everywhere 2022-07-20 13:43:20 +02:00
discovery.nim track latest nim-libp2p's master branch (#248) 2022-11-02 11:40:28 -06:00
erasure.nim Change every dagger to codex (#102) 2022-05-19 13:56:03 -06:00
errors.nim Change every dagger to codex (#102) 2022-05-19 13:56:03 -06:00
formats.nim Remove protobuf serialization (#289) 2022-10-27 07:41:34 -06:00
manifest.nim Change every dagger to codex (#102) 2022-05-19 13:56:03 -06:00
market.nim Load purchase state from chain (#283) 2022-11-08 08:10:17 +01:00
namespaces.nim Persist Dht providers (#257) 2022-09-29 20:16:59 -06:00
node.nim Load purchase state from chain (#283) 2022-11-08 08:10:17 +01:00
proving.nim [marketplace] Remove `isSlotCancelled` and `isCancelled` 2022-10-25 15:10:35 +11:00
purchasing.nim Load purchase state from chain (#283) 2022-11-08 08:10:17 +01:00
rng.nim track latest nim-libp2p's master branch (#248) 2022-11-02 11:40:28 -06:00
sales.nim [marketplace] add/remove proofs for contract state 2022-10-25 15:10:35 +11:00
storageproofs.nim Upload authenticators (#108) 2022-05-25 20:29:31 -06:00
stores.nim Persist Dht providers (#257) 2022-09-29 20:16:59 -06:00
streams.nim adding AsyncStreamWrapper (#110) 2022-06-14 09:19:35 -06:00
utils.nim Download files without padding (#218) 2022-08-24 15:15:59 +03:00