1. 10 Sep, 2021 1 commit
  2. 05 Jul, 2021 1 commit
  3. 26 May, 2021 1 commit
  4. 25 May, 2021 1 commit
  5. 31 Mar, 2021 1 commit
  6. 30 Mar, 2021 1 commit
  7. 14 Dec, 2020 1 commit
  8. 10 Aug, 2020 1 commit
  9. 07 Aug, 2020 1 commit
  10. 04 Aug, 2020 1 commit
  11. 03 Aug, 2020 1 commit
    • rene's avatar
      node: refactor package node (#21105) · c0c01612
      rene authored
      This PR significantly changes the APIs for instantiating Ethereum nodes in
      a Go program. The new APIs are not backwards-compatible, but we feel that
      this is made up for by the much simpler way of registering services on
      node.Node. You can find more information and rationale in the design
      document: https://gist.github.com/renaynay/5bec2de19fde66f4d04c535fd24f0775.
      
      There is also a new feature in Node's Go API: it is now possible to
      register arbitrary handlers on the user-facing HTTP server. In geth, this
      facility is used to enable GraphQL.
      
      There is a single minor change relevant for geth users in this PR: The
      GraphQL API is no longer available separately from the JSON-RPC HTTP
      server. If you want GraphQL, you need to enable it using the
      ./geth --http --graphql flag combination.
      
      The --graphql.port and --graphql.addr flags are no longer available.
      c0c01612
  12. 20 Jul, 2020 1 commit
  13. 08 Jun, 2020 1 commit
  14. 26 May, 2020 1 commit
  15. 13 May, 2020 1 commit
  16. 02 Apr, 2020 1 commit
  17. 22 Jul, 2019 1 commit
    • Felix Lange's avatar
      rpc: implement websockets with github.com/gorilla/websocket (#19866) · 04e175b8
      Felix Lange authored
      * rpc: implement websockets with github.com/gorilla/websocket
      
      This change makes package rpc use the github.com/gorilla/websocket
      package for WebSockets instead of golang.org/x/net/websocket. The new
      library is more robust and supports all WebSocket features including
      continuation frames.
      
      There are new tests for two issues with the previously-used library:
      
        - TestWebsocketClientPing checks handling of Ping frames.
        - TestWebsocketLargeCall checks whether the request size limit is
          applied correctly.
      
      * rpc: raise HTTP/WebSocket request size limit to 5MB
      
      * rpc: remove default origin for client connections
      
      The client used to put the local hostname into the Origin header because
      the server wanted an origin to accept the connection, but that's silly:
      Origin is for browsers/websites. The nobody would whitelist a particular
      hostname.
      
      Now that the server doesn't need Origin anymore, don't bother setting
      one for clients. Users who need an origin can use DialWebsocket to
      create a client with arbitrary origin if needed.
      
      * vendor: put golang.org/x/net/websocket back
      
      * rpc: don't set Origin header for empty (default) origin
      
      * rpc: add HTTP status code to handshake error
      
      This makes it easier to debug failing connections.
      
      * ethstats: use github.com/gorilla/websocket
      
      * rpc: fix lint
      04e175b8
  18. 02 Apr, 2019 1 commit
    • Martin Holst Swende's avatar
      all: simplify timestamps to uint64 (#19372) · 0b4fe8d1
      Martin Holst Swende authored
      * all: simplify timestamps to uint64
      
      * tests: update definitions
      
      * clef, faucet, mobile: leftover uint64 fixups
      
      * ethash: fix tests
      
      * graphql: update schema for timestamp
      
      * ethash: remove unused variable
      0b4fe8d1
  19. 29 Jun, 2018 1 commit
  20. 30 May, 2018 1 commit
  21. 18 May, 2018 2 commits
  22. 09 May, 2018 1 commit
  23. 12 Jan, 2018 1 commit
  24. 03 Jan, 2018 1 commit
  25. 28 Dec, 2017 1 commit
  26. 12 Dec, 2017 1 commit
  27. 24 Oct, 2017 1 commit
    • Felföldi Zsolt's avatar
      les, light: LES/2 protocol version (#14970) · ca376ead
      Felföldi Zsolt authored
      This PR implements the new LES protocol version extensions:
      
      * new and more efficient Merkle proofs reply format (when replying to
        a multiple Merkle proofs request, we just send a single set of trie
        nodes containing all necessary nodes)
      * BBT (BloomBitsTrie) works similarly to the existing CHT and contains
        the bloombits search data to speed up log searches
      * GetTxStatusMsg returns the inclusion position or the
        pending/queued/unknown state of a transaction referenced by hash
      * an optional signature of new block data (number/hash/td) can be
        included in AnnounceMsg to provide an option for "very light
        clients" (mobile/embedded devices) to skip expensive Ethash check
        and accept multiple signatures of somewhat trusted servers (still a
        lot better than trusting a single server completely and retrieving
        everything through RPC). The new client mode is not implemented in
        this PR, just the protocol extension.
      ca376ead
  28. 18 Aug, 2017 1 commit
  29. 07 Aug, 2017 1 commit
  30. 31 May, 2017 1 commit
  31. 29 May, 2017 1 commit
  32. 16 May, 2017 1 commit
  33. 25 Apr, 2017 1 commit
  34. 12 Apr, 2017 1 commit
  35. 04 Apr, 2017 1 commit
  36. 31 Mar, 2017 1 commit
  37. 30 Mar, 2017 1 commit
  38. 24 Mar, 2017 1 commit
  39. 20 Mar, 2017 1 commit