- 01 Jul, 2020 1 commit
-
-
Hannah Howard authored
Refactor request execution and use IPLD SkipMe functionality for proper partial results on a request (#70) * refactor(requestmanager): refactor execution of requests * feat(graphsync): properly use SkipMe from ipld to complete partial selections * fix(requestmanager): remove unused function
-
- 21 Apr, 2020 1 commit
-
-
Hannah Howard authored
* feat(deps): upgrade IPLD prime to last before refactor * refactor(responsemanager): refactor traversal switch to iterative traversal that is more amenable to interruption * feat(peerresponsemanager): add bytes sent to peer response sender Add a return value to SendResponse in peer response sender to return the number of block bytes transmitted. Note: does not count unsent blocks. Also convert block size measurements to uint64 * feat(responsemanager): add response pausing add first implementation of response pausing in response manager * refactor(responsemanager): extract classes to simplify response manager extract hooks as independant functionality * test(responsemanager): add tests for block hooks and request hooks * test(graphsync): add pause/resume integration test * fix(responsemanager): fix directory misname requesthooks.go directory -> requesthooks * fix(tests): cleanup races & lint * test(graphsync): fix flaky test
-