1. 21 Apr, 2020 1 commit
    • Hannah Howard's avatar
      Add pausing and unpausing of requests (#62) · 79c195c8
      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
      79c195c8
  2. 08 Apr, 2020 1 commit
    • Hannah Howard's avatar
      Outgoing Request Hooks, swapping persistence layers (#61) · e1a98fc6
      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
      e1a98fc6
  3. 02 Apr, 2020 2 commits
    • Hannah Howard's avatar
      Option to Reject requests by default (#58) · 67606650
      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
      67606650
    • 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
  4. 27 Mar, 2020 1 commit
    • Hannah Howard's avatar
      Switch To Circle CI (#57) · bd3f4b47
      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
      bd3f4b47
  5. 23 Mar, 2020 4 commits
  6. 20 Mar, 2020 1 commit
  7. 03 Dec, 2019 4 commits
  8. 02 Dec, 2019 1 commit
  9. 19 Nov, 2019 1 commit
  10. 18 Nov, 2019 1 commit
  11. 11 Nov, 2019 1 commit
    • hannahhoward's avatar
      refactor(graphsync): refactor file organization · 170951f1
      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.
      170951f1
  12. 07 Nov, 2019 1 commit
  13. 03 Sep, 2019 1 commit
  14. 23 Jul, 2019 1 commit
  15. 20 Jul, 2019 1 commit
  16. 19 Apr, 2019 4 commits