1. 04 Feb, 2019 5 commits
    • Péter Szilágyi's avatar
      Merge pull request #18121 from karalabe/goerli · 822dc1bf
      Péter Szilágyi authored
      cmd, core, params: add support for Goerli
      822dc1bf
    • Péter Szilágyi's avatar
      b0ed083e
    • Felix Lange's avatar
      rpc: implement full bi-directional communication (#18471) · 245f3146
      Felix Lange authored
      New APIs added:
      
          client.RegisterName(namespace, service) // makes service available to server
          client.Notify(ctx, method, args...)     // sends a notification
          ClientFromContext(ctx)                  // to get a client in handler method
      
      This is essentially a rewrite of the server-side code. JSON-RPC
      processing code is now the same on both server and client side. Many
      minor issues were fixed in the process and there is a new test suite for
      JSON-RPC spec compliance (and non-compliance in some cases).
      
      List of behavior changes:
      
      - Method handlers are now called with a per-request context instead of a
        per-connection context. The context is canceled right after the method
        returns.
      - Subscription error channels are always closed when the connection
        ends. There is no need to also wait on the Notifier's Closed channel
        to detect whether the subscription has ended.
      - Client now omits "params" instead of sending "params": null when there
        are no arguments to a call. The previous behavior was not compliant
        with the spec. The server still accepts "params": null.
      - Floating point numbers are allowed as "id". The spec doesn't allow
        them, but we handle request "id" as json.RawMessage and guarantee that
        the same number will be sent back.
      - Logging is improved significantly. There is now a message at DEBUG
        level for each RPC call served.
      245f3146
    • Martin Holst Swende's avatar
      ec3432bc
    • HackyMiner's avatar
      bb7c786b
  2. 03 Feb, 2019 1 commit
  3. 01 Feb, 2019 2 commits
  4. 31 Jan, 2019 1 commit
    • Felix Lange's avatar
      p2p/discover: improve table addition code (#18974) · a89170cf
      Felix Lange authored
      This change clears up confusion around the two ways in which nodes
      can be added to the table.
      
      When a neighbors packet is received as a reply to findnode, the nodes
      contained in the reply are added as 'seen' entries if sufficient space
      is available.
      
      When a ping is received and the endpoint verification has taken place,
      the remote node is added as a 'verified' entry or moved to the front of
      the bucket if present. This also updates the node's IP address and port
      if they have changed.
      a89170cf
  5. 30 Jan, 2019 7 commits
    • holisticode's avatar
      swarm: GetPeerSubscriptions RPC (#18972) · 43e1b7b1
      holisticode authored
      43e1b7b1
    • ligi's avatar
      README: Fix typo (#18966) · 8cfe1a68
      ligi authored
      8cfe1a68
    • Janoš Guljaš's avatar
      swarm: fix flaky delivery tests (#18971) · 592bf6a5
      Janoš Guljaš authored
      592bf6a5
    • Anton Evangelatov's avatar
      c5c9cef5
    • lash's avatar
    • Elad's avatar
      cmd/swarm/swarm-smoke: sliding window test (#18967) · b91bf088
      Elad authored
      b91bf088
    • lhendre's avatar
      cmd,eth: 16400 Add an option to stop geth once in sync. WIP for light mode (#17321) · d8844102
      lhendre authored
      * cmd, eth: Added in the flag to step geth once sync based on input
      
      * cmd, eth: 16400 Add an option to stop geth once in sync.
      
      * cmd: 16400 Add an option to stop geth once in sync. WIP
      
      * cmd/geth/main, les/fletcher: added in light mode support
      
      * cmd/geth/main, les/fletcher: Cleaned Comments and code for light mode
      
      * cmd: 16400 Fixed formatting issue and cleaned code
      
      * cmd, eth, les: 16400 Fixed formatting issues
      
      * cmd, eth, les: Performed gofmt to update formatting
      
      * cmd, eth, les: Fixed bugs resulting formatting
      
      * cmd/geth, eth/, les: switched to downloader event
      
      * eth: Fixed styling and gen_config
      
      * eth/: Fix nil error in config file
      
      * cmd/geth: Updated countdown log
      
      * les/fetcher.go: Removed depcreated channel
      
      * eth/downloader.go: Removed deprecated select
      
      * cmd/geth, cmd/utils: Fixed minor issues
      
      * eth: Reverted config files to proper format
      
      * eth: Fixed typo in config file
      
      * cmd/geth, eth/down: Updated code to use header time stamp
      
      * eth/downloader: Changed the time threshold to 10 minutes
      
      * cmd/geth, eth/downloader: Updated downloading event to pass latest header
      
      * cmd/geth: Updated main to use right timer object
      
      * cmd/geth: Removed unused failed event
      
      * cmd/geth: added in correct time field with type assertion
      
      * cmd/geth, cmd/utils: Updated flag to use boolean
      
      * cmd/geth, cmd/utils, eth/downloader: Cleaned up code based on recommendations
      
      * cmd/geth: Removed unneeded import
      
      * cmd/geth, eth/downloader: fixed event field and suggested changes
      
      * cmd/geth, cmd/utils: Updated flag and linting issue
      d8844102
  6. 29 Jan, 2019 8 commits
  7. 28 Jan, 2019 2 commits
  8. 27 Jan, 2019 1 commit
  9. 26 Jan, 2019 2 commits
  10. 25 Jan, 2019 2 commits
  11. 24 Jan, 2019 9 commits