1. 28 Apr, 2020 2 commits
    • Hannah Howard's avatar
      refactor(hooks): use external pubsub (#65) · 97a8cf76
      Hannah Howard authored
      97a8cf76
    • Hannah Howard's avatar
      Update of IPLD Prime (#66) · 6e4ddab1
      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: default avatarEric Myhre <hash@exultant.us>
      6e4ddab1
  2. 21 Apr, 2020 2 commits
    • Hannah Howard's avatar
    • Hannah Howard's avatar
      Update Requests (#63) · 9ada784d
      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
      9ada784d