Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Upgrade] Go-Ethereum release v1.10.2 #1391

This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jan 14, 2021

  1. Configuration menu
    Copy the full SHA
    1296908 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #22169 from karalabe/faucet-regen

    cmd/faucet: update the embedded website asset
    karalabe committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    d13c59f View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2021

  1. Configuration menu
    Copy the full SHA
    c4deebb View commit details
    Browse the repository at this point in the history
  2. Merge pull request #22177 from karalabe/snapshot-storage-logs

    core/state/snapshot: add generation logs to storage too
    karalabe committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    3944976 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8d62ee6 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2021

  1. Configuration menu
    Copy the full SHA
    c76573a View commit details
    Browse the repository at this point in the history
  2. les: remove useless protocol defines (#22115)

    This PR has two changes in the les protocol:
    
    - the auxRoot is not supported. See ethereum/devp2p#171 for more information
    - the empty response will be returned in GetHelperTrieProofsMsg request if the merkle
       proving is failed. note, for backward compatibility, the empty merkle proof as well as
       the request auxiliary data will still be returned in  les2/3 protocol no matter the proving
       is successful or not. the proving failure can happen e.g. request the proving for a
       non-included entry in helper trie (unstable header).
    rjl493456442 committed Jan 16, 2021
    Configuration menu
    Copy the full SHA
    034ecc3 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2021

  1. tests/fuzzers/abi: better test generation (#22158)

    * tests/fuzzers/abi: better test generation
    
    * tests/fuzzers/abi: fixed packing issue
    
    * oss-fuzz: enable abi fuzzer
    MariusVanDerWijden committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    3981822 View commit details
    Browse the repository at this point in the history
  2. cmd/geth: dump config for metrics (#22083)

    * cmd/geth: dump config
    
    * cmd/geth: dump config
    
    * cmd/geth: properly read config again
    
    * cmd/geth: override metrics if flags are set
    
    * cmd/geth: write metrics regardless if enabled
    
    * cmd/geth: renamed to metricsfromcliargs
    
    * metrics: add default configuration
    MariusVanDerWijden committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    10555d4 View commit details
    Browse the repository at this point in the history
  3. core/state/snapshot: write snapshot generator in batch (#22163)

    * core/state/snapshot: write snapshot generator in batch
    
    * core: refactor the tests
    
    * core: update tests
    
    * core: update tests
    rjl493456442 committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    5e9f5ca View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2021

  1. cmd/geth: graceful shutdown if disk is full (#22103)

    Adding warnings of free disk space left and graceful shutdown when there is not enough space left.
    This also adds a flag datadir.minfreedisk which can be used to set the trigger for low disk space, and setting it to zero disables the check. 
    
    Co-authored-by: Martin Holst Swende <martin@swende.se>
    Co-authored-by: Felix Lange <fjl@twurst.com>
    3 people committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    24c1e30 View commit details
    Browse the repository at this point in the history
  2. eth, les: add new config field SyncFromCheckpoint (#22123)

    This PR introduces a new config field SyncFromCheckpoint for light client.
    
    In some special scenarios, it's required to start synchronization from some
    arbitrary checkpoint or even from the scratch. So this PR offers this
    flexibility to users so that the synchronization start point can be configured.
    
    There are two relevant configs: SyncFromCheckpoint and Checkpoint.
    
    - If the SyncFromCheckpoint is true, the light client will try to sync from the
      specified checkpoint.
    
    - If the Checkpoint is not configured, then the light client will sync from the
      scratch(from the latest header if the database is not empty)
    
    Additional notes: these two configs are not visible in the CLI flags but only
    accessable in the config file.
    
    Example Usage:
    
    [Eth]
    SyncFromCheckpoint = true
    
    [Eth.Checkpoint]
    SectionIndex = 100
    SectionHead = "0xabc"
    CHTRoot = "0xabc"
    BloomRoot = "0xabc"
    
    PS. Historical checkpoint can be retrieved from the synced full node or light
    client via les_getCheckpoint API.
    rjl493456442 committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    45cb1a5 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2021

  1. Configuration menu
    Copy the full SHA
    d1301eb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7da8f75 View commit details
    Browse the repository at this point in the history
  3. downloader: extract findAncestor search functions (#21744)

    This is a simple refactoring, extracting common ancestor
    negotiation logic to named function
    meowsbits committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    81bf9f9 View commit details
    Browse the repository at this point in the history
  4. core: implement background trie prefetcher

    Squashed from the following commits:
    
    core/state: lazily init snapshot storage map
    core/state: fix flawed meter on storage reads
    core/state: make statedb/stateobjects reuse a hasher
    core/blockchain, core/state: implement new trie prefetcher
    core: make trie prefetcher deliver tries to statedb
    core/state: refactor trie_prefetcher, export storage tries
    blockchain: re-enable the next-block-prefetcher
    state: remove panics in trie prefetcher
    core/state/trie_prefetcher: address some review concerns
    
    sq
    holiman authored and karalabe committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    1e1865b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    42f9f1f View commit details
    Browse the repository at this point in the history
  6. Merge pull request #21047 from holiman/improve_updates_2

    core: improve trie updates (part 2)
    karalabe committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    ddadc3d View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2021

  1. eth/filters: fix potential deadlock in filter timeout loop (#22178)

    This fixes #22131 and adds a test reproducing the issue.
    s1na committed Jan 21, 2021
    Configuration menu
    Copy the full SHA
    c4307a9 View commit details
    Browse the repository at this point in the history
  2. event: add ResubscribeErr (#22191)

    This adds a way to get the error of the failing subscription
    for logging/debugging purposes.
    
    Co-authored-by: Felix Lange <fjl@twurst.com>
    lukasz-zimnoch and fjl committed Jan 21, 2021
    Configuration menu
    Copy the full SHA
    231040c View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2021

  1. trie: fix range prover (#22210)

    Fixes a special case when the trie only has a single trie node and the range proof only contains a single element.
    rjl493456442 committed Jan 22, 2021
    Configuration menu
    Copy the full SHA
    9e1bd0f View commit details
    Browse the repository at this point in the history
  2. common/mclock: remove dependency on github.com/aristanetworks/goarist…

    …a (#22211)
    
    It takes three lines of code to get to runtime.nanotime, no need to
    pull a dependency for that.
    fjl committed Jan 22, 2021
    Configuration menu
    Copy the full SHA
    f26c19c View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2021

  1. cmd, geth: CLI help fixes (#22220)

    * cmd, geth: Reflect command being optional - closes 22218
    
    * cmd, geth: Set current year to 2021
    ligi committed Jan 24, 2021
    Configuration menu
    Copy the full SHA
    db35d77 View commit details
    Browse the repository at this point in the history
  2. cmd, geth: CLI help fixes (#22220)

    * cmd, geth: Reflect command being optional - closes 22218
    
    * cmd, geth: Set current year to 2021
    ligi committed Jan 24, 2021
    Configuration menu
    Copy the full SHA
    3708454 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2021

  1. eth/protocols/snap: snap sync testing (#22179)

    * eth/protocols/snap: make timeout configurable
    
    * eth/protocols/snap: snap sync testing
    
    * eth/protocols/snap: test to trigger panic
    
    * eth/protocols/snap: fix race condition on timeouts
    
    * eth/protocols/snap: return error on cancelled sync
    
    * squashme: updates + test causing panic + properly serve accounts in order
    
    * eth/protocols/snap: revert failing storage response
    
    * eth/protocols/snap: revert on bad responses (storage, code)
    
    * eth/protocols/snap: fix account handling stall
    
    * eth/protocols/snap: fix remaining revertal-issues
    
    * eth/protocols/snap: timeouthandler for bytecode requests
    
    * eth/protocols/snap: debugging + fix log message
    
    * eth/protocols/snap: fix misspelliings in docs
    
    * eth/protocols/snap: fix race in bytecode handling
    
    * eth/protocols/snap: undo deduplication of storage roots
    
    * synctests: refactor + minify panic testcase
    
    * eth/protocols/snap: minor polishes
    
    * eth: minor polishes to make logs more useful
    
    * eth/protocols/snap: remove excessive logs from the test runs
    
    * eth/protocols/snap: stress tests with concurrency
    
    * eth/protocols/snap: further fixes to test cancel channel handling
    
    * eth/protocols/snap: extend test timeouts on CI
    
    Co-authored-by: Péter Szilágyi <peterke@gmail.com>
    holiman and karalabe committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    797b081 View commit details
    Browse the repository at this point in the history
  2. go.mod: update dependencies (#22216)

    This updates go module dependencies as discussed in #22050.
    MariusVanDerWijden committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    1770fe7 View commit details
    Browse the repository at this point in the history
  3. graphql: change receipt status to decimal instead of hex (#22187)

    This PR fixes the receipt status field to be decimal instead of a hex string,
    as called for by the spec.
    
    Co-authored-by: Martin Holst Swende <martin@swende.se>
    renaynay and holiman committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    c0862f4 View commit details
    Browse the repository at this point in the history
  4. go.mod: upgrade github.com/huin/goupnp (#22227)

    This updates the goupnp dependency, fixing huin/goupnp#33
    ucwong committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    59a7913 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    04a7226 View commit details
    Browse the repository at this point in the history
  6. core: reset to genesis when middle block is missing (#22135)

    When a sethead/rewind finds that the targeted block is missing, it resets to genesis instead of crashing. Closes #22129
    rjl493456442 committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    49cdcf5 View commit details
    Browse the repository at this point in the history
  7. eth/tracers: move tracing APIs into eth/tracers (#22161)

    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.
    rjl493456442 committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    adf130d View commit details
    Browse the repository at this point in the history
  8. eth, p2p: reserve half peer slots for snap peers during snap sync (#2…

    …2171)
    
    * eth, p2p: reserve half peer slots for snap peers during snap sync
    
    * eth: less logging
    
    * eth: rework the eth/snap peer reservation logic
    
    * eth: rework the eth/snap peer reservation logic (again)
    holiman committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    d2779ed View commit details
    Browse the repository at this point in the history
  9. tests/fuzzers/abi: fixed one-off panic with int.Min64 value (#22233)

    * tests/fuzzers/abi: fixed one-off panic with int.Min64 value
    
    * tests/fuzzers/abi: fixed one-off panic with int.Min64 value
    MariusVanDerWijden committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    7202b41 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2021

  1. internal/ethapi: print tx details when submitting (#22170)

    This adds more info about submitted transactions in log messages.
    
    Co-authored-by: Felix Lange <fjl@twurst.com>
    karalabe and fjl committed Jan 26, 2021
    Configuration menu
    Copy the full SHA
    573f373 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    14d4954 View commit details
    Browse the repository at this point in the history
  3. core: speed up header import (#21967)

    This PR implements the following modifications
    
    - Don't shortcut check if block is present, thus avoid disk lookup
    - Don't check hash ancestry in early-check (it's still done in parallel checker)
    - Don't check time.Now for every single header
    
    Charts and background info can be found here: https://github.com/holiman/headerimport/blob/main/README.md
    With these changes, writing 1M headers goes down to from 80s to 62s.
    holiman committed Jan 26, 2021
    Configuration menu
    Copy the full SHA
    6816182 View commit details
    Browse the repository at this point in the history
  4. accounts/scwallet: use go-ethereum crypto instead of go-ecdh (#22212)

    * accounts/scwallet: use go-ethereum crypto instead of go-ecdh
    
    github.com/wsddn/go-ecdh is a wrapper package for ECDH functionality
    with any elliptic curve.
    
    Since 'generic' ECDH is not required in accounts/scwallet (the curve is
    always secp256k1), we can just use the standard library functionality
    and our own crypto libraries to perform ECDH and save a dependency.
    
    * Update accounts/scwallet/securechannel.go
    
    Co-authored-by: Guillaume Ballet <gballet@gmail.com>
    
    * Use the correct key
    
    Co-authored-by: Guillaume Ballet <gballet@gmail.com>
    fjl and gballet committed Jan 26, 2021
    Configuration menu
    Copy the full SHA
    ad038b6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9c57293 View commit details
    Browse the repository at this point in the history
  6. les: switch to new discv5 (#21940)

    This PR enables running the new discv5 protocol in both LES client
    and server mode. In client mode it mixes discv5 and dnsdisc iterators
    (if both are enabled) and filters incoming ENRs for "les" tag and fork ID.
    The old p2p/discv5 package and all references to it are removed.
    
    Co-authored-by: Felix Lange <fjl@twurst.com>
    zsfelfoldi and fjl committed Jan 26, 2021
    Configuration menu
    Copy the full SHA
    a72fa88 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2021

  1. rpc: deprecate Client.ShhSubscribe (#22239)

    It never worked, whisper uses polling.
    
    Co-authored-by: Felix Lange <fjl@twurst.com>
    gballet and fjl committed Jan 27, 2021
    Configuration menu
    Copy the full SHA
    2e5d141 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2021

  1. cmd,core,eth,params,tests: define yolov3 + enable EIP-2565 (#22213)

    Removes the yolov2 definition, adds yolov3, including EIP-2565. This PR also disables some of the erroneously generated blockchain and statetests, and adds the new genesis hash + alloc for yolov3. 
    This PR disables the CLI switches for yolo, since it's not complete until we merge support for 2930.
    s1na committed Jan 28, 2021
    Configuration menu
    Copy the full SHA
    eb21c65 View commit details
    Browse the repository at this point in the history
  2. les/utils: UDP rate limiter (#21930)

    * les/utils: Limiter
    
    * les/utils: dropped prior weight vs variable cost logic, using fixed weights
    
    * les/utils: always create node selector in addressGroup
    
    * les/utils: renamed request weight to request cost
    
    * les/utils: simplified and improved the DoS penalty mechanism
    
    * les/utils: minor fixes
    
    * les/utils: made selection weight calculation nicer
    
    * les/utils: fixed linter warning
    
    * les/utils: more precise and reliable probabilistic test
    
    * les/utils: fixed linter warning
    zsfelfoldi committed Jan 28, 2021
    Configuration menu
    Copy the full SHA
    7a800f9 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2021

  1. Configuration menu
    Copy the full SHA
    f25b437 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2021

  1. Configuration menu
    Copy the full SHA
    3c728fb View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2021

  1. eth: check snap satelliteness, delegate drop to eth (#22235)

    * eth: check snap satelliteness, delegate drop to eth
    
    * eth: better handle eth/snap satellite relation, merge reg/unreg paths
    karalabe committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    e3430ac View commit details
    Browse the repository at this point in the history
  2. cmd/geth, node: allow configuring JSON-RPC on custom path prefix (#22…

    …184)
    
    This change allows users to set a custom path prefix on which to mount the http-rpc
    or ws-rpc handlers via the new flags --http.rpcprefix and --ws.rpcprefix.
    
    Fixes #21826
    
    Co-authored-by: Felix Lange <fjl@twurst.com>
    renaynay and fjl committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    4eae0c6 View commit details
    Browse the repository at this point in the history
  3. all: remove unneeded parentheses (#21921)

    * remove uneeded convertion type
    
    * remove redundant type in composite literal
    
    * omit explicit type where implicit
    
    * remove unused redundant parenthesis
    
    * remove redundant import alias duktape
    alexprut committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    ef84da8 View commit details
    Browse the repository at this point in the history
  4. trie : use trie.NewStackTrie instead of new(trie.Trie) (#22246)

    The PR makes use of the stacktrie, which is is more lenient on resource consumption, than the regular trie, in cases where we only need it for DeriveSha
    ucwong committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    83e4c49 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2021

  1. core: reset txpool state on sethead (#22247)

    fixes an issue where local transactions that were included in the chain before a SetHead were rejected if resubmitted, since the txpool had not reset the state to the current (older) state.
    MariusVanDerWijden committed Feb 3, 2021
    Configuration menu
    Copy the full SHA
    3512b41 View commit details
    Browse the repository at this point in the history
  2. fuzzers: added consensys/gurvy library to bn256 differential fuzzer (…

    …#21812)
    
    This pr adds consensys' gurvy bn256 variant into the code for differential fuzzing.
    MariusVanDerWijden committed Feb 3, 2021
    Configuration menu
    Copy the full SHA
    54735a6 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2021

  1. Configuration menu
    Copy the full SHA
    2812132 View commit details
    Browse the repository at this point in the history
  2. eth: move eth.Config to a common package (#22205)

    This moves the eth config definition into a separate package, eth/ethconfig. 
    Packages eth and les can now import this common package instead of
    importing eth from les, reducing dependencies.
    
    Co-authored-by: Felix Lange <fjl@twurst.com>
    rjl493456442 and fjl committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    098a2b6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fba5a63 View commit details
    Browse the repository at this point in the history
  4. eth: don't wait for snap registration if we're not running snap (#22272)

    Prevents a situation where we (not running snap) connects with a peer running snap, and get stalled waiting for snap registration to succeed (which will never happen), which cause a waitgroup wait to halt shutdown
    holiman committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    7ed860d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e74bd58 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2021

  1. Configuration menu
    Copy the full SHA
    994cdc6 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2021

  1. metrics: fix cast omission in cpu_syscall.go (#22262)

    fixes an regression which caused build failure on certain platforms
    isdyaufh8o7cq committed Feb 8, 2021
    Configuration menu
    Copy the full SHA
    477fd42 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #22280 from karalabe/snapshot-default

    cmd/utils: enable snapshots by default
    karalabe committed Feb 8, 2021
    Configuration menu
    Copy the full SHA
    bbe694f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d86906f View commit details
    Browse the repository at this point in the history
  4. all: bloom-filter based pruning mechanism (#21724)

    * cmd, core, tests: initial state pruner
    
    core: fix db inspector
    
    cmd/geth: add verify-state
    
    cmd/geth: add verification tool
    
    core/rawdb: implement flatdb
    
    cmd, core: fix rebase
    
    core/state: use new contract code layout
    
    core/state/pruner: avoid deleting genesis state
    
    cmd/geth: add helper function
    
    core, cmd: fix extract genesis
    
    core: minor fixes
    
    contracts: remove useless
    
    core/state/snapshot: plugin stacktrie
    
    core: polish
    
    core/state/snapshot: iterate storage concurrently
    
    core/state/snapshot: fix iteration
    
    core: add comments
    
    core/state/snapshot: polish code
    
    core/state: polish
    
    core/state/snapshot: rebase
    
    core/rawdb: add comments
    
    core/rawdb: fix tests
    
    core/rawdb: improve tests
    
    core/state/snapshot: fix concurrent iteration
    
    core/state: run pruning during the recovery
    
    core, trie: implement martin's idea
    
    core, eth: delete flatdb and polish pruner
    
    trie: fix import
    
    core/state/pruner: add log
    
    core/state/pruner: fix issues
    
    core/state/pruner: don't read back
    
    core/state/pruner: fix contract code write
    
    core/state/pruner: check root node presence
    
    cmd, core: polish log
    
    core/state: use HEAD-127 as the target
    
    core/state/snapshot: improve tests
    
    cmd/geth: fix verification tool
    
    cmd/geth: use HEAD as the verification default target
    
    all: replace the bloomfilter with martin's fork
    
    cmd, core: polish code
    
    core, cmd: forcibly delete state root
    
    core/state/pruner: add hash64
    
    core/state/pruner: fix blacklist
    
    core/state: remove blacklist
    
    cmd, core: delete trie clean cache before pruning
    
    cmd, core: fix lint
    
    cmd, core: fix rebase
    
    core/state: fix the special case for clique networks
    
    core/state/snapshot: remove useless code
    
    core/state/pruner: capping the snapshot after pruning
    
    cmd, core, eth: fixes
    
    core/rawdb: update db inspector
    
    cmd/geth: polish code
    
    core/state/pruner: fsync bloom filter
    
    cmd, core: print warning log
    
    core/state/pruner: adjust the parameters for bloom filter
    
    cmd, core: create the bloom filter by size
    
    core: polish
    
    core/state/pruner: sanitize invalid bloomfilter size
    
    cmd: address comments
    
    cmd/geth: address comments
    
    cmd/geth: address comment
    
    core/state/pruner: address comments
    
    core/state/pruner: rename homedir to datadir
    
    cmd, core: address comments
    
    core/state/pruner: address comment
    
    core/state: address comments
    
    core, cmd, tests: address comments
    
    core: address comments
    
    core/state/pruner: release the iterator after each commit
    
    core/state/pruner: improve pruner
    
    cmd, core: adjust bloom paramters
    
    core/state/pruner: fix lint
    
    core/state/pruner: fix tests
    
    core: fix rebase
    
    core/state/pruner: remove atomic rename
    
    core/state/pruner: address comments
    
    all: run go mod tidy
    
    core/state/pruner: avoid false-positive for the middle state roots
    
    core/state/pruner: add checks for middle roots
    
    cmd/geth: replace crit with error
    
    * core/state/pruner: fix lint
    
    * core: drop legacy bloom filter
    
    * core/state/snapshot: improve pruner
    
    * core/state/snapshot: polish concurrent logs to report ETA vs. hashes
    
    * core/state/pruner: add progress report for pruning and compaction too
    
    * core: fix snapshot test API
    
    * core/state: fix some pruning logs
    
    * core/state/pruner: support recovering from bloom flush fail
    
    Co-authored-by: Péter Szilágyi <peterke@gmail.com>
    rjl493456442 and karalabe committed Feb 8, 2021
    Configuration menu
    Copy the full SHA
    f566dd3 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #22288 from karalabe/1.10.unstable

    params: just to make snapshots a bit more official
    karalabe committed Feb 8, 2021
    Configuration menu
    Copy the full SHA
    123e934 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2728672 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #22291 from karalabe/fix-pruner-compaction

    core/state/pruner: fix compaction after pruning
    karalabe committed Feb 8, 2021
    Configuration menu
    Copy the full SHA
    944d901 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    74dbc20 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2021

  1. Merge pull request #22294 from holiman/pruner_compact_fix

    core/state/pruner: fix compaction range error
    karalabe committed Feb 9, 2021
    Configuration menu
    Copy the full SHA
    2fdba3a View commit details
    Browse the repository at this point in the history
  2. internal/debug: add switch to format logs with json (#22207)

    adds a flag --log.json which if enabled makes the client format logs with JSON.
    s1na committed Feb 9, 2021
    Configuration menu
    Copy the full SHA
    2778667 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2021

  1. accounts/abi/bind: fixed unpacking error (#22230)

    There was a dormant error with structured inputs that failed unpacking.
    This commit fixes the error by switching casting to the better abi.ConvertType function.
    It also adds a test for calling a view function that returns a struct
    MariusVanDerWijden committed Feb 10, 2021
    Configuration menu
    Copy the full SHA
    cb3c7e4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    409b16e View commit details
    Browse the repository at this point in the history
  3. Merge pull request #22293 from karalabe/txunindex-1year

    cmd/utils, eth/ethconfig: unindex txs older than ~1 year
    karalabe committed Feb 10, 2021
    Configuration menu
    Copy the full SHA
    1bbc8a1 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2021

  1. Configuration menu
    Copy the full SHA
    111abdc View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2021

  1. Configuration menu
    Copy the full SHA
    ef227c5 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #22319 from karalabe/fix-defer-leak

    core: fix temp memory blowup caused by defers holding on to state
    karalabe committed Feb 12, 2021
    Configuration menu
    Copy the full SHA
    2fc465a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7d1b711 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2021

  1. cmd/utils: add workaround for FreeBSD statfs quirk (#22310)

    Make geth build on FreeBSD, fixes #22309.
    gballet committed Feb 15, 2021
    Configuration menu
    Copy the full SHA
    08c878a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7778780 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2021

  1. Configuration menu
    Copy the full SHA
    e991bda View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f4fcd4f View commit details
    Browse the repository at this point in the history
  3. Merge pull request #22332 from karalabe/fix-fastsync-restart-bloom-crash

    trie: fix bloom crash on fast sync restart
    karalabe committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    915c614 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9ec3329 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #22331 from karalabe/enforce-min-snap-difflayers

    core/state/snapshot: ensure Cap retains a min number of layers
    karalabe committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    6291fc9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bfdff4c View commit details
    Browse the repository at this point in the history
  7. cmd/devp2p/internal/ethtest: use shared message types (#22315)

    This updates the eth protocol test suite to use the message type
    definitions of the 'production' protocol implementation in eth/protocols/eth.
    renaynay committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    f9445e9 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #22334 from karalabe/fix-snap-cancel

    eth: fix snap sync cancellation
    karalabe committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    1489c3f View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2021

  1. eth/handler, broadcast: optimize tx broadcast mechanism (#22176)

    This PR optimizes the broadcast loop. Instead of iterating twice through a given set of transactions to weed out which peers have and which do not have a tx, to send/announce transactions, we do it only once.
    holiman committed Feb 17, 2021
    Configuration menu
    Copy the full SHA
    e01096f View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2021

  1. core/state: copy the snap when copying the state (#22340)

    * core/state: copy the snap when copying the state
    
    * core/state: deep-copy snap stuff during state Copy
    holiman committed Feb 18, 2021
    Configuration menu
    Copy the full SHA
    52e5c38 View commit details
    Browse the repository at this point in the history
  2. rlp: handle case of normal EOF in Stream.readFull (#22336)

    io.Reader may return n > 0 and io.EOF at the end of the input stream.
    readFull did not handle this correctly, looking only at the error. This fixes
    it to check for n == len(buf) as well.
    oneeman committed Feb 18, 2021
    Configuration menu
    Copy the full SHA
    9ec32a9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b1835b3 View commit details
    Browse the repository at this point in the history
  4. eth: implement eth66 (#22241)

    * eth/protocols/eth: split up the eth protocol handlers
    
    * eth/protocols/eth: define eth-66 protocol messages
    
    * eth/protocols/eth: poc implement getblockheaders on eth/66
    
    * eth/protocols/eth: implement remaining eth-66 handlers
    
    * eth/protocols: define handler map for eth 66
    
    * eth/downloader: use protocol constants from eth package
    
    * eth/protocols/eth: add ETH66 capability
    
    * eth/downloader: tests for eth66
    
    * eth/downloader: fix error in tests
    
    * eth/protocols/eth: use eth66 for outgoing requests
    
    * eth/protocols/eth: remove unused error type
    
    * eth/protocols/eth: define protocol length
    
    * eth/protocols/eth: fix pooled tx over eth66
    
    * protocols/eth/handlers: revert behavioural change which caused tests to fail
    
    * eth/downloader: fix failing test
    
    * eth/protocols/eth: add testcases + fix flaw with header requests
    
    * eth/protocols: change comments
    
    * eth/protocols/eth: review fixes + fixed flaw in RequestOneHeader
    
    * eth/protocols: documentation
    
    * eth/protocols/eth: review concerns about types
    holiman committed Feb 18, 2021
    Configuration menu
    Copy the full SHA
    6ec1561 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2021

  1. p2p/dnsdisc: fix hot-spin when all trees are empty (#22313)

    In the random sync algorithm used by the DNS node iterator, we first pick a random
    tree and then perform one sync action on that tree. This happens in a loop until any
    node is found. If no trees contain any nodes, the iterator will enter a hot loop spinning
    at 100% CPU.
    
    The fix is complicated. The iterator now checks if a meaningful sync action can
    be performed on any tree. If there is nothing to do, it waits for the next root record
    recheck time to arrive and then tries again.
    
    Fixes #22306
    fjl committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    d36276d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c027507 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ca76db6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c5023e1 View commit details
    Browse the repository at this point in the history
  5. les: fix balance expiration (#22343)

    * les/lespay/server: fix balance expiration and add test
    
    * les: move client balances to a new db
    
    * les: rename lespayDb to lesDb
    zsfelfoldi committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    8647233 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2021

  1. tests/fuzzers/les: add fuzzer for les server handler (#22282)

    * les: refactored server handler
    
    * tests/fuzzers/les: add fuzzer for les server handler
    
    * tests, les: update les fuzzer
    
    tests: update les fuzzer
    
    tests/fuzzer/les: release resources
    
    tests/fuzzer/les: pre-initialize all resources
    
    * les: refactored server handler and fuzzer
    
    Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
    zsfelfoldi and rjl493456442 committed Feb 20, 2021
    Configuration menu
    Copy the full SHA
    8f03e3b View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2021

  1. Configuration menu
    Copy the full SHA
    3ecfdcc View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2021

  1. cmd/geth: add db commands stats, compact, put, get, delete (#22014)

    This PR introduces:
    
    - db.put to put a value into the database
    - db.get to read a value from the database
    - db.delete to delete a value from the database
    - db.stats to check compaction info from the database
    - db.compact to trigger a db compaction
    
    It also moves inspectdb to db.inspect.
    holiman committed Feb 23, 2021
    Configuration menu
    Copy the full SHA
    c4a2b68 View commit details
    Browse the repository at this point in the history
  2. internal/ethapi: reject non-replay-protected txs over RPC (#22339)

    This PR prevents users from submitting transactions without EIP-155 enabled. This behaviour can be overridden by specifying the flag --rpc.allow-unprotected-txs=true.
    MariusVanDerWijden committed Feb 23, 2021
    Configuration menu
    Copy the full SHA
    142fbcf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2d1a0e9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2743fb0 View commit details
    Browse the repository at this point in the history
  5. travis, appveyor, build, Dockerfile: bump Go to 1.16 (#22351)

    * travis, appveyor, build: bump Go to 1.16
    
    * accounts/abi/bind: fix up Go mod files for Go 1.16
    karalabe committed Feb 23, 2021
    Configuration menu
    Copy the full SHA
    4ee8d2d View commit details
    Browse the repository at this point in the history
  6. Merge pull request #22350 from karalabe/disable-preimage-collection

    cmd/utils: disable caching preimages by default
    karalabe committed Feb 23, 2021
    Configuration menu
    Copy the full SHA
    cdb6a84 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c9aa267 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #22368 from karalabe/ndk-bump

    travis: bump Android NDK version
    karalabe committed Feb 23, 2021
    Configuration menu
    Copy the full SHA
    b502c86 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    70afe15 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #22369 from karalabe/android-bionic-builder

    travis: bump builders to Bionic
    karalabe committed Feb 23, 2021
    Configuration menu
    Copy the full SHA
    bf5b379 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2021

  1. Configuration menu
    Copy the full SHA
    f54dc4a View commit details
    Browse the repository at this point in the history
  2. cmd/utils: remove deprecated command line flags (#22263)

    This removes support for all deprecated flags except --rpc*.
    renaynay committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    8e547ee View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2021

  1. Configuration menu
    Copy the full SHA
    b2b5c82 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #22381 from karalabe/lower-error-log

    eth/protocols/snap: lower abortion and resumption logs to debug
    karalabe committed Feb 25, 2021
    Configuration menu
    Copy the full SHA
    96d9306 View commit details
    Browse the repository at this point in the history
  3. cmd, eth, les: enable serving light clients when non-synced (#22250)

    This PR adds a more CLI flag, so that the les-server can serve light clients even the local node is not synced yet.
    
    This functionality is needed in some testing environments(e.g. hive). After launching the les server, no more blocks will be imported so the node is always marked as "non-synced".
    rjl493456442 committed Feb 25, 2021
    Configuration menu
    Copy the full SHA
    378e961 View commit details
    Browse the repository at this point in the history
  4. les, light: improve txstatus retrieval (#22349)

    Transaction unindexing will be enabled by default as of 1.10, which causes tx status retrieval will be broken without this PR. 
    
    This PR introduces a retry mechanism in TxStatus retrieval.
    rjl493456442 committed Feb 25, 2021
    Configuration menu
    Copy the full SHA
    7a3c890 View commit details
    Browse the repository at this point in the history
  5. all: add support for EIP-2718, EIP-2930 transactions (#21502)

    This adds support for EIP-2718 typed transactions as well as EIP-2930
    access list transactions (tx type 1). These EIPs are scheduled for the
    Berlin fork.
    
    There very few changes to existing APIs in core/types, and several new APIs
    to deal with access list transactions. In particular, there are two new
    constructor functions for transactions: types.NewTx and types.SignNewTx.
    Since the canonical encoding of typed transactions is not RLP-compatible,
    Transaction now has new methods for encoding and decoding: MarshalBinary
    and UnmarshalBinary.
    
    The existing EIP-155 signer does not support the new transaction types.
    All code dealing with transaction signatures should be updated to use the
    newer EIP-2930 signer. To make this easier for future updates, we have
    added new constructor functions for types.Signer: types.LatestSigner and
    types.LatestSignerForChainID. 
    
    This change also adds support for the YoloV3 testnet.
    
    Co-authored-by: Martin Holst Swende <martin@swende.se>
    Co-authored-by: Felix Lange <fjl@twurst.com>
    Co-authored-by: Ryan Schneider <ryanleeschneider@gmail.com>
    4 people committed Feb 25, 2021
    Configuration menu
    Copy the full SHA
    bbfb1e4 View commit details
    Browse the repository at this point in the history
  6. cmd/devp2p: add eth66 test suite (#22363)

    Co-authored-by: Martin Holst Swende <martin@swende.se>
    renaynay and holiman committed Feb 25, 2021
    Configuration menu
    Copy the full SHA
    de9465f View commit details
    Browse the repository at this point in the history
  7. les: move server pool to les/vflux/client (#22377)

    * les: move serverPool to les/vflux/client
    
    * les: add metrics
    
    * les: moved ValueTracker inside ServerPool
    
    * les: protect against node registration before server pool is started
    
    * les/vflux/client: fixed tests
    
    * les: make peer registration safe
    zsfelfoldi committed Feb 25, 2021
    Configuration menu
    Copy the full SHA
    dc109cc View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2021

  1. Configuration menu
    Copy the full SHA
    0928562 View commit details
    Browse the repository at this point in the history
  2. rpc: add separate size limit for websocket (#22385)

    This makes the WebSocket message size limit independent of the
    limit used for HTTP requests. The new limit for WebSocket messages 
    is 15MB.
    fjl committed Feb 26, 2021
    Configuration menu
    Copy the full SHA
    27b3137 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #22380 from karalabe/berlin

    all: define and enable the Berlin hard fork on all networks
    karalabe committed Feb 26, 2021
    Configuration menu
    Copy the full SHA
    744707a View commit details
    Browse the repository at this point in the history
  4. accounts/keystore: use github.com/google/uuid (#22217)

    This replaces the github.com/pborman/uuid dependency with
    github.com/google/uuid because the former is only a wrapper for
    the latter (since v1.0.0).
    
    Co-authored-by: Felix Lange <fjl@twurst.com>
    MariusVanDerWijden and fjl committed Feb 26, 2021
    Configuration menu
    Copy the full SHA
    3822b09 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    498458b View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2021

  1. les: UDP pre-negotiation of available server capacity (#22183)

    This PR implements the first one of the "lespay" UDP queries which
    is already useful in itself: the capacity query. The server pool is making
    use of this query by doing a cheap UDP query to determine whether it is
    worth starting the more expensive TCP connection process.
    zsfelfoldi committed Mar 1, 2021
    Configuration menu
    Copy the full SHA
    d968704 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    19d7a37 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2021

  1. core, eth: unship EIP 2315

    karalabe committed Mar 2, 2021
    Configuration menu
    Copy the full SHA
    7834e4a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    430f69e View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2021

  1. Configuration menu
    Copy the full SHA
    0540d3c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c539a05 View commit details
    Browse the repository at this point in the history
  3. cmd/utils: fix txlookuplimit for archive node (#22419)

    * cmd/utils: fix exclusive check for archive node
    
    * cmd/utils: set the txlookuplimit to 0
    rjl493456442 committed Mar 3, 2021
    Configuration menu
    Copy the full SHA
    07e907c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ba99910 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b24804d View commit details
    Browse the repository at this point in the history
  6. cmd: retire whisper flags (#22421)

    * cmd: retire whisper flags
    
    * cmd/geth: remove whisper configs
    rjl493456442 committed Mar 3, 2021
    Configuration menu
    Copy the full SHA
    5a81dd9 View commit details
    Browse the repository at this point in the history
  7. tests: update to latest tests (#22290)

    This updates the consensus tests to commit 31d6630 and
    adds support for access list transactions in the test runner.
    
    Co-authored-by: Martin Holst Swende <martin@swende.se>
    MariusVanDerWijden and holiman committed Mar 3, 2021
    Configuration menu
    Copy the full SHA
    cd316d7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    56dec25 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6338537 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2021

  1. Configuration menu
    Copy the full SHA
    9230ca4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    de61da9 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #22431 from karalabe/builder-fix-ppa

    build: fix PPA failure due to updated debsrc
    karalabe committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    89026d5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5b95453 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #22432 from karalabe/add-hirsute

    build: add support for Ubuntu Hirsute Hippo
    karalabe committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    dab90e4 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2021

  1. Merge pull request #22414 from karalabe/unship-2315

    core, eth: unship EIP 2315
    karalabe committed Mar 7, 2021
    Configuration menu
    Copy the full SHA
    658cb9f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #22426 from ethereum/revert-22413-unship-berlin

    Revert "core/forkid, params: unset Berlin fork number"
    karalabe committed Mar 7, 2021
    Configuration menu
    Copy the full SHA
    44c0bb2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    72b8cac View commit details
    Browse the repository at this point in the history
  4. Merge pull request #22452 from holiman/testupdate_berlin

    tests: update reference tests with 2315 removed from Berlin
    karalabe committed Mar 7, 2021
    Configuration menu
    Copy the full SHA
    5aba946 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2021

  1. Configuration menu
    Copy the full SHA
    c2d2f4e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1826708 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    be87f76 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2021

  1. les: fix errors in metric namespace (#22459)

    * les: add trailing slash to metric namespace
    
    * les: omit '.' in metric namespace
    holiman committed Mar 9, 2021
    Configuration menu
    Copy the full SHA
    3d299b7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    22082f9 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2021

  1. p2p/enr: fix decoding of incomplete lists (#22484)

    Given a list of less than two elements DecodeRLP returned rlp.EOL,
    leading to issues in outer decoders.
    fjl committed Mar 11, 2021
    Configuration menu
    Copy the full SHA
    aae7660 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2021

  1. Configuration menu
    Copy the full SHA
    6387c52 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2021

  1. Configuration menu
    Copy the full SHA
    3f74c8e View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2021

  1. eth, les: properly init statedb accesslist during tracing (#22480)

    * eth/state, les/state: properly init statedb accesslist when tracing, fixes #22475
    
    * eth: review comments
    
    * eth/tracers: fix compilation err
    
    * eth/tracers: apply @karalabe's suggested fix
    holiman committed Mar 14, 2021
    Configuration menu
    Copy the full SHA
    c6d4500 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2021

  1. cmd/geth, eth/downloader: remove copydb command (#22501)

    * cmd/geth: remove copydb command
    
    * eth/downloader: remove fakepeer
    holiman committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    faacc8e View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2021

  1. tests/fuzzers: fix goroutine leak in les fuzzer (#22455)

    The oss-fuzz fuzzer has been reporting some failing testcases for les. They're all spurious, and cannot reliably be reproduced. However, running them showed that there was a goroutine leak: the tests created a lot of new clients, which started an exec queue that was never torn down.
    
    This PR fixes the goroutine leak, and also a log message which was erroneously formatted.
    holiman committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    bc47993 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9983072 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7076e8e View commit details
    Browse the repository at this point in the history
  4. cmd/clef (docs): fix image background (#22399)

    Flatten the image so we do not have dark text on dark background
    ligi committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    7cbf1d7 View commit details
    Browse the repository at this point in the history
  5. core/rawdb: fix transaction indexing/unindexing hashing error (#22457)

    * core/rawdb: more verbose error logs + better hashing
    
    * core/rawdb: add failing testcase
    
    * core/rawdb: properly hash transactions while indexing/unindexing
    
    * core/rawdb: exit on error + better log msg
    holiman committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    94ab4ea View commit details
    Browse the repository at this point in the history
  6. les: fix UDP connection query (#22451)

    This PR fixes multiple issues with the UDP connection pre-negotiation feature:
    
    - the enable condition was wrong (it checked the existence of the DiscV5 struct where it wasn't initialized yet, disabling the feature even if discv5 was enabled)
    - the server pool queried already connected nodes when the discovery iterators returned them again
    - servers responded positively before they were synced and really willing to accept connections
    
    Metrics are also added on the server side that count the positive and negative replies to served connection queries.
    zsfelfoldi committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    62d8022 View commit details
    Browse the repository at this point in the history
  7. les: fix UDP connection query (#22451)

    This PR fixes multiple issues with the UDP connection pre-negotiation feature:
    - the enable condition was wrong (it checked the existence of the DiscV5 struct where it wasn't initialized yet, disabling the feature even if discv5 was enabled)
    - the server pool queried already connected nodes when the discovery iterators returned them again
    - servers responded positively before they were synced and really willing to accept connections
    
    Metrics are also added on the server side that count the positive and negative replies to served connection queries.
    zsfelfoldi committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    6d9707a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    91726e8 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2021

  1. Configuration menu
    Copy the full SHA
    410089a View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2021

  1. Configuration menu
    Copy the full SHA
    117fa7d View commit details
    Browse the repository at this point in the history
  2. cmd/devp2p/internal/ethtest: return request ID in BlockHeaders respon…

    …se (#22508)
    
    This PR fixes an issue with the eth66 test suite where, during a readAndServe when
    the test is manually responding to GetBlockHeader requests, it now responds
    with a BlockHeaders eth66 packet that includes the inbound request ID.
    renaynay committed Mar 19, 2021
    Configuration menu
    Copy the full SHA
    6a528fc View commit details
    Browse the repository at this point in the history
  3. ethclient: fix error handling for header test (#22514)

    The wantErr field was disused, and the error returned by HeaderByNumber
    was not properly tested.
    
    This simplifies the error checking using errors.Is and asserts that getting
    an expected missing header returns ethereum.NotFound. Also adds a nil
    check condition for header.Number before using big.Int's Sign method.
    meowsbits committed Mar 19, 2021
    Configuration menu
    Copy the full SHA
    aa8b218 View commit details
    Browse the repository at this point in the history
  4. accounts/abi/bind: add NoSend transact option (#22446)

    This adds a new option to avoid sending the transaction which is
    created by calling a bound contract method.
    reds committed Mar 19, 2021
    Configuration menu
    Copy the full SHA
    38ea7f2 View commit details
    Browse the repository at this point in the history
  5. go.mod: upgrade goleveldb to commit 64b5b1c (#22436)

    This pulls in a fix for a corruption issue when the process crashes
    while a new manifest file is being added.
    ucwong committed Mar 19, 2021
    Configuration menu
    Copy the full SHA
    a90861a View commit details
    Browse the repository at this point in the history
  6. go.mod: upgrade goupnp to commit 0ca76305 (#22479)

    This pulls in a fix to skip the broadcast on interfaces which are down.
    ucwong committed Mar 19, 2021
    Configuration menu
    Copy the full SHA
    345890a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d50e9d2 View commit details
    Browse the repository at this point in the history
  8. cmd/devp2p: use AWS-SDK v2 (#22360)

    This updates the DNS deployer to use AWS SDK v2. Migration is relatively
    seamless, although there were two locations that required a slightly
    different approach to achieve the same results. In particular, waiting for
    DNS change propagation is very different with SDK v2. 
    
    This change also optimizes DNS updates by publishing all changes before
    waiting for propagation.
    qhenkart committed Mar 19, 2021
    Configuration menu
    Copy the full SHA
    e3a3f7c View commit details
    Browse the repository at this point in the history
  9. p2p/dnsdisc: fix flaw in dns size calculation (#22533)

    This fixes the calculation of the tree branch factor. With the new
    formula, we now creat at most 13 children instead of 30, ensuring
    the TXT record size will be below 370 bytes.
    holiman committed Mar 19, 2021
    Configuration menu
    Copy the full SHA
    5bc0343 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c454717 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d3040a8 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    9429ab1 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2021

  1. cmd/devp2p: fix error in updating the cursor when collecting records …

    …for route53 (#22538)
    
    This PR fixes a regression introduced in #22360, when we updated to the v2 of the AWS sdk, which causes current crawler to just get the same first 100 results over and over, and get stuck in a loop.
    holiman committed Mar 20, 2021
    Configuration menu
    Copy the full SHA
    5bf6612 View commit details
    Browse the repository at this point in the history
  2. cmd/devp2p: add old block announcement test to eth test suite (#22474)

    Add old block announcement test to eth test suite, checks to make sure old block announcement isn't propagated
    renaynay committed Mar 20, 2021
    Configuration menu
    Copy the full SHA
    36b51b8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ec73ec0 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2021

  1. Configuration menu
    Copy the full SHA
    eaccdba View commit details
    Browse the repository at this point in the history
  2. accounts: eip-712 signing for ledger (#22378)

    * accounts: eip-712 signing for ledger
    
    * address review comments
    MrChico committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    aab3560 View commit details
    Browse the repository at this point in the history
  3. all: add read-only option to database (#22407)

    * all: add read-only option to database
    
    * all: fixes tests
    
    * cmd/geth: migrate flags
    
    * cmd/geth: fix the compact
    
    * cmd/geth: fix the format
    
    * cmd/geth: fix log
    
    * cmd: add chain-readonly
    
    * core: add readonly notion to freezer
    
    * core/rawdb: add log
    
    * core/rawdb: fix freezer close
    
    * cmd: fix
    
    * cmd, core: construct db
    
    * core: update tests
    rjl493456442 committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    0c70b83 View commit details
    Browse the repository at this point in the history
  4. cmd/geth: check block range against chain head in export cmd (#22387)

    Check the input parameters against the actual head block, exit on error
    s1na committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    8d6cc16 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a31f6d5 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #22551 from karalabe/snapshot-parent-get-panic

    core/state/snapshot: fix panic on missing parent
    karalabe committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    f304290 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2021

  1. Merge pull request #22513 from holiman/no_snap_bloom

    eth/protocols/snap, eth/downloader: don't use bloom filter in snap sync
    karalabe committed Mar 23, 2021
    Configuration menu
    Copy the full SHA
    477ec75 View commit details
    Browse the repository at this point in the history
  2. internal/web3ext, node: migrate node admin API (Start|Stop)RPC->HTTP …

    …(#22461)
    
    * internal/web3ext,node: migrate node admin API (Start|Stop)RPC->HTTP
    
    Corresponding CLI flags --rpc have been moved to --http.
    
    This moves the admin module HTTP RPC start/stop
    methods to an equivalent namespace.
    
    Rel ethereum/go-ethereum#22263
    
    Date: 2021-03-08 08:00:11-06:00
    Signed-off-by: meows <b5c6@protonmail.com>
    
    * internal/web3ext: fix startRPC/HTTP param count (4->5)
    
    Date: 2021-03-16 06:13:23-05:00
    Signed-off-by: meows <b5c6@protonmail.com>
    meowsbits committed Mar 23, 2021
    Configuration menu
    Copy the full SHA
    e862cbf View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2021

  1. cmd/devp2p: skip ENR field tails properly in nodeset filter (#22565)

    In Geth v1.10, we changed the structure of the "les" ENR entry. As a result, the DHT crawler that creates the DNS lists
    no longer recognizes the les nodes, which is fixed in this commit. 
    
    * cmd/devp2p: skip ENR field tails properly in nodeset filter
    * cmd/devp2p: fix tail decoder for snap as well
    * les: fix tail decoding in "eth" ENR entry
    fjl committed Mar 24, 2021
    Configuration menu
    Copy the full SHA
    5129cdc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    15e6c27 View commit details
    Browse the repository at this point in the history
  3. p2p/dnsdisc: rate limit resolving before checking cache (#22566)

    This makes the rate limit apply regardless of whether the node is
    already cached.
    fjl committed Mar 24, 2021
    Configuration menu
    Copy the full SHA
    ab8fd4d View commit details
    Browse the repository at this point in the history
  4. eth/protocols/snap: fix the flaws in the snap sync (#22553)

    * eth/protocols/snap: fix snap sync
    
    * eth/protocols/snap: fix tests
    
    * eth: fix tiny
    
    * eth: update tests
    
    * eth: update tests
    
    * core/state/snapshot: testcase for #22534
    
    * eth/protocols/snap: fix boundary loss on full-but-proven range
    
    * core/state/snapshot: lintfix
    
    * eth: address comment
    
    * eth: fix handler
    
    Co-authored-by: Martin Holst Swende <martin@swende.se>
    Co-authored-by: Péter Szilágyi <peterke@gmail.com>
    3 people committed Mar 24, 2021
    Configuration menu
    Copy the full SHA
    c5df05b View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2021

  1. eth/tracers, core: use scopecontext in tracers, provide statedb in ca…

    …pturestart (#22333)
    
    Fixes the CaptureStart api to include the EVM, thus being able to set the statedb early on. This pr also exposes the struct we used internally in the interpreter to encapsulate the contract, mem, stack, rstack, so we pass it as a single struct to the tracer, and removes the error returns on the capture methods.
    holiman committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    0fda25e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    497448b View commit details
    Browse the repository at this point in the history
  3. cmd/devp2p: fix comparison of TXT record value (#22572)

    * cmd/devp2p: fix comparison of TXT record value
    
    The AWS API returns quoted DNS strings, so we must encode the new value
    before comparing it against the existing record content.
    
    * cmd/devp2p: add test
    
    * cmd/devp2p: fix typo and rename val -> newValue
    fjl committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    bed74b3 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #22573 from holiman/checkfreq

    core: fix condition on header verification
    karalabe committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    4adf0b9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    54c0d57 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2021

  1. Configuration menu
    Copy the full SHA
    6d7ff6a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #22581 from karalabe/network-latency-monitoring

    eth/protocols, metrics, p2p: add handler performance metrics
    karalabe committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    efe0229 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2550e46 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #22586 from karalabe/resettting-histogram

    eth/protocols, metrics: use resetting histograms for rare packets
    karalabe committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    6477ea6 View commit details
    Browse the repository at this point in the history
  5. eth: fix corner case in sync head determination (#21695)

    This avoids synchronisation failures when the local header is ahead of
    the local full block.
    zouguangxian committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    9557271 View commit details
    Browse the repository at this point in the history
  6. cmd/geth, consensus/ethash: add support for --miner.notify.full flag …

    …(#22558)
    
    The PR implements the --miner.notify.full flag that enables full pending block
    notifications. When this flag is used, the block notifications sent to mining
    endpoints contain the complete block header JSON instead of a work package
    array.
    
    Co-authored-by: AlexSSD7 <alexandersadovskyi7@protonmail.com>
    Co-authored-by: Martin Holst Swende <martin@swende.se>
    3 people committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    cae6b55 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    62379f0 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #22590 from karalabe/nil-histogram

    metrics/influxdb: don't push empty histograms, no measurement != 0
    karalabe committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    063f78c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    099be04 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #22591 from karalabe/snap-detailed-timeout-logs

    eth/protocols/snap: add peer id and req id to the timeout logs
    karalabe committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    e7f3962 View commit details
    Browse the repository at this point in the history
  11. cmd/devp2p: update to newer cloudflare API client (#22588)

    This upgrades the cloudflare client dependency to v0.14.0. The new
    version changes the API because all methods now require a context
    parameter. This change also reduces the log level of the 'Skipping...'
    message to debug, following a similar change in the AWS deployer.
    fjl committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    27056f6 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2021

  1. core/state/pruner: move the compaction out of the pruning procedure (…

    …#22579)
    
    The main idea behind it is: the range compaction is very expensive
    which can take a few hours to finish. During this long procedure,
    a lot of exceptions can occur, e.g.
    - Geth is killed manually
    - Geth is killed because of machine crash
    - etc
    
    In order to minimize the effect of the exceptions, the compaction
    is moved out of the pruning. So that even the compaction is not
    finished, the pruning is regarded as done.
    rjl493456442 committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    76700ac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7644795 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b6912c1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    24588ba View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2021

  1. Merge pull request #22596 from holiman/snap_timelimits

    eth/protocols/snap: try to prevent requests timing out
    karalabe committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    43a3768 View commit details
    Browse the repository at this point in the history
  2. cmd/geth: add db dumptrie command (#22563)

    Adds the command "geth db dumptrie <root> <seek> <max>", to better help investigate the trie data
    holiman committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    59ac3c9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    44fe466 View commit details
    Browse the repository at this point in the history
  4. ethstats: avoid creating subscriptions on background goroutine (#22587)

    This fixes an issue where the ethstats service could crash if geth was
    started and then immediately stopped due to an internal error. The
    cause of the crash was a nil subscription being returned by the backend,
    because the background goroutine creating them was scheduled after
    the backend had already shut down.
    
    Moving the creation of subscriptions into the Start method, which runs
    synchronously during startup of the node, means the returned subscriptions
    can never be 'nil'.
    
    Co-authored-by: Felix Lange <fjl@twurst.com>
    Co-authored-by: Martin Holst Swende <martin@swende.se>
    3 people committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    3faae5d View commit details
    Browse the repository at this point in the history
  5. core/state/snapshot, ethdb: track deletions more accurately (#22582)

    * core/state/snapshot, ethdb: track deletions more accurately
    
    * core/state/snapshot: don't reset the iterator, leveldb's screwy
    
    * ethdb: don't mess with the insert batches for now
    karalabe committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    61ff3e8 View commit details
    Browse the repository at this point in the history
  6. rpc: tighter shutdown synchronization in client subscription (#22597)

    This fixes a rare issue where the client subscription forwarding loop
    would attempt send on the subscription's channel after Unsubscribe has
    returned, leading to a panic if the subscription channel was already
    closed by the user. Example:
    
        sub, _ := client.Subscribe(..., channel, ...)
        sub.Unsubscribe()
        close(channel)
    
    The race occurred because Unsubscribe called quitWithServer to tell the
    forwarding loop to stop sending on sub.channel, but did not wait for the
    loop to actually come down. This is fixed by adding an additional channel
    to track the shutdown, on which Unsubscribe now waits.
    
    Fixes #22322
    fjl committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    4a37ae5 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2021

  1. Configuration menu
    Copy the full SHA
    55300d4 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #22604 from karalabe/hashrate-capitalization-fix

    all: fix miner hashRate -> hashrate on API calls
    karalabe committed Mar 31, 2021
    Configuration menu
    Copy the full SHA
    73ed689 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2021

  1. Configuration menu
    Copy the full SHA
    c79fc20 View commit details
    Browse the repository at this point in the history
  2. internal/ethapi: fix eth_chainId method (#22243)

    This removes the duplicated definition of eth_chainID
    in package eth and updates the definition in internal/ethapi
    to treat chain ID as a bigint.
    
    Co-authored-by: Felix Lange <fjl@twurst.com>
    piersy and fjl committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    706683e View commit details
    Browse the repository at this point in the history
  3. graphql: add support for tx types and tx access lists (#22491)

    This adds support for EIP-2718 access list transactions in the GraphQL API.
    
    Co-authored-by: Amit Shah <amitshah0t7@gmail.com>
    Co-authored-by: Felix Lange <fjl@twurst.com>
    3 people committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    adf09ae View commit details
    Browse the repository at this point in the history
  4. internal/debug: add JSON log format and rename logging flags (#22341)

    This change adds support for logging JSON records when the --log.json flag is
    given. The --debug and --backtrace flags are deprecated and replaced by
    --log.debug and --log.backtrace.
    
    While changing this, it was noticed that the --memprofilerate and
    --blockprofilerate were ineffective (they were always overridden even if
    --pprof.memprofilerate was not set). This is also fixed.
    
    Co-authored-by: Felix Lange <fjl@twurst.com>
    s1na and fjl committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    5338ce4 View commit details
    Browse the repository at this point in the history
  5. cmd/utils: move cache sanity check to SetEthConfig (#22510)

    Move the cache sanity check to the SetEthConfig function
    to allow the config file to load.
    petesimard committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    95219ae View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e275b1a View commit details
    Browse the repository at this point in the history
  7. les: move client pool to les/vflux/server (#22495)

    * les: move client pool to les/vflux/server
    
    * les/vflux/server: un-expose NodeBalance, remove unused fn, fix bugs
    
    * tests/fuzzers/vflux: add ClientPool fuzzer
    
    * les/vflux/server: fixed balance tests
    
    * les: rebase fix
    
    * les/vflux/server: fixed more bugs
    
    * les/vflux/server: unexported NodeStateMachine fields and flags
    
    * les/vflux/server: unexport all internal components and functions
    
    * les/vflux/server: fixed priorityPool test
    
    * les/vflux/server: polish balance
    
    * les/vflux/server: fixed mutex locking error
    
    * les/vflux/server: priorityPool bug fixed
    
    * common/prque: make Prque wrap-around priority handling optional
    
    * les/vflux/server: rename funcs, small optimizations
    
    * les/vflux/server: fixed timeUntil
    
    * les/vflux/server: separated balance.posValue and negValue
    
    * les/vflux/server: polish setup
    
    * les/vflux/server: enforce capacity curve monotonicity
    
    * les/vflux/server: simplified requestCapacity
    
    * les/vflux/server: requestCapacity with target range, no iterations in SetCapacity
    
    * les/vflux/server: minor changes
    
    * les/vflux/server: moved default factors to balanceTracker
    
    * les/vflux/server: set inactiveFlag in priorityPool
    
    * les/vflux/server: moved related metrics to vfs package
    
    * les/vflux/client: make priorityPool temp state logic cleaner
    
    * les/vflux/server: changed log.Crit to log.Error
    
    * add vflux fuzzer to oss-fuzz
    
    Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
    zsfelfoldi and rjl493456442 committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    2d89fe0 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2021

  1. eth, les: fix tracers (#22473)

    * eth, les: fix tracer
    
    * eth: isolate live trie database in tracer
    
    * eth: fix nil
    
    * eth: fix
    
    * eth, les: add checkLive param
    
    * eth/tracer: fix
    rjl493456442 committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    a600dab View commit details
    Browse the repository at this point in the history
  2. core, eth, internal/ethapi: create access list RPC API (#22550)

    * 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: Martin Holst Swende <martin@swende.se>
    Co-authored-by: Péter Szilágyi <peterke@gmail.com>
    3 people committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    9d10856 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2a7c4b6 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #22629 from karalabe/fix-chain-tracing-from-0

    eth: fix tracing state retrieval if requesting the non-dirty genesis
    karalabe committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    264fff7 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2021

  1. Configuration menu
    Copy the full SHA
    e3ff37c View commit details
    Browse the repository at this point in the history
  2. Merge pull request #22632 from karalabe/cht-1.10.2

    params: update CHTs for v1.10.2
    karalabe committed Apr 8, 2021
    Configuration menu
    Copy the full SHA
    a665f5d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    97d11b0 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2022

  1. Configuration menu
    Copy the full SHA
    0bd499d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d5beb40 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2022

  1. Configuration menu
    Copy the full SHA
    860a94b View commit details
    Browse the repository at this point in the history

Commits on May 19, 2022

  1. Configuration menu
    Copy the full SHA
    9235d77 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    09786a3 View commit details
    Browse the repository at this point in the history
  3. fix: tracers

    baptiste-b-pegasys committed May 19, 2022
    Configuration menu
    Copy the full SHA
    a2f2522 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2022

  1. fix: tracers

    baptiste-b-pegasys committed May 20, 2022
    Configuration menu
    Copy the full SHA
    0eeba8a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b4d9f90 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    efc28e8 View commit details
    Browse the repository at this point in the history
  4. remove note book

    baptiste-b-pegasys committed May 20, 2022
    Configuration menu
    Copy the full SHA
    3f7499d View commit details
    Browse the repository at this point in the history

Commits on May 23, 2022

  1. diff fixes: private db prepare, api result

    other minor changes
    baptiste-b-pegasys committed May 23, 2022
    Configuration menu
    Copy the full SHA
    1eacac4 View commit details
    Browse the repository at this point in the history
  2. fix: revert diff

    baptiste-b-pegasys committed May 23, 2022
    Configuration menu
    Copy the full SHA
    451c69b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3ad2c37 View commit details
    Browse the repository at this point in the history
  4. fix diffs

    baptiste-b-pegasys committed May 23, 2022
    Configuration menu
    Copy the full SHA
    9c76ee9 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2022

  1. Merge branch 'upgrade/go-ethereum/v1.10.2-2022519080100' into upgrade…

    …/go-ethereum/v1.10.2-2022428043256
    baptiste-b-pegasys committed May 24, 2022
    Configuration menu
    Copy the full SHA
    62d31e9 View commit details
    Browse the repository at this point in the history
  2. fix: merge

    baptiste-b-pegasys committed May 24, 2022
    Configuration menu
    Copy the full SHA
    f3a7c31 View commit details
    Browse the repository at this point in the history
  3. fix: merge, diff

    baptiste-b-pegasys committed May 24, 2022
    Configuration menu
    Copy the full SHA
    7289a1e View commit details
    Browse the repository at this point in the history

Commits on May 27, 2022

  1. revert unwanted modification

    tag goquorum additions
    baptiste-b-pegasys committed May 27, 2022
    Configuration menu
    Copy the full SHA
    ae03921 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2022

  1. Update eth/api_backend.go

    achraf17 committed May 31, 2022
    Configuration menu
    Copy the full SHA
    68987a8 View commit details
    Browse the repository at this point in the history
  2. Update eth/api_backend.go

    achraf17 committed May 31, 2022
    Configuration menu
    Copy the full SHA
    3bfa8dc View commit details
    Browse the repository at this point in the history
  3. update state_accessor.go

    achraf17 committed May 31, 2022
    Configuration menu
    Copy the full SHA
    966c786 View commit details
    Browse the repository at this point in the history