1. 23 Dec, 2020 1 commit
    • Alex Cruikshank's avatar
      Response Assembler Refactor (#138) · 319ab7e6
      Alex Cruikshank authored
      * WIP
      
      * WIP
      
      * network tests passing
      
      * fix peermanager test
      
      * requestmanager passes
      
      * responsemanager test passing
      
      * peerresponsebuilder test passing
      
      * network and messagequeue tests are passing
      
      * fix imports
      
      * refactor(responsemanager): test cleanup
      
      cleanup response manager test and continue cleaning up names
      
      * refactor(graphsync): add more code documentation
      
      * refactor(responsemanager): finish rename cleanup
      
      remove references to old peerresponsemanager, peerresponsesender
      
      * fix(messagequeue): don't miss queued messages
      
      move large blocks test to message queue where it belongs, make sure we properly handle queued
      messages
      
      * Apply suggestions from code review
      Co-authored-by: default avatarAlex Cruikshank <169613+acruikshank@users.noreply.github.com>
      
      * refactor(responseassembler): rename transaction builder
      
      rename transaction builder to response builder
      Co-authored-by: default avatarhannahhoward <hannah@hannahhoward.net>
      Co-authored-by: default avataracruikshank <acruikshank@example.com>
      319ab7e6
  2. 06 Nov, 2020 1 commit
  3. 20 Oct, 2020 1 commit
  4. 16 Oct, 2020 1 commit
    • Hannah Howard's avatar
      Switch to google protobuf generator (#105) · 536970d8
      Hannah Howard authored
      * feat(message): switch to google protobuf
      
      after tracking down an error in Unmarshal code generate by gogoprotobuf, and verifying this is a
      bug in the library, which appears unmaintained, try switching to google's own golang protobuf tools
      
      * fix(message): upgrade msgio
      
      resolve bad message strings
      
      * feat(message): initialize empty extensions
      
      Initialize extensions to map if nil
      536970d8
  5. 23 Sep, 2020 1 commit
    • Eric Myhre's avatar
      Update go-ipld-prime@v0.5.0 (#92) · a0cc6f06
      Eric Myhre authored
      * Update go-ipld-prime@v0.5.0
      
      Simultaneously updates go-ipld-prime-proto, which also has changes to
      match that version of go-ipld-prime.
      
      * feat(deps): update ipld-prime near master
      
      update to lastest needed sha for filecoin, reinstitute generated node tests
      
      * feat(deps): update go-ipld-prime-prot
      Co-authored-by: default avatarhannahhoward <hannah@hannahhoward.net>
      a0cc6f06
  6. 28 Aug, 2020 1 commit
    • Hannah Howard's avatar
      Benchmark framework + First memory fixes (#89) · bd2d62f5
      Hannah Howard authored
      * feat(benchmarks): initial benchmark infrastructure
      
      * fix(cidlink): mem allocations around link loading
      
      * fix(deps): update to latest deps
      
      use latest go-ipld-prime & go-ipld-prime-proto fixes
      
      * fix(deps): remove unused badger code
      bd2d62f5
  7. 04 Aug, 2020 1 commit
    • Hannah Howard's avatar
      Release infrastructure (#81) · 7dbe280c
      Hannah Howard authored
      * style(imports): fix import formatting
      
      Fix import formatting via script. Also add script for import fixes and release log
      
      * docs(CHANGELOG): add changelog, contributing
      
      Add the changelog and a contributing guidelines doc
      7dbe280c
  8. 30 Jul, 2020 1 commit
  9. 08 Jul, 2020 1 commit
    • Hannah Howard's avatar
      All changes to date including pause requests & start paused, along with new... · caa872f6
      Hannah Howard authored
      All changes to date including pause requests & start paused, along with new adds for cleanups and checking of execution (#75)
      
      * WIP
      
      * feat(graphsync): pause/unpause requests
      
      Allow graphsync requests to be paused and unpaused via request cancelling and DoNotSendCIDs
      extension
      
      * fix(requestmanager): refactor executor
      
      remove extraneous allocation of closure functions
      
      * feat(graphsync): support external request pauses
      
      allow pausing requests imperatively via PauseRequest function
      
      * fix(lint): fix lint errors
      
      * feat(responsemanager): start requests paused
      
      add the ability for a hook to pause a response right when it's first received
      
      * feat(responsemanager): improve cancellation UX
      
      provide a mechanism for responders to learn a requestor cancelled a request and for requestors to
      learn a request was cancelled
      
      * feat(requestmanager): process request cancelled status
      
      process the responder returning a request cancelled error code and also support sentinel errors
      
      * feat(executor): refactor to remove loader
      
      remove loader, also only fire restart request as needed
      
      * fix(asyncloader): load requests synchronously when possible
      
      * fix(responsemanager): fix external pause
      
      Fix external pauses missing a block
      
      * fix(responsemanager): do not delay complete listener
      
      Run complete listener in same thread as response processing, making it less susceptable to
      interruption via cancel
      
      * fix(responsemanager): fix context check
      
      fix checking for context cancellation errors based off of the way ipld-prime does not wrap errors
      
      * fix(responsemanager): more precise cancel
      
      make cancels only get recorded if actual blocks are not sent -- otherwise the request is considered
      complete -- and the complete hook always runs
      
      * fix(requestmanager): handle non processed pauses
      
      Handler the case where a pause is requested but never actually takes place
      
      * refactor(responsemanager): handle cancels, correctly this time
      
      Properly handle cancels for both paused and unpaused states
      
      * fix(errors): remove regex cause it appears to be very slow
      
      * fix(traverser): fix race condition for shutdown
      
      make sure that the traverser is finished in the request executor
      
      * fix(deps): mod tidy
      
      * fix(executor): add back network error
      caa872f6
  10. 28 Apr, 2020 1 commit
    • 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
  11. 21 Apr, 2020 1 commit
    • 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
  12. 02 Apr, 2020 1 commit
    • Hannah Howard's avatar
      Testify refactor (#56) · b3cc648d
      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
      b3cc648d
  13. 23 Mar, 2020 2 commits
  14. 20 Mar, 2020 1 commit
  15. 11 Nov, 2019 2 commits
  16. 08 Nov, 2019 1 commit
  17. 23 Jul, 2019 1 commit
  18. 20 Jul, 2019 1 commit
  19. 19 Apr, 2019 3 commits
  20. 07 Mar, 2019 2 commits
  21. 07 Feb, 2019 1 commit
  22. 06 Feb, 2019 3 commits