good morning!!!!

Skip to content
Snippets Groups Projects
  1. Nov 01, 2016
  2. Oct 03, 2016
  3. Sep 01, 2016
  4. Aug 17, 2016
  5. 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
  6. 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
  7. 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
  8. Jul 14, 2016
  9. Jun 21, 2016
  10. May 30, 2016
  11. May 11, 2016
  12. May 10, 2016
  13. Apr 15, 2016
  14. Apr 14, 2016
  15. Apr 13, 2016
  16. 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
  17. Apr 06, 2016
  18. Apr 04, 2016
  19. Apr 01, 2016
  20. Mar 23, 2016
  21. Mar 01, 2016
  22. Feb 09, 2016
  23. Feb 05, 2016
  24. Feb 04, 2016
  25. Feb 03, 2016
  26. Feb 02, 2016
Loading