good morning!!!!

Skip to content
Snippets Groups Projects
  1. Jul 29, 2021
  2. Jul 01, 2021
  3. Jun 08, 2021
  4. May 10, 2021
  5. May 04, 2021
    • Felix Lange's avatar
      go.mod: go mod tidy (#22814) · d107f90d
      Felix Lange authored
      This updates go.mod for the addition of golang.org/x/sync.
      Unverified
      d107f90d
    • 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.
      Unverified
      b8040a43
  6. Apr 28, 2021
  7. Apr 20, 2021
  8. Mar 26, 2021
  9. Mar 19, 2021
  10. Feb 26, 2021
  11. Feb 08, 2021
    • Gary Rong's avatar
      all: bloom-filter based pruning mechanism (#21724) · f566dd30
      Gary Rong authored
      
      * 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: default avatarPéter Szilágyi <peterke@gmail.com>
      Unverified
      f566dd30
  12. Feb 03, 2021
  13. Feb 02, 2021
  14. Jan 26, 2021
  15. Jan 25, 2021
  16. Jan 22, 2021
  17. Jan 20, 2021
  18. Jan 12, 2021
  19. Dec 02, 2020
  20. Nov 27, 2020
    • Guillaume Ballet's avatar
      crypto: signing builds with signify/minisign (#21798) · fa572cd2
      Guillaume Ballet authored
      
      * internal/build: implement signify's signing func
      * Add signify to the ci utility
      * fix output file format
      * Add unit test for signify
      * holiman's + travis' feedback
      * internal/build: verify signify's output
      * crypto: move signify to common dir
      * use go-minisign to verify binaries
      * more holiman feedback
      * crypto, ci: support minisign output
      * only accept one-line trusted comments
      * configurable untrusted comments
      * code cleanup in tests
      * revert to use ed25519 from the stdlib
      * bug: fix for empty untrusted comments
      * write timestamp as comment if trusted comment isn't present
      * rename line checker to commentHasManyLines
      * crypto: added signify fuzzer (#6)
      * crypto: added signify fuzzer
      * stuff
      * crypto: updated signify fuzzer to fuzz comments
      * crypto: repro signify crashes
      * rebased fuzzer on build-signify branch
      * hide fuzzer behind gofuzz build flag
      * extract key data inside a single function
      * don't treat \r as a newline
      * travis: fix signing command line
      * do not use an external binary in tests
      * crypto: move signify to crypto/signify
      * travis: fix formatting issue
      * ci: fix linter build after package move
      
      Co-authored-by: default avatarMarius van der Wijden <m.vanderwijden@live.de>
      Unverified
      fa572cd2
  21. Sep 21, 2020
  22. Sep 16, 2020
    • Marius van der Wijden's avatar
      tests/fuzzers/abi: add fuzzer for fuzzing package accounts/abi (#21217) · 89884dc3
      Marius van der Wijden authored
      * tests/fuzzers/abi: added abi fuzzer
      
      * accounts/abi: fixed issues found by fuzzing
      
      * tests/fuzzers/abi: update fuzzers, added repro test
      
      * tests/fuzzers/abi: renamed abi_fuzzer to abifuzzer
      
      * tests/fuzzers/abi: updated abi fuzzer
      
      * tests/fuzzers/abi: updated abi fuzzer
      
      * accounts/abi: minor style fix
      
      * go.mod: added go-fuzz dependency
      
      * tests/fuzzers/abi: updated abi fuzzer
      
      * tests/fuzzers/abi: make linter happy
      
      * tests/fuzzers/abi: make linter happy
      
      * tests/fuzzers/abi: comment out false positives
      Unverified
      89884dc3
  23. Sep 01, 2020
  24. Aug 26, 2020
  25. Jul 24, 2020
  26. Jul 08, 2020
  27. Jul 07, 2020
  28. Jun 30, 2020
  29. Jun 19, 2020
  30. Jun 18, 2020
  31. Jun 11, 2020
  32. Jun 08, 2020
  33. Jun 04, 2020
  34. Jun 03, 2020
    • kilic's avatar
      core/vm, crypto/bls12381, params: add bls12-381 elliptic curve precompiles (#21018) · 4fc67854
      kilic authored
      
      * crypto: add bls12-381 elliptic curve wrapper
      
      * params: add bls12-381 precompile gas parameters
      
      * core/vm: add bls12-381 precompiles
      
      * core/vm: add bls12-381 precompile tests
      
      * go.mod, go.sum: use latest bls12381 lib
      
      * core/vm: move point encode/decode functions to base library
      
      * crypto/bls12381: introduce bls12-381 library init function
      
      * crypto/bls12381: import bls12381 elliptic curve implementation
      
      * go.mod, go.sum: remove bls12-381 library
      
      * remove unsued frobenious coeffs
      
      supress warning for inp that used in asm
      
      * add mappings tests for zero inputs
      
      fix swu g2 minus z inverse constant
      
      * crypto/bls12381: fix typo
      
      * crypto/bls12381: better comments for bls12381 constants
      
      * crypto/bls12381: swu, use single conditional for e2
      
      * crypto/bls12381: utils, delete empty line
      
      * crypto/bls12381: utils, use FromHex for string to big
      
      * crypto/bls12381: g1, g2, strict length check for FromBytes
      
      * crypto/bls12381: field_element, comparision changes
      
      * crypto/bls12381: change swu, isogeny constants with hex values
      
      * core/vm: fix point multiplication comments
      
      * core/vm: fix multiexp gas calculation and lookup for g1 and g2
      
      * core/vm: simpler imput length check for multiexp and pairing precompiles
      
      * core/vm: rm empty multiexp result declarations
      
      * crypto/bls12381: remove modulus type definition
      
      * crypto/bls12381: use proper init function
      
      * crypto/bls12381: get rid of new lines at fatal desciprtions
      
      * crypto/bls12-381: fix no-adx assembly multiplication
      
      * crypto/bls12-381: remove old config function
      
      * crypto/bls12381: update multiplication backend
      
      this commit changes mul backend to 6limb eip1962 backend
      
      mul assign operations are dropped
      
      * core/vm/contracts_tests: externalize test vectors for precompiles
      
      * core/vm/contracts_test: externalize failure-cases for precompiles
      
      * core/vm: linting
      
      * go.mod: tiny up sum file
      
      * core/vm: fix goimports linter issues
      
      * crypto/bls12381: build tags for plain ASM or ADX implementation
      
      Co-authored-by: default avatarMartin Holst Swende <martin@swende.se>
      Co-authored-by: default avatarPéter Szilágyi <peterke@gmail.com>
      Unverified
      4fc67854
  35. Jun 02, 2020
    • rene's avatar
      metrics: replace gosigar with gopsutil (#21041) · a35382de
      rene authored
      * replace gosigar with gopsutil
      
      * removed check for whether GOOS is openbsd
      
      * removed accidental import of runtime
      
      * potential fix for difference in units between gosig and gopsutil
      
      * fixed lint error
      
      * remove multiplication factor
      
      * uses cpu.ClocksPerSec as the multiplication factor
      
      * changed dependency from shirou to renaynay (#20)
      
      * updated dep
      
      * switching back from using renaynay fork to using upstream as PRs were merged on upstream
      
      * removed empty line
      
      * optimized imports
      
      * tidied go mod
      Unverified
      a35382de
Loading