good morning!!!!

Skip to content
Snippets Groups Projects
  1. Jul 29, 2021
  2. May 25, 2021
  3. May 04, 2021
    • Felix Lange's avatar
      cmd/utils: use eth DNS tree for snap discovery (#22808) · b8040a43
      Felix Lange authored
      This removes auto-configuration of the snap.*.ethdisco.net DNS discovery tree.
      Since measurements have shown that > 75% of nodes in all.*.ethdisco.net support
      snap, we have decided to retire the dedicated index for snap and just use the eth
      tree instead.
      
      The dial iterators of eth and snap now use the same DNS tree in the default configuration,
      so both iterators should use the same DNS discovery client instance. This ensures that
      the record cache and rate limit are shared. Records will not be requested multiple times.
      
      While testing the change, I noticed that duplicate DNS requests do happen even
      when the client instance is shared. This is because the two iterators request the tree
      root, link tree root, and first levels of the tree in lockstep. To avoid this problem, the
      change also adds a singleflight.Group instance in the client. When one iterator
      attempts to resolve an entry which is already being resolved, the singleflight object
      waits for the existing resolve call to finish and returns the entry to both places.
      b8040a43
  4. May 03, 2021
  5. Apr 30, 2021
  6. Apr 29, 2021
  7. Apr 28, 2021
  8. Apr 27, 2021
    • Péter Szilágyi's avatar
      eth/protocols/snap: generate storage trie from full dirty snap data (#22668) · caea6c46
      Péter Szilágyi authored
      
      * eth/protocols/snap: generate storage trie from full dirty snap data
      
      * eth/protocols/snap: get rid of some more dead code
      
      * eth/protocols/snap: less frequent logs, also log during trie generation
      
      * eth/protocols/snap: implement dirty account range stack-hashing
      
      * eth/protocols/snap: don't loop on account trie generation
      
      * eth/protocols/snap: fix account format in trie
      
      * core, eth, ethdb: glue snap packets together, but not chunks
      
      * eth/protocols/snap: print completion log for snap phase
      
      * eth/protocols/snap: extended tests
      
      * eth/protocols/snap: make testcase pass
      
      * eth/protocols/snap: fix account stacktrie commit without defer
      
      * ethdb: fix key counts on reset
      
      * eth/protocols: fix typos
      
      * eth/protocols/snap: make better use of delivered data (#44)
      
      * eth/protocols/snap: make better use of delivered data
      
      * squashme
      
      * eth/protocols/snap: reduce chunking
      
      * squashme
      
      * eth/protocols/snap: reduce chunking further
      
      * eth/protocols/snap: break out hash range calculations
      
      * eth/protocols/snap: use sort.Search instead of looping
      
      * eth/protocols/snap: prevent crash on storage response with no keys
      
      * eth/protocols/snap: nitpicks all around
      
      * eth/protocols/snap: clear heal need on 1-chunk storage completion
      
      * eth/protocols/snap: fix range chunker, add tests
      
      Co-authored-by: default avatarPéter Szilágyi <peterke@gmail.com>
      
      * trie: fix test API error
      
      * eth/protocols/snap: fix some further liter issues
      
      * eth/protocols/snap: fix accidental batch reuse
      
      Co-authored-by: default avatarMartin Holst Swende <martin@swende.se>
      caea6c46
    • Felix Lange's avatar
      build: upgrade to golangci-lint v1.39.0 (#22696) · a3f0da1a
      Felix Lange authored
      * build: upgrade to golangci-lint v1.39.0
      
      * consensus/ethash: fix go vet warning regarding reflect.SliceHeader
      
      * eth/catalyst: fix lint issue
      
      * consensus/ethash: fix bug in memoryMapFile
      a3f0da1a
  9. Apr 22, 2021
  10. Apr 21, 2021
  11. Apr 16, 2021
  12. Apr 15, 2021
  13. Apr 14, 2021
    • Gary Rong's avatar
      core, eth: faster snapshot generation (#22504) · 7088f1e8
      Gary Rong authored
      
      * eth/protocols: persist received state segments
      
      * core: initial implementation
      
      * core/state/snapshot: add tests
      
      * core, eth: updates
      
      * eth/protocols/snapshot: count flat state size
      
      * core/state: add metrics
      
      * core/state/snapshot: skip unnecessary deletion
      
      * core/state/snapshot: rename
      
      * core/state/snapshot: use the global batch
      
      * core/state/snapshot: add logs and fix wiping
      
      * core/state/snapshot: fix
      
      * core/state/snapshot: save generation progress even if the batch is empty
      
      * core/state/snapshot: fixes
      
      * core/state/snapshot: fix initial account range length
      
      * core/state/snapshot: fix initial account range
      
      * eth/protocols/snap: store flat states during the healing
      
      * eth/protocols/snap: print logs
      
      * core/state/snapshot: refactor (#4)
      
      * core/state/snapshot: refactor
      
      * core/state/snapshot: tiny fix and polish
      
      Co-authored-by: default avatarrjl493456442 <garyrong0905@gmail.com>
      
      * core, eth: fixes
      
      * core, eth: fix healing writer
      
      * core, trie, eth: fix paths
      
      * eth/protocols/snap: fix encoding
      
      * eth, core: add debug log
      
      * core/state/generate: release iterator asap (#5)
      
      core/state/snapshot: less copy
      
      core/state/snapshot: revert split loop
      
      core/state/snapshot: handle storage becoming empty, improve test robustness
      
      core/state: test modified codehash
      
      core/state/snapshot: polish
      
      * core/state/snapshot: optimize stats counter
      
      * core, eth: add metric
      
      * core/state/snapshot: update comments
      
      * core/state/snapshot: improve tests
      
      * core/state/snapshot: replace secure trie with standard trie
      
      * core/state/snapshot: wrap return as the struct
      
      * core/state/snapshot: skip wiping correct states
      
      * core/state/snapshot: updates
      
      * core/state/snapshot: fixes
      
      * core/state/snapshot: fix panic due to reference flaw in closure
      
      * core/state/snapshot: fix errors in state generation logic + fix log output
      
      * core/state/snapshot: remove an error case
      
      * core/state/snapshot: fix condition-check for exhausted snap state
      
      * core/state/snapshot: use stackTrie for small tries
      
      * core/state/snapshot: don't resolve small storage tries in vain
      
      * core/state/snapshot: properly clean up storage of deleted accounts
      
      * core/state/snapshot: avoid RLP-encoding in some cases + minor nitpicks
      
      * core/state/snapshot: fix error (+testcase)
      
      * core/state/snapshot: clean up tests a bit
      
      * core/state/snapshot: work in progress on better tests
      
      * core/state/snapshot: polish code
      
      * core/state/snapshot: fix trie iteration abortion trigger
      
      * core/state/snapshot: fixes flaws
      
      * core/state/snapshot: remove panic
      
      * core/state/snapshot: fix abort
      
      * core/state/snapshot: more tests (plus failing testcase)
      
      * core/state/snapshot: more testcases + fix for failing test
      
      * core/state/snapshot: testcase for malformed data
      
      * core/state/snapshot: some test nitpicks
      
      * core/state/snapshot: improvements to logging
      
      * core/state/snapshot: testcase to demo error in abortion
      
      * core/state/snapshot: fix abortion
      
      * cmd/geth: make verify-state report the root
      
      * trie: fix failing test
      
      * core/state/snapshot: add timer metrics
      
      * core/state/snapshot: fix metrics
      
      * core/state/snapshot: udpate tests
      
      * eth/protocols/snap: write snapshot account even if code or state is needed
      
      * core/state/snapshot: fix diskmore check
      
      * core/state/snapshot: review fixes
      
      * core/state/snapshot: improve error message
      
      * cmd/geth: rename 'error' to 'err' in logs
      
      * core/state/snapshot: fix some review concerns
      
      * core/state/snapshot, eth/protocols/snap: clear snapshot marker when starting/resuming snap sync
      
      * core: add error log
      
      * core/state/snapshot: use proper timers for metrics collection
      
      * core/state/snapshot: address some review concerns
      
      * eth/protocols/snap: improved log message
      
      * eth/protocols/snap: fix heal logs to condense infos
      
      * core/state/snapshot: wait for generator termination before restarting
      
      * core/state/snapshot: revert timers to counters to track total time
      
      Co-authored-by: default avatarMartin Holst Swende <martin@swende.se>
      Co-authored-by: default avatarPéter Szilágyi <peterke@gmail.com>
      7088f1e8
    • xD AKA Rapper King Of cn background diablo & revelations's avatar
  14. Apr 09, 2021
  15. Apr 07, 2021
    • Péter Szilágyi's avatar
    • 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>
      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
      a600dab7
  16. Apr 06, 2021
  17. Mar 31, 2021
  18. Mar 29, 2021
  19. Mar 26, 2021
  20. Mar 25, 2021
  21. Mar 24, 2021
Loading