good morning!!!!

Skip to content
Snippets Groups Projects
  1. Aug 10, 2018
  2. Aug 09, 2018
  3. Aug 08, 2018
  4. Aug 07, 2018
  5. Aug 06, 2018
    • Janoš Guljaš's avatar
      cmd/swarm, swarm: various test fixes (#17299) · a72ba5a5
      Janoš Guljaš authored
      * swarm/network/simulation: increase the sleep duration for TestRun
      
      * cmd/swarm, swarm: fix failing tests on mac
      
      * cmd/swarm: update TestCLISwarmFs skip comment
      
      * swarm/network/simulation: adjust disconnections on simulation close
      
      * swarm/network/simulation: call cleanups after net shutdown
      a72ba5a5
  6. Jul 31, 2018
  7. Jul 30, 2018
    • holisticode's avatar
      Merge netsim mig to master (#17241) · d6efa691
      holisticode authored
      * swarm: merged stream-tests migration to develop
      
      * swarm/network: expose simulation RandomUpNode to use in stream tests
      
      * swarm/network: wait for subs in PeerEvents and fix stream.runSyncTest
      
      * swarm: enforce waitkademlia for snapshot tests
      
      * swarm: fixed syncer tests and snapshot_sync_test
      
      * swarm: linting of simulation package
      
      * swarm: address review comments
      
      * swarm/network/stream: fix delivery_test bugs and refactor
      
      * swarm/network/stream: addressed PR comments @janos
      
      * swarm/network/stream: enforce waitKademlia, improve TestIntervals
      
      * swarm/network/stream: TestIntervals not waiting for chunk to be stored
      d6efa691
    • Anton Evangelatov's avatar
    • Anton Evangelatov's avatar
      build: rename swarm deb package to ethereum-swarm; change swarm deb version... · a5d5609e
      Anton Evangelatov authored
      build: rename swarm deb package to ethereum-swarm; change swarm deb version from 1.8.x to 0.3.x (#16988)
      
      * build: add support for different package and binary names
      
      * build: bump up copyright date
      
      * build: change default PackageName to empty string
      
      * build, internal, swarm: enhance build/release process
      
      * build: hack ethereum-swarm as a "depends" in deb package
      
      * build/ci: remove redundant variables
      
      * build, cmd, mobile, params, swarm: remove VERSION file; rename Version to VersionMeta;
      
      * internal: remove VERSION() method which reads VERSION file
      
      * build: fix VersionFilePath to Version
      
      * Makefile: remove clean_go_build_cache.sh until it works
      
      * Makefile: revert removal of clean_go_build_cache.sh
      a5d5609e
  8. Jul 23, 2018
    • Anton Evangelatov's avatar
      swarm/testutil: remove EnableMetrics · 14bdcdea
      Anton Evangelatov authored
      14bdcdea
    • Javier Peletier's avatar
      swarm/storage/mru: Client-side MRU signatures (#784) · 427316a7
      Javier Peletier authored
      * swarm/storage/mru: Add embedded publickey and remove ENS dep
      
      This commit breaks swarm, swarm/api...
      but tests in swarm/storage/mru pass
      
      * swarm: Refactor swarm, swarm/api to mru changes, make tests pass
      
      * swarm/storage/mru: Remove self from recv, remove test ens vldtr
      
      * swarm/storage/mru: Remove redundant test, expose ResourceHash mthd
      
      * swarm/storage/mru: Make HeaderGetter mandatory + godoc fixes
      
      * swarm/storage: Remove validator prefix for metadata chunk
      
      * swarm/storage/mru: Use Address instead of PublicKey
      
      * swarm/storage/mru: Change index from name to metadata chunk addr
      
      * swarm/storage/mru: Refactor swarm/api/... to MRU index changes
      
      * swarm/storage/mru: Refactor cleanup
      
      * swarm/storage/mru: Rebase cleanup
      
      * swarm: Use constructor for GenericSigner MRU in swarm.go
      
      * swarm/storage: Change to BMTHash for MRU hashing
      
      * swarm/storage: Reduce loglevel on chunk validator logs
      
      * swarm/storage/mru: Delint
      
      * swarm: MRU Rebase cleanup
      
      * swarm/storage/mru: client-side mru signatures
      
      Rebase to PR #668 and fix all conflicts
      
      * swarm/storage/mru:  refactor and documentation
      
      * swarm/resource/mru: error-checking  tests for parseUpdate/newUpdateChunk
      
      * swarm/storage/mru: Added resourcemetadata tests
      
      * swarm/storage/mru: Added tests  for UpdateRequest
      
      * swarm/storage/mru: more test coverage for UpdateRequest and comments
      
      * swarm/storage/mru: Avoid fake chunks in parseUpdate()
      
      * swarm/storage/mru: Documented resource.go extensively
      
      moved some functions where they make most sense
      
      * swarm/storage/mru: increase test coverage for UpdateRequest and
      
      variable name changes throughout to increase consistency
      
      * swarm/storage/mru: moved default timestamp to NewCreateRequest-
      
      * swarm/storage/mru: lookup refactor
      
      * swarm/storage/mru: added comments and renamed raw flag to rawmru
      
      * swarm/storage/mru: fix receiver typo
      
      * swarm/storage/mru: refactored update chunk new/create
      
      * swarm/storage/mru:  refactored signature digest to avoid malleability
      
      * swarm/storage/mru: optimize update data serialization
      
      * swarm/storage/mru: refactor and cleanup
      
      * swarm/storage/mru: add timestamp struct and serialization
      
      * swarm/storage/mru: fix lint error and mark some old code for deletion
      
      * swarm/storage/mru: remove unnecessary variable
      
      * swarm/storage/mru: Added more comments throughout
      
      * swarm/storage/mru: Refactored metadata chunk layout + extensive error...
      
      * swarm/storage/mru: refactor cli parser
      Changed resource info output to JSON
      
      * swarm/storage/mru: refactor serialization for extensibility
      
      refactored error messages to NewErrorf
      
      * swarm/storage/mru: Moved Signature to resource_sign.
      Check Sign errors in server tests
      
      * swarm/storage/mru: Remove isSafeName() checks
      
      * swarm/storage/mru: scrubbed off all references to "block" for time
      
      * swarm/storage/mru: removed superfluous isSynced() call.
      
      * swarm/storage/mru: remove isMultihash() and ToSafeName functions
      
      * swarm/storage/mru: various fixes and comments
      
      * swarm/storage/mru: decoupled cli for independent create/update
      * Made resource name optional
      * Removed unused LookupPrevious
      
      * swarm/storage/mru: Decoupled resource create / update & refactor
      
      * swarm/storage/mru: Fixed some comments as per issues raised in PR #743
      
      * swarm/storage/mru: Cosmetic changes as per #743 comments
      
      * swarm/storage/mru: refct request encoder/decoder > marshal/unmarshal
      
      * swarm/storage/mru: Cosmetic changes as per review in #748
      
      * swarm/storage/mru: removed timestamp proof placeholder
      
      * swarm/storage/mru: cosmetic/doc/fixes changes as per comments in #704
      
      * swarm/storage/mru: removed unnecessary check in Handler.update
      
      * swarm/storage/mru: Implemented Marshaler/Unmarshaler iface in Request
      
      * swarm/storage/mru: Fixed linter error
      
      * swarm/storage/mru: removed redundant address in signature digest
      
      * swarm/storage/mru: fixed bug: LookupLatestVersionInPeriod not working
      
      * swarm/storage/mru: Unfold Request creation API for create or update+create
      set common time source for mru package
      
      * swarm/api/http: fix HandleGetResource error variable shadowed
      when requesting a resource that does not exist
      
      * swarm/storage/mru: Add simple check to detect duplicate updates
      
      * swarm/storage/mru: moved Multihash() to the right place.
      
      * cmd/swarm: remove unneeded clientaccountmanager.go
      
      * swarm/storage/mru: Changed some comments as per reviews in #784
      
      * swarm/storage/mru: Made SignedResourceUpdate.GetDigest() public
      
      * swarm/storage/mru: cosmetic changes as per comments in #784
      
      * cmd/swarm: Inverted --multihash flag default
      
      * swarm/storage/mru: removed Verify from SignedResourceUpdate.fromChunk
      
      * swarm/storage/mru: Moved validation code out of serializer
      Cosmetic / comment changes
      
      * swarm/storage/mru: Added unit tests for UpdateLookup
      
      * swarm/storage/mru: Increased coverage of metadata serialization
      
      * swarm/storage/mru: Increased test coverage of updateHeader serializers
      
      * swarm/storage/mru: Add resourceUpdate serializer test
      427316a7
    • Elad's avatar
      0647c4de
    • Janoš Guljaš's avatar
      swarm: network simulation for swarm tests (#769) · dcaaa3c8
      Janoš Guljaš authored
      * cmd/swarm: minor cli flag text adjustments
      
      * cmd/swarm, swarm/storage, swarm: fix  mingw on windows test issues
      
      * cmd/swarm: support for smoke tests on the production swarm cluster
      
      * cmd/swarm/swarm-smoke: simplify cluster logic as per suggestion
      
      * changed colour of landing page
      
      * landing page reacts to enter keypress
      
      * swarm/api/http: sticky footer for swarm landing page using flex
      
      * swarm/api/http: sticky footer for error pages and fix for multiple choices
      
      * swarm: propagate ctx to internal apis (#754)
      
      * swarm/simnet: add basic node/service functions
      
      * swarm/netsim: add buckets for global state and kademlia health check
      
      * swarm/netsim: Use sync.Map as bucket and provide cleanup function for...
      
      * swarm, swarm/netsim: adjust SwarmNetworkTest
      
      * swarm/netsim: fix tests
      
      * swarm: added visualization option to sim net redesign
      
      * swarm/netsim: support multiple services per node
      
      * swarm/netsim: remove redundant return statement
      
      * swarm/netsim: add comments
      
      * swarm: shutdown HTTP in Simulation.Close
      
      * swarm: sim HTTP server timeout
      
      * swarm/netsim: add more simulation methods and peer events examples
      
      * swarm/netsim: add WaitKademlia example
      
      * swarm/netsim: fix comments
      
      * swarm/netsim: terminate peer events goroutines on simulation done
      
      * swarm, swarm/netsim: naming updates
      
      * swarm/netsim: return not healthy kademlias on WaitTillHealthy
      
      * swarm: fix WaitTillHealthy call in testSwarmNetwork
      
      * swarm/netsim: allow bucket to have any type for a key
      
      * swarm: Added snapshots to new netsim
      
      * swarm/netsim: add more tests for bucket
      
      * swarm/netsim: move http related things into separate files
      
      * swarm/netsim: add AddNodeWithService option
      
      * swarm/netsim: add more tests and Start* methods
      
      * swarm/netsim: add peer events and kademlia tests
      
      * swarm/netsim: fix some tests flakiness
      
      * swarm/netsim: improve random nodes selection, fix TestStartStop* tests
      
      * swarm/netsim: remove time measurement from TestClose to avoid flakiness
      
      * swarm/netsim: builder pattern for netsim HTTP server (#773)
      
      * swarm/netsim: add connect related tests
      
      * swarm/netsim: add comment for TestPeerEvents
      
      * swarm: rename netsim package to network/simulation
      dcaaa3c8
    • Louis Holbrook's avatar
      f5b128a5
    • Viktor Trón's avatar
      swarm/bmt: async section writer interface to BMT (#778) · fd982d3f
      Viktor Trón authored
      - AsyncHasher implements AsyncWriter interface
       - add extra level for zerohashes in pool to lookup empty data hash
       - remove unused segment, hash and depth fields from Tree
       - Hash pkg function -> syncHash moved to test
       - add asyncHash helper func to tests using shuffle
       - add TestAsyncCorrectness to tests
       - add BenchmarkBMTAsync to tests
       - refactor benchmarks using subbenchmarks
       - improved comments
       - preinitialise base hashers on the nodes
      fd982d3f
  9. Jul 20, 2018
  10. Jul 19, 2018
  11. Jul 13, 2018
  12. Jul 12, 2018
  13. Jul 09, 2018
    • Anton Evangelatov's avatar
      swarm: ctx propagation; bmt fixes; pss generic notification framework (#17150) · b3711af0
      Anton Evangelatov authored
      * cmd/swarm: minor cli flag text adjustments
      
      * swarm/api/http: sticky footer for swarm landing page using flex
      
      * swarm/api/http: sticky footer for error pages and fix for multiple choices
      
      * cmd/swarm, swarm/storage, swarm: fix  mingw on windows test issues
      
      * cmd/swarm: update description of swarm cmd
      
      * swarm: added network ID test
      
      * cmd/swarm: support for smoke tests on the production swarm cluster
      
      * cmd/swarm/swarm-smoke: simplify cluster logic as per suggestion
      
      * swarm: propagate ctx to internal apis (#754)
      
      * swarm/metrics: collect disk measurements
      
      * swarm/bmt: fix io.Writer interface
      
        * Write now tolerates arbitrary variable buffers
        * added variable buffer tests
        * Write loop and finalise optimisation
        * refactor / rename
        * add tests for empty input
      
      * swarm/pss: (UPDATE) Generic notifications package (#744)
      
      swarm/pss: Generic package for creating pss notification svcs
      
      * swarm: Adding context to more functions
      
      * swarm/api: change colour of landing page in templates
      
      * swarm/api: change landing page to react to enter keypress
      b3711af0
  14. Jun 25, 2018
  15. Jun 21, 2018
  16. Jun 12, 2018
  17. Apr 19, 2018
  18. Apr 17, 2018
  19. Apr 09, 2018
  20. Mar 05, 2018
  21. Feb 27, 2018
    • Elad Nachmias's avatar
      swarm: give correct error on 0x hash prefix (#16195) · b574b577
      Elad Nachmias authored
      - added a case error struct that contains information about certain error cases
      in which we would like to output more information to the client
      - added a validation method that iterates and adds the information that is
      stored in the error cases
      b574b577
Loading