- 28 Apr, 2020 1 commit
-
-
Hannah Howard authored
* Updating go-ipld-prime to NodeAssembler era. The 'testutil/chaintypes' codegen is currently dropped, and I ported the testchain fixtures to using basicnode instead. We can restore this to using codegen soon, but it's easier to complete this set of changes by temporarily switching to using basicnode. Tests using 'NewUnencodableSelectorSpec' were discarded -- this more or less exercised what would happen if an uninitialized zero value got into a program, and this is now happily statically impossible. Some tests are not passing; have not sussed yet. * fix(deps): upgrade ipld-prime with bug fix use ipld prime with fixed marshalling bug to get tests passing * fix(lint): fix lint error Co-authored-by: Eric Myhre <hash@exultant.us>
-
- 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
-
- 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
-
- 23 Mar, 2020 3 commits
-
-
hannahhoward authored
Remove all code references to a "bridge", consolodate test utils
-
hannahhoward authored
-
hannahhoward authored
remove remaining methods for ipld bridge
-
- 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
-
- 03 Dec, 2019 1 commit
-
-
hannahhoward authored
Incorporate go-ipld-prime-proto and write test to verify that graphsync works with it
-
- 02 Dec, 2019 1 commit
-
-
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
-
- 07 Nov, 2019 1 commit
-
-
Edgar Lee authored
-
- 08 Aug, 2019 1 commit
-
-
hannahhoward authored
-
- 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
-
- 19 Apr, 2019 3 commits
-
-
hannahhoward authored
Extract metadata encoding to a package and add a decoding feature
-
hannahhoward authored
Update the IPLD bridge for the newest version of IPLD prime and add a node builder method.
-
hannahhoward authored
Update the IPLD Bridge to take into account the new architecture around links
-
- 15 Mar, 2019 1 commit
-
-
hannahhoward authored
Define an interface for interacting with go-ipld-prime and write semi-functional implementation
-