good morning!!!!

Skip to content
Snippets Groups Projects
  1. Jul 27, 2021
  2. Jul 15, 2021
  3. Jul 13, 2021
  4. Jun 28, 2021
    • Zsolt Felföldi's avatar
      eth/gasprice: implement feeHistory API (#23033) · 35dbf7a8
      Zsolt Felföldi authored
      
      * eth/gasprice: implement feeHistory API
      
      * eth/gasprice: factored out resolveBlockRange
      
      * eth/gasprice: add sanity check for missing block
      
      * eth/gasprice: fetch actual gas used from receipts
      
      * miner, eth/gasprice: add PendingBlockAndReceipts
      
      * internal/ethapi: use hexutil.Big
      
      * eth/gasprice: return error when requesting beyond head block
      
      * eth/gasprice: fixed tests and return errors correctly
      
      * eth/gasprice: rename receiver name
      
      * eth/gasprice: return directly if blockCount == 0
      
      Co-authored-by: default avatarrjl493456442 <garyrong0905@gmail.com>
      Unverified
      35dbf7a8
  5. Jun 02, 2021
    • Martin Holst Swende's avatar
      core, eth, internal, les: RPC methods and fields for EIP 1559 (#22964) · 5cff9754
      Martin Holst Swende authored
      
      * internal/ethapi: add baseFee to RPCMarshalHeader
      
      * internal/ethapi: add FeeCap, Tip and correct GasPrice to EIP-1559 RPCTransaction results
      
      * core,eth,les,internal: add support for tip estimation in gas price oracle
      
      * internal/ethapi,eth/gasprice: don't suggest tip larger than fee cap
      
      * core/types,internal: use correct eip1559 terminology for json marshalling
      
      * eth, internal/ethapi: fix rebase problems
      
      * internal/ethapi: fix rpc name of basefee
      
      * internal/ethapi: address review concerns
      
      * core, eth, internal, les: simplify gasprice oracle (#25)
      
      * core, eth, internal, les: simplify gasprice oracle
      
      * eth/gasprice: fix typo
      
      * internal/ethapi: minor tweak in tx args
      
      * internal/ethapi: calculate basefee for pending block
      
      * internal/ethapi: fix panic
      
      * internal/ethapi, eth/tracers: simplify txargs ToMessage
      
      * internal/ethapi: remove unused param
      
      * core, eth, internal: fix regressions wrt effective gas price in the evm
      
      * eth/gasprice: drop weird debug println
      
      * internal/jsre/deps: hack in 1559 gas conversions into embedded web3
      
      * internal/jsre/deps: hack basFee to decimal conversion
      
      * internal/ethapi: init feecap and tipcap for legacy txs too
      
      * eth, graphql, internal, les: fix gas price suggestion on all combos
      
      * internal/jsre/deps: handle decimal tipcap and feecap
      
      * eth, internal: minor review fixes
      
      * graphql, internal: export max fee cap RPC endpoint
      
      * internal/ethapi: fix crash in transaction_args
      
      * internal/ethapi: minor refactor to make the code safer
      
      Co-authored-by: default avatarRyan Schneider <ryanleeschneider@gmail.com>
      Co-authored-by: default avatarlightclient@protonmail.com <lightclient@protonmail.com>
      Co-authored-by: default avatargary rong <garyrong0905@gmail.com>
      Co-authored-by: default avatarPéter Szilágyi <peterke@gmail.com>
      Unverified
      5cff9754
  6. Apr 07, 2021
    • Marius van der Wijden's avatar
      core, eth, internal/ethapi: create access list RPC API (#22550) · 9d10856e
      Marius van der Wijden authored
      
      * core/vm: implement AccessListTracer
      
      * eth: implement debug.createAccessList
      
      * core/vm: fixed nil panics in accessListTracer
      
      * eth: better error messages for createAccessList
      
      * eth: some fixes on CreateAccessList
      
      * eth: allow for provided accesslists
      
      * eth: pass accesslist by value
      
      * eth: remove created acocunt from accesslist
      
      * core/vm: simplify access list tracer
      
      * core/vm: unexport accessListTracer
      
      * eth: return best guess if al iteration times out
      
      * eth: return best guess if al iteration times out
      
      * core: docstring, unexport methods
      
      * eth: typo
      
      * internal/ethapi: move createAccessList to eth package
      
      * internal/ethapi: remove reexec from createAccessList
      
      * internal/ethapi: break if al is equal to last run, not if gas is equal
      
      * internal/web3ext: fixed arguments
      
      * core/types: fixed equality check for accesslist
      
      * core/types: no hardcoded vals
      
      * core, internal: simplify access list generation, make it precise
      
      * core/vm: fix typo
      
      Co-authored-by: default avatarMartin Holst Swende <martin@swende.se>
      Co-authored-by: default avatarPéter Szilágyi <peterke@gmail.com>
      Unverified
      9d10856e
    • Gary Rong's avatar
      eth, les: fix tracers (#22473) · a600dab7
      Gary Rong authored
      * eth, les: fix tracer
      
      * eth: isolate live trie database in tracer
      
      * eth: fix nil
      
      * eth: fix
      
      * eth, les: add checkLive param
      
      * eth/tracer: fix
      Unverified
      a600dab7
  7. Feb 23, 2021
  8. Jan 25, 2021
    • Gary Rong's avatar
      eth/tracers: move tracing APIs into eth/tracers (#22161) · adf130de
      Gary Rong authored
      This moves the tracing RPC API implementation to package eth/tracers.
      By doing so, package eth no longer depends on tracing and the duktape JS engine.
      
      The change also enables tracing using the light client. All tracing methods work with the
      light client, but it's a lot slower compared to using a full node.
      Unverified
      adf130de
  9. Nov 13, 2020
  10. Aug 03, 2020
    • 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.
      Unverified
      c0c01612
  11. Jul 13, 2020
  12. Jul 01, 2020
  13. Jun 17, 2020
  14. Mar 23, 2020
    • Martin Holst Swende's avatar
      internal/ethapi: don't set sender-balance to maxuint, fixes #16999 (#20783) · 39f50232
      Martin Holst Swende authored
      Prior to this change, eth_call changed the balance of the sender account in the
      EVM environment to 2^256 wei to cover the gas cost of the call execution.
      We've had this behavior for a long time even though it's super confusing.
      
      This commit sets the default call gasprice to zero instead of updating the balance,
      which is better because it makes eth_call semantics less surprising. Removing
      the built-in balance assignment also makes balance overrides work as expected.
      Unverified
      39f50232
  15. Dec 10, 2019
  16. Sep 26, 2019
  17. Aug 21, 2019
  18. Jul 25, 2019
  19. Jul 23, 2019
  20. May 13, 2019
    • Zsolt Felföldi's avatar
      les, light: implement ODR transaction lookup by hash (#19069) · 40cdcf8c
      Zsolt Felföldi authored
      * les, light: implement ODR transaction lookup by hash
      
      * les: delete useless file
      
      * internal/ethapi: always use backend to find transaction
      
      * les, eth, internal/ethapi: renamed GetCanonicalTransaction to GetTransaction
      
      * light: add canonical header verification to GetTransaction
      40cdcf8c
  21. May 02, 2019
  22. Apr 08, 2019
  23. Apr 04, 2019
  24. Dec 06, 2018
  25. Aug 28, 2018
  26. Jul 12, 2018
  27. May 18, 2018
  28. May 07, 2018
  29. Feb 22, 2018
  30. 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
  31. Sep 06, 2017
  32. Aug 18, 2017
  33. Jun 27, 2017
    • Felix Lange's avatar
      core/state: access trie through Database interface, track errors (#14589) · 9e5f03b6
      Felix Lange authored
      With this commit, core/state's access to the underlying key/value database is
      mediated through an interface. Database errors are tracked in StateDB and
      returned by CommitTo or the new Error method.
      
      Motivation for this change: We can remove the light client's duplicated copy of
      core/state. The light client now supports node iteration, so tracing and storage
      enumeration can work with the light client (not implemented in this commit).
      9e5f03b6
  34. Apr 12, 2017
  35. Apr 06, 2017
  36. Mar 22, 2017
Loading