good morning!!!!

Skip to content
Snippets Groups Projects
  1. Jan 17, 2019
    • Ferenc Szabo's avatar
      swarm/network: fix data race in stream.(*Peer).handleOfferedHashesMsg() (#18468) · 4f8ec445
      Ferenc Szabo authored
      * swarm/network: fix data race in stream.(*Peer).handleOfferedHashesMsg()
      
      handleOfferedHashesMsg() contained a data race:
      - read => in a goroutine, call to c.batchDone()
      - write => in the main thread, write to c.sessionAt
      
      c.batchDone() contained a call to c.AddInterval(). Client was a value
      receiver for AddInterval. So on c.AddInterval() call the whole client
      struct got copied (read) while one of its field was modified in
      handleOfferedHashesMsg() (write).
      
      fixes ethersphere/go-ethereum#1086
      
      * swarm/network: simplify some trivial statements
      4f8ec445
    • Elad's avatar
    • Péter Szilágyi's avatar
      Merge pull request #18436 from karalabe/chainmu-dedup · ba6349d3
      Péter Szilágyi authored
      core, light: get rid of the dual mutexes, hard to reason with
      ba6349d3
    • Viktor Trón's avatar
      swarm/network: rewrite of peer suggestion engine, fix skipped tests (#18404) · bcb25941
      Viktor Trón authored
      * swarm/network: fix skipped tests related to suggestPeer
      
      * swarm/network: rename depth to radius
      
      * swarm/network: uncomment assertHealth and improve comments
      
      * swarm/network: remove commented code
      
      * swarm/network: kademlia suggestPeer algo correction
      
      * swarm/network: kademlia suggest peer
      
       * simplify suggest Peer code
       * improve peer suggestion algo
       * add comments
       * kademlia testing improvements
         * assertHealth -> checkHealth (test helper)
         * testSuggestPeer -> checkSuggestPeer (test helper)
         * remove testSuggestPeerBug and TestKademliaCase
      
      * swarm/network: kademlia suggestPeer cleanup, improved comments
      
      * swarm/network: minor comment, discovery test default arg
      bcb25941
  2. Jan 16, 2019
  3. Jan 15, 2019
  4. Jan 11, 2019
  5. Jan 10, 2019
  6. Jan 09, 2019
    • Janoš Guljaš's avatar
      swarm: Fix T.Fatal inside a goroutine in tests (#18409) · d70c4faf
      Janoš Guljaš authored
      * swarm/storage: fix T.Fatal inside a goroutine
      
      * swarm/network/simulation: fix T.Fatal inside a goroutine
      
      * swarm/network/stream: fix T.Fatal inside a goroutine
      
      * swarm/network/simulation: consistent failures in TestPeerEventsTimeout
      
      * swarm/network/simulation: rename sendRunSignal to triggerSimulationRun
      d70c4faf
  7. Jan 08, 2019
  8. Jan 07, 2019
  9. Jan 06, 2019
    • Ferenc Szabo's avatar
      A few minor code inspection fixes (#18393) · fe03b76f
      Ferenc Szabo authored
      * swarm/network: fix code inspection problems
      
      - typos
      - redundant import alias
      
      * p2p/simulations: fix code inspection problems
      
      - typos
      - unused function parameters
      - redundant import alias
      - code style issue: snake case
      
      * swarm/network: fix unused method parameters inspections
      fe03b76f
  10. Jan 05, 2019
  11. Jan 04, 2019
Loading