good morning!!!!

Skip to content
Snippets Groups Projects
  1. Sep 03, 2018
  2. Aug 27, 2018
  3. Aug 23, 2018
  4. Aug 20, 2018
  5. Aug 14, 2018
  6. Aug 09, 2018
  7. Aug 07, 2018
  8. Aug 06, 2018
  9. Jul 30, 2018
  10. Jul 23, 2018
    • Wenbiao Zheng's avatar
      fe6a9473
    • 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
  11. Jul 18, 2018
  12. Jul 13, 2018
  13. Jul 03, 2018
    • Felix Lange's avatar
      p2p/discover: move bond logic from table to transport (#17048) · c73b654f
      Felix Lange authored
      * p2p/discover: move bond logic from table to transport
      
      This commit moves node endpoint verification (bonding) from the table to
      the UDP transport implementation. Previously, adding a node to the table
      entailed pinging the node if needed. With this change, the ping-back
      logic is embedded in the packet handler at a lower level.
      
      It is easy to verify that the basic protocol is unchanged: we still
      require a valid pong reply from the node before findnode is accepted.
      
      The node database tracked the time of last ping sent to the node and
      time of last valid pong received from the node. Node endpoints are
      considered verified when a valid pong is received and the time of last
      pong was called 'bond time'. The time of last ping sent was unused. In
      this commit, the last ping database entry is repurposed to mean last
      ping _received_. This entry is now used to track whether the node needs
      to be pinged back.
      
      The other big change is how nodes are added to the table. We used to add
      nodes in Table.bond, which ran when a remote node pinged us or when we
      encountered the node in a neighbors reply. The transport now adds to the
      table directly after the endpoint is verified through ping. To ensure
      that the Table can't be filled just by pinging the node repeatedly, we
      retain the isInitDone check. During init, only nodes from neighbors
      replies are added.
      
      * p2p/discover: reduce findnode failure counter on success
      
      * p2p/discover: remove unused parameter of loadSeedNodes
      
      * p2p/discover: improve ping-back check and comments
      
      * p2p/discover: add neighbors reply nodes always, not just during init
      c73b654f
  14. Jun 21, 2018
  15. Jun 14, 2018
    • Elad's avatar
      all: library changes for swarm-network-rewrite (#16898) · 1836366a
      Elad authored
      This commit adds all changes needed for the merge of swarm-network-rewrite.
      The changes:
      
      - build: increase linter timeout
      - contracts/ens: export ensNode
      - log: add Output method and enable fractional seconds in format
      - metrics: relax test timeout
      - p2p: reduced some log levels, updates to simulation packages
      - rpc: increased maxClientSubscriptionBuffer to 20000
      1836366a
  16. Jun 12, 2018
  17. May 29, 2018
  18. May 17, 2018
    • Felix Lange's avatar
      p2p/enr: updates for discovery v4 compatibility (#16679) · 6286c255
      Felix Lange authored
      This applies spec changes from ethereum/EIPs#1049 and adds support for
      pluggable identity schemes.
      
      Some care has been taken to make the "v4" scheme standalone. It uses
      public APIs only and could be moved out of package enr at any time.
      
      A couple of minor changes were needed to make identity schemes work:
      
      - The sequence number is now updated in Set instead of when signing.
      - Record is now copy-safe, i.e. calling Set on a shallow copy doesn't
        modify the record it was copied from.
      Unverified
      6286c255
  19. May 08, 2018
  20. May 03, 2018
  21. Apr 17, 2018
  22. Mar 26, 2018
  23. Feb 26, 2018
  24. Feb 23, 2018
    • Anton Evangelatov's avatar
      metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) · ae9f9722
      Anton Evangelatov authored
      * go-metrics: fork library and introduce ResettingTimer and InfluxDB reporter.
      
      * vendor: change nonsense/go-metrics to ethersphere/go-metrics
      
      * go-metrics: add tests. move ResettingTimer logic from reporter to type.
      
      * all, metrics: pull in metrics package in go-ethereum
      
      * metrics/test: make sure metrics are enabled for tests
      
      * metrics: apply gosimple rules
      
      * metrics/exp, internal/debug: init expvar endpoint when starting pprof server
      
      * internal/debug: tiny comment formatting fix
      ae9f9722
  25. Feb 22, 2018
  26. Feb 21, 2018
    • Dmitry Shulyak's avatar
      p2p: when peer is removed remove it also from dial history (#16060) · 14c76371
      Dmitry Shulyak authored
      This change removes a peer information from dialing history
      when peer is removed from static list. It allows to force a
      server to re-dial concrete peer if it is needed.
      
      In our case we are running geth node on mobile devices, and
      it is common for a network connection to flap on mobile.
      Almost every time it flaps or network connection is changed
      from cellular to wifi peers are disconnected with read
      timeout. And usually it takes 30 seconds (default expiration
      timeout) to recover connection with static peers after
      connectivity is restored.
      
      This change allows us to reconnect with peers almost
      immediately and it seems harmless enough.
      14c76371
  27. Feb 17, 2018
Loading