good morning!!!!

Skip to content
Snippets Groups Projects
  1. Jun 28, 2021
    • Zsolt Felföldi's avatar
      eth/gasprice: implement feeHistory API (#23033) · 35dbf7a8
      Zsolt Felföldi authored
      
      * eth/gasprice: implement feeHistory API
      
      * eth/gasprice: factored out resolveBlockRange
      
      * eth/gasprice: add sanity check for missing block
      
      * eth/gasprice: fetch actual gas used from receipts
      
      * miner, eth/gasprice: add PendingBlockAndReceipts
      
      * internal/ethapi: use hexutil.Big
      
      * eth/gasprice: return error when requesting beyond head block
      
      * eth/gasprice: fixed tests and return errors correctly
      
      * eth/gasprice: rename receiver name
      
      * eth/gasprice: return directly if blockCount == 0
      
      Co-authored-by: default avatarrjl493456442 <garyrong0905@gmail.com>
      35dbf7a8
  2. Jun 25, 2021
    • piersy's avatar
      cmd/geth: fix IPC probe in les test (#23094) · 0e696136
      piersy authored
      Previously, the test waited a second and then failed if geth had not
      started. This caused the test to fail intermittently. This change checks
      whether the IPC is open 10 times over a 5 second period and then fails
      if geth is still not available.
      0e696136
  3. Jun 09, 2021
  4. Jun 08, 2021
  5. Jun 07, 2021
  6. Jun 03, 2021
  7. May 31, 2021
  8. May 27, 2021
  9. May 25, 2021
    • rene's avatar
      cmd/devp2p: refactor eth test suite (#22843) · 49bde05a
      rene authored
      This PR refactors the eth test suite to make it more readable and
      easier to use. Some notable differences:
      
      - A new file helpers.go stores all of the methods used between
        both eth66 and eth65 and below tests, as well as methods shared
        among many test functions.
      - suite.go now contains all of the test functions for both eth65
        tests and eth66 tests.
      - The utesting.T object doesn't get passed through to other helper methods,
        but is instead only used within the scope of the test function,
        whereas helper methods return errors, so only the test function
        itself can fatal out in the case of an error.
      - The full test suite now only takes 13.5 seconds to run.
      49bde05a
  10. May 18, 2021
  11. May 17, 2021
  12. May 12, 2021
  13. May 11, 2021
  14. May 10, 2021
  15. May 06, 2021
  16. May 05, 2021
  17. 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
  18. May 03, 2021
  19. Apr 30, 2021
  20. Apr 28, 2021
  21. Apr 27, 2021
  22. Apr 23, 2021
  23. Apr 19, 2021
  24. Apr 16, 2021
  25. Apr 15, 2021
  26. 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
  27. Apr 13, 2021
  28. Apr 06, 2021
  29. Mar 30, 2021
  30. Mar 29, 2021
  31. Mar 26, 2021
Loading