- 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(graphsync): add update to message add update to message protobuf. also fix deserialization error with cancel requests * feat(requestmanager): support updates for response hooks Support sending request updates in incoming response hooks. Also factor hooks out of request manager * refactor(hooks): make hooks approach consistent for ease of use and learning in library, make hooks structure consistent across requestor and responder * feat(responsemanager): update request processing Add the ability to processing update requests as needed * test(responsemanager): add more tests for update behavior * test(integration):add update integration test Add test to verify the whole update flow * fix(lint): fix lint error
-
- 02 Apr, 2020 1 commit
-
-
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
-
- 23 Mar, 2020 2 commits
-
-
hannahhoward authored
check for nil selector in a request and error if it is present
-
hannahhoward authored
Remove all code references to a "bridge", consolodate test utils
-
- 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 Nov, 2019 2 commits
-
-
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
-
- 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
-
- 19 Apr, 2019 3 commits
-
-
hannahhoward authored
Convert GraphSyncRequest and GraphSyncResponse to structs, track by value, pass directly into add methods on GraphSyncMessage
-
hannahhoward authored
Create a manager for outgoing requests
-
hannahhoward authored
Create a message queue to pool messages for a single peer and send them
-
- 07 Mar, 2019 2 commits
-
-
hannahhoward authored
Update to finalized protobuf format. Also remove deprecated selector interface which is out of date
-
hannahhoward authored
testutils will be general, so move them
-
- 07 Feb, 2019 1 commit
-
-
hannahhoward authored
correction to diagram, protobuff, and remove test function not needed
-
- 06 Feb, 2019 3 commits
-
-
hannahhoward authored
Add ToNet and FromNet functions that read/write to an io stream for use in network. Also type response codes
-
hannahhoward authored
Use a Cid as a root instead of a node, so that only one round trip is neccesary
-
hannahhoward authored
Initial implementation of graph sync messages including protobuf struct and serialization/deserialization fix #2 fix #3
-