1. 12 Aug, 2020 3 commits
    • santicomp2014's avatar
      trojan, pss, pss_test: pss port from Swarm (#466) · d2b3746a
      santicomp2014 authored
      * trojan,pss,pss_test: added pss base, still have to fix logging metrics and tests
      
      * pss,pss_test,mock,trojan: added tests for pss
      
      * mock,pss_test: added LastPullSubscription in mock store with @acud, still needs another pass to finish it
      
      * mock: add init for bins
      
      * pss: changed localstore to storer
      
      * pss_test: changed recovery topic to generic pss topic
      
      * pss_test: deadline added to TestPssMonitor
      
      * pss_test: deadline added to TestPssMonitor
      
      * pss_test: deadline added to TestPssMonitor
      
      * pss_test: deadline added to TestPssMonitor
      
      * pss_test: skip TestTrojanChunkRetrieval refactor in progress
      
      * pss_test: removed TestTrojanChunkRetrieval until refactor complete
      
      * pss,pss_test: pss refactored removed Monitor struct replaced with tags, also replaced storer.Put with pushsync
      
      * pss_test: disabled checks for tag in TestPssMonitor
      
      * pss,pss_test: fixed monitor test and removed storer from pss
      
      * pss,pss_test: added metrics and logger to pss
      
      * pss,pss_test: refactored NewPss with Options Struct
      
      * pss,pss_test: changed signature of pss to include ctx and return error
      
      * metrics,pss,pss_test,pusher_test: refactored to interfaces and cleanup of tests
      
      * pss,pss_test: changed Deliver to TryUnwrap
      
      * pss: refactored metrics
      
      * pss,pss_test: refactored Interface again for testing
      
      * pss: fixed error not being used
      
      * pss_test: fix in test and rename TestPssMonitor to TestPssTags
      
      * pss_test: fixed deepsource complaint
      
      * pss_test: fixed deepsource complaint
      
      * pss_test: remove unsed Store struct
      
      * pusher_test: rollback changes done in pusher test
      
      * mock: revert storer mock to master, these changes are not necesarry any more
      
      * pss_test: remove state stored from tags, not needed in tc
      
      * pss_test: removed tag.Total in Send, not needed
      
      * pss_test: removed comment on Store state, since this was removed, cleanup
      
      * pss: removedlong in TryUnwrap comment
      
      * pss,pss_test: removed tags and deferenced handler
      
      * fix test case
      
      * pss_test: added more info in debug comment
      
      * pss_test: added err check in Unwrap
      Co-authored-by: default avataracud <12988138+acud@users.noreply.github.com>
      d2b3746a
    • Janoš Guljaš's avatar
      golangci-lint binary install (#561) · b2b1eff8
      Janoš Guljaš authored
      b2b1eff8
    • Zahoor Mohamed's avatar
      expose remove chunk debug API (#556) · 53fb51fc
      Zahoor Mohamed authored
      53fb51fc
  2. 11 Aug, 2020 2 commits
  3. 10 Aug, 2020 3 commits
  4. 07 Aug, 2020 3 commits
  5. 06 Aug, 2020 4 commits
  6. 05 Aug, 2020 2 commits
  7. 04 Aug, 2020 3 commits
  8. 03 Aug, 2020 5 commits
    • metacertain's avatar
      Check for validity before concluding retrieving chunk (#427) · 0a40f19f
      metacertain authored
      * Check for validity before concluding retrieving chunk
      
      * Removed leftover code
      
      * removed draft comment
      
      * Fix Retrieve test with Fake Validator function
      
      * GoFmt
      
      * Remove second validation
      
      * Retrieve and netstore validation and test fixes
      
      * Content mock validator
      
      * Validator mock configurable return
      
      * Fix retrieval validity check before crediting
      
      * Removed empty comment
      
      * Change name for ChunkValidator & ChunkValidators -> Validator & ChunkValidator
      
      * Remove whitespace
      0a40f19f
    • Zahoor Mohamed's avatar
      return empty response when nothing is pinned (#500) · eb7ea591
      Zahoor Mohamed authored
      * return empty response when nothing is pinned
      eb7ea591
    • metacertain's avatar
      Accounting metrics (#467) · 6efcbfdf
      metacertain authored
      * Initial total debit credit counters in metrics endpoint
      * Add metrics.go for accounting
      * Add counters for events, disconnects, blocks
      * Count credit debit events
      * Gramatic error fixed
      * Fix update of debit metrics on disconnect
      * Semantical rename of counters
      * Fix name
      * Initial total debit credit counters in metrics endpoint
      * Add metrics.go for accounting
      * Add counters for events, disconnects, blocks
      * Count credit debit events
      * Gramatic error fixed
      * Fix update of debit metrics on disconnect
      * Semantical rename of counters
      * Fix name
      * Grammatic fixes
      Co-authored-by: default avatarPavle Batuta <pavle@batuta.xyz>
      6efcbfdf
    • Janoš Guljaš's avatar
      732c9a8e
    • Pavle Batuta's avatar
      Dynamic welcome message (#439) · 65b65f5f
      Pavle Batuta authored
      * Add dynamic welcome message to p2p handshake
      
      * Add '/welcome-msg' to debug api
      
      * Add missing license headers
      
      * Rename to WelcomeMessageSynced to Get
      
      * Add atomic.value instead of struct
      
      * Simplify mocks, refactor tests
      
      * Add request struct and length check
      
      * Extract DebugService p2p interface
      
      * Add check
      
      * Remove MaxBytesReader
      
      * Remove unused constant
      
      * Remove out of scope test
      
      * Set max request size
      
      * Refactor test
      65b65f5f
  9. 02 Aug, 2020 1 commit
  10. 31 Jul, 2020 2 commits
  11. 30 Jul, 2020 4 commits
  12. 29 Jul, 2020 1 commit
  13. 28 Jul, 2020 3 commits
  14. 27 Jul, 2020 4 commits
    • santicomp2014's avatar
      bee-file/main, bee-join/main, api, api_test, file, file_test, netstore,... · 137dae3b
      santicomp2014 authored
      bee-file/main, bee-join/main, api, api_test, file, file_test, netstore, netstore_test, node: add targets to query param on download path (#430)
      
      * pkg/api,pkg/file,pkg/netstore: adds targets as query param to downloadfile and propagates the ctx all the way down to netstore
      
      * cmd/bee-file,pkg/file: added missing context
      
      * pkg/api added type for targets ctx
      
      * pkg/netstore: commented out recovery section in netstore.get
      
      * cmd/bee-join,pkg/api,pkg/netstore: simplified comment in netstore.get, changed targetsContextKey to struct and moved up to the package level
      
      * api/test: added test for targets
      
      * api,api_test: added test for targets
      
      * api: removed antipattern
      
      * api: changed targets location due to master conflicts
      
      * api_test,api: added targets to chunk api and test for this use case
      
      * api_test,netstore_test,netstore,node: refactored test for query param check and also integrated logs in netstore
      
      * api_test: condensed targets test to minimal expression
      
      * api,api_test: refactored Targets into swarm-recovery-targets and extracted it into api as a const
      
      * api: fixed lint error space in comment
      
      * netstore: removed todo from get
      137dae3b
    • Zahoor Mohamed's avatar
      Fix file upload/download during encryption (#472) · 3cdcdc62
      Zahoor Mohamed authored
      * Fix file upload/download during encryption
      3cdcdc62
    • Ralph Pichler's avatar
      fix TestSocValidator (#475) · 2b82b44a
      Ralph Pichler authored
      2b82b44a
    • Ivan Vandot's avatar
      add install.sh (#468) · 637b67a8
      Ivan Vandot authored
      637b67a8