Michael Bradley, Jr
644a8f84de
[build] track nim-libp2p's unstable branch
2022-11-25 11:11:10 -06:00
Dmitriy Ryajov
5abf80cc69
Block download ( #304 )
...
* track inflight requests
* preperly handle precense updates
* trace number of of scheduled blocks
* invoke `payForBlocks` at the correct time
* reduntant block info on want list updates
* don't update prices in task handler
* PeerID -> PeerId
* cleanup
* proper log topic
* better chronicles topic filtering
* more trace logging
* sort want blocks
* wip - fix tests
* wip - fix tests, presence changes
* fix small test issue
* return price
* payment related changes
* misc
* re-enable payment tests
* fix warn wording
* fix `u256` conversion
* minor misc changes
* don't idle for so long on `encode`
* logging
* move buff
* disable cache by default
* disable cache by default
* fix streamOneBlock
* log node stopping/exiting
* trace logging
* don't stringify cid
* use `self`
* quick cleanup
* rename enums
* rename enums
* turns out we don't needs this test
* fix wording
2022-11-15 09:46:21 -06:00
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
Dmitriy Ryajov
d4f3ebc867
reorg engine directory structure ( #104 )
2022-05-19 16:28:53 -06:00