- 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
-
- 08 Apr, 2020 1 commit
-
-
Hannah Howard authored
* feat(graphsync): define hook interfaces, test infrastructure rename hooks, add outgoing request hook, define chain types for node builder chooser tests * feat(graphsync): define persistence option add persistence options to asyncloader & responsemanager + handling * feat(graphsync): complete persistence / node builder chooser roundtrip * fix(lint): fix lint errors
-
- 06 Apr, 2020 1 commit
-
-
Hannah Howard authored
* feat(ipldutil): add NodeBuiderChooser to traverse Add the option to set NodeBuilderChooser on traverse, using default when nil * feat(responsemanager): set loader and chooser in hooks Add the ability to set a custom loader and custom node builder chooser in a response hook
-
- 02 Apr, 2020 2 commits
-
-
Hannah Howard authored
* refactor(hooks): refactor default validation as hook, add unregister option * feat(graphsync): add disable default validation option * fix(responsemanager): fix mutex unlocking cover case where unlocking was not happening
-
Hannah Howard authored
* refactor(tests): introduce testify Introduce testify, cleanup lots of tests, add channel assertions to simplify channel tests, make more readable * refactor(tests): clean up error messages * fix(deps): remove bitswap remove accidentally added bitswap * refactor(tests): put expected in correct position Make sure for require.equal that the expected value is the first value
-
- 27 Mar, 2020 1 commit
-
-
Hannah Howard authored
* ci(circle): switch to circle Use configs from bitswap * fix(deps): update and standardize * fix(lint): fix lint errors * fix(tests): relax timings for context cancels Since we are not relying on context cancellation as anything but a test failsafe, relax timings significantly for slower machines * fix(test): fix minor test error * fix(tests): minor timing fix * fix(lint): fix lint errors * fix(tests): relax timings for context cancels Since we are not relying on context cancellation as anything but a test failsafe, relax timings
-
- 23 Mar, 2020 5 commits
-
-
hannahhoward authored
-
hannahhoward authored
Remove all code references to a "bridge", consolodate test utils
-
hannahhoward authored
-
hannahhoward authored
remove remaining methods for ipld bridge
-
hannahhoward authored
Removed mock selector spec, switch to using more real blockchain simulator
-
- 20 Mar, 2020 1 commit
-
-
hannahhoward authored
Remove the encode and decode on ipldbridge as part of ramp up to removing entirely Also move selector encode/decode to within protobuf encoding
-
- 11 Mar, 2020 1 commit
-
-
Steven Allen authored
-
- 03 Dec, 2019 1 commit
-
-
hannahhoward authored
refactor hook interface to pass an actions object
-
- 02 Dec, 2019 2 commits
-
-
Hannah Howard authored
Breakup super long and complicated executeQuery function in two
-
hannahhoward authored
When the request manager receives extensions in a request, it processes them and returns their response
-
- 19 Nov, 2019 1 commit
-
-
hannahhoward authored
add a default validation policy that only accepts selectors up to 100 depth
-
- 13 Nov, 2019 1 commit
-
-
hannahhoward authored
This reverts commit e8245a51, reversing changes made to 2cbb73ff.
-
- 11 Nov, 2019 3 commits
-
-
Dirk McCormick authored
-
hannahhoward authored
To reduce future import cycles, and expose more types properly, move the root package to an interface/types file and move the main implementation into /impl. This also exposes an interface other implementers can replace.
-
hannahhoward authored
return a boolean instead of an error if an extention is found on a message
-
- 08 Nov, 2019 1 commit
-
-
hannahhoward authored
Per https://github.com/ipld/specs/pull/205, metadata is now an extension, and further extensions will be added soon
-
- 03 Sep, 2019 1 commit
-
-
hannahhoward authored
limit the size of blocks sent in a response to 512k a.l.a. bitswap
-
- 23 Jul, 2019 1 commit
-
-
hannahhoward authored
Adds callbacks to manage connections, also removes network receiver methods from public graphsync interface, and updates libp2p to handle go-libp2p-core refactor
-
- 20 Jul, 2019 1 commit
-
-
hannahhoward authored
Updates IPLD Bridge to use latest go-ipld-prime and runs and actual round trip test using GraphSync, go-ipld-prime, and real selectors
-
- 11 Jun, 2019 2 commits
-
-
hannahhoward authored
-
hannahhoward authored
-
- 10 May, 2019 1 commit
-
-
hannahhoward authored
-
- 19 Apr, 2019 12 commits
-
-
hannahhoward authored
wrapper around an async load to make a regular ipld.loader for the request manager
-
hannahhoward authored
move link tracker out of response manager so it can be used for requests
-
hannahhoward authored
-
hannahhoward authored
Extract metadata encoding to a package and add a decoding feature
-
hannahhoward authored
Complete functionality to initialize response manager and process incoming requests fix #7, fix #8
-
hannahhoward authored
Creates the Response Manager that processes incoming requests, initiates selector traversal, and generates responses
-
hannahhoward authored
Refactor peer manager to handle abstract processes, then use the base class for the peer message manager and the peer response manager
-
hannahhoward authored
Create a loader that wraps the underlying store loader and sends to network
-
hannahhoward authored
Create a response manager for a single peer to handle assembling and managing responses for a given peer
-
hannahhoward authored
add a response builder that collects components of a response and then assembles a completed response message
-
hannahhoward authored
Create a link tracker that helps dedup block sends and also track if blocks are missing from requests
-
hannahhoward authored
Create a prioritized task queue for tracking blocks of tasks between peers
-