good morning!!!!

Skip to content
Snippets Groups Projects
  1. Jul 22, 2019
    • 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
  2. Apr 02, 2019
  3. Jun 29, 2018
  4. May 30, 2018
  5. May 18, 2018
  6. May 09, 2018
  7. Jan 12, 2018
  8. Jan 03, 2018
  9. Dec 28, 2017
  10. Dec 12, 2017
  11. Oct 24, 2017
    • Zsolt Felföldi's avatar
      les, light: LES/2 protocol version (#14970) · ca376ead
      Zsolt Felföldi 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
  12. Aug 18, 2017
  13. Aug 07, 2017
  14. May 31, 2017
  15. May 29, 2017
  16. May 16, 2017
  17. Apr 25, 2017
  18. Apr 12, 2017
  19. Apr 04, 2017
  20. Mar 31, 2017
  21. Mar 30, 2017
  22. Mar 24, 2017
  23. Mar 20, 2017
  24. Mar 03, 2017
  25. Feb 23, 2017
  26. Jan 06, 2017
  27. Dec 12, 2016
  28. Dec 11, 2016
  29. Nov 30, 2016
  30. Nov 29, 2016
  31. Nov 25, 2016
Loading