nim-codex/tests/codex/blockexchange
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
..
discovery don't spawn queue requests (#313) 2022-11-14 18:01:05 -06:00
engine track latest nim-libp2p's master branch (#248) 2022-11-02 11:40:28 -06:00
protobuf reorg engine directory structure (#104) 2022-05-19 16:28:53 -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 track latest nim-libp2p's master branch (#248) 2022-11-02 11:40:28 -06:00
testpeerctxstore.nim reorg engine directory structure (#104) 2022-05-19 16:28:53 -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