good morning!!!!

Skip to content
Snippets Groups Projects
  1. 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
    • Martin Holst Swende's avatar
      core/vm: make gas cost reporting to tracers correct (#22702) · 65a1c2d8
      Martin Holst Swende authored
      Previously, the makeCallVariantGasCallEIP2929 charged the cold account access cost directly, leading to an incorrect gas cost passed to the tracer from the main execution loop.
      This change still temporarily charges the cost (to allow for an accurate calculation of the available gas for the call), but then afterwards refunds it and instead returns the correct total gas cost to be then properly charged in the main loop.
      65a1c2d8
    • Felix Lange's avatar
      a0a99e61
    • lightclient's avatar
    • Péter Szilágyi's avatar
      Merge pull request #21467 from holiman/minor_ethashfix · 85a0bab6
      Péter Szilágyi authored
      consensus/ethash: less lookups of block data
      85a0bab6
    • 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
    • Gary Rong's avatar
      les: polish code (#22625) · 854f068e
      Gary Rong authored
      * les: polish code
      
      * les/vflus/server: fixes
      
      * les: fix lint
      854f068e
  2. Apr 26, 2021
    • Martin Holst Swende's avatar
      core/rawdb: fix datarace in freezer (#22728) · 9b99e3df
      Martin Holst Swende authored
      The Append / truncate operations were racy. When a datafile reaches 2Gb, a new file is needed. For this operation, we require a writelock, which is not needed in the 99.99% of all cases where the data does fit in the current head-file.
      
      This transition from readlock to writelock was incorrect, and as the readlock was released, a truncate operation could slip in between, and truncate the data. This would have been fine, however, the Append operation continued writing as if no truncation had occurred, e.g writing item 5 where item 0 should reside.
      
      This PR changes the behaviour, so that if when we run into the situation that a new file is needed, it aborts, and retries, this time with a writelock.
      
      The outcome of the situation described above, running on this PR, would instead be that the Append operation exits with a failure.
      9b99e3df
  3. Apr 23, 2021
  4. Apr 22, 2021
  5. Apr 21, 2021
  6. Apr 20, 2021
  7. Apr 19, 2021
  8. Apr 18, 2021
  9. Apr 16, 2021
  10. Apr 15, 2021
  11. Apr 14, 2021
    • Péter Szilágyi's avatar
      Merge pull request #22666 from karalabe/remove-stale-datatype · d8ff53df
      Péter Szilágyi authored
      core/types: drop some relice data types
      d8ff53df
    • Péter Szilágyi's avatar
      d5e57948
    • 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
Loading