good morning!!!!

Skip to content
Snippets Groups Projects
  1. Mar 24, 2017
  2. Mar 22, 2017
    • Felix Lange's avatar
      all: import "context" instead of "golang.org/x/net/context" · c213fd1f
      Felix Lange authored
      There is no need to depend on the old context package now that the
      minimum Go version is 1.7. The move to "context" eliminates our weird
      vendoring setup. Some vendored code still uses golang.org/x/net/context
      and it is now vendored in the normal way.
      
      This change triggered new vet checks around context.WithTimeout which
      didn't fire with golang.org/x/net/context.
      c213fd1f
  3. Mar 16, 2017
  4. Feb 23, 2017
  5. Jan 25, 2017
  6. Jan 09, 2017
  7. Jan 06, 2017
  8. Dec 20, 2016
  9. Nov 01, 2016
  10. Oct 03, 2016
  11. Sep 01, 2016
  12. Aug 17, 2016
  13. Aug 05, 2016
    • Felix Lange's avatar
      rpc: add context argument to EthSubscribe · e3292539
      Felix Lange authored
      It's inconsistent not to pass it and most callers will
      work with contexts anyway.
      e3292539
    • Felix Lange's avatar
      rpc: ensure client doesn't block for slow subscribers · f5f042ff
      Felix Lange authored
      I initially made the client block if the 100-element buffer was
      exceeded. It turns out that this is inconvenient for simple uses of the
      client which subscribe and perform calls on the same goroutine, e.g.
      
          client, _ := rpc.Dial(...)
          ch := make(chan int) // note: no buffer
          sub, _ := client.EthSubscribe(ch, "something")
          for event := range ch {
              client.Call(...)
          }
      
      This innocent looking code will lock up if the server suddenly decides
      to send 2000 notifications. In this case, the client's main loop won't
      accept the call because it is trying to deliver a notification to ch.
      
      The issue is kind of hard to explain in the docs and few people will
      actually read them. Buffering is the simple option and works with close
      to no overhead for subscribers that always listen.
      f5f042ff
    • Felix Lange's avatar
  14. Aug 03, 2016
    • Felix Lange's avatar
      internal/ethapi: add missing output fields · b0d9f737
      Felix Lange authored
      - returned headers didn't include mixHash
      - returned transactions didn't include signature fields
      - empty transaction input was returned as "", but should be "0x"
      - returned receipts didn't include the bloom filter
      - "root" in receipts was missing 0x prefix
      b0d9f737
  15. Jul 22, 2016
    • Felix Lange's avatar
      rpc: add new client, use it everywhere · 91b76904
      Felix Lange authored
      The new client implementation supports concurrent requests,
      subscriptions and replaces the various ad hoc RPC clients
      throughout go-ethereum.
      91b76904
    • Felix Lange's avatar
      rpc: fix bad method error for batch requests · bb01bea4
      Felix Lange authored
      If a batch request contained an invalid method, the server would reply
      with a non-batch error response. Fix this by tracking an error for each
      batch element.
      bb01bea4
    • Felix Lange's avatar
      rpc: remove grace period when shutting down the server · c145589f
      Felix Lange authored
      The server delayed closing of connections for 3s when stopping. This was
      supposed to allow for slow handlers, but it didn't really work. When
      geth quits, it will just exit immediately after quitting the server.
      
      Removing the timer makes testing easier because all connections will be
      closed after Stop returns.
      c145589f
  16. Jul 14, 2016
  17. Jun 21, 2016
  18. May 30, 2016
  19. May 11, 2016
  20. May 10, 2016
  21. Apr 15, 2016
  22. Apr 14, 2016
  23. Apr 13, 2016
  24. Apr 12, 2016
    • Bas van Kervel's avatar
      rpc: various fixes/enhancements · aa9fff3e
      Bas van Kervel authored
      rpc: be less restrictive on the request id
      rpc: improved documentation
      console: upgrade web3.js to version 0.16.0
      rpc: cache http connections
      rpc: rename wsDomains parameter to wsOrigins
      aa9fff3e
  25. Apr 06, 2016
  26. Apr 04, 2016
  27. Apr 01, 2016
  28. Mar 23, 2016
Loading