good morning!!!!

Skip to content
Snippets Groups Projects
  1. Feb 22, 2022
  2. Dec 15, 2021
  3. Oct 14, 2021
  4. Oct 12, 2021
  5. Sep 08, 2021
  6. Jul 20, 2021
  7. Jul 17, 2021
  8. Jul 09, 2021
  9. Jun 26, 2021
  10. Jun 04, 2021
  11. May 20, 2021
  12. Mar 29, 2021
  13. Mar 18, 2021
  14. Mar 17, 2021
  15. Mar 14, 2021
  16. Mar 09, 2021
    • Alex Prut's avatar
      all: remove unneeded parentheses (#21921) · 1fb76cca
      Alex Prut authored
      * remove uneeded convertion type
      
      * remove redundant type in composite literal
      
      * omit explicit type where implicit
      
      * remove unused redundant parenthesis
      
      * remove redundant import alias duktape
      # Conflicts:
      #	core/state/snapshot/conversion.go
      #	eth/tracers/tracer.go
      #	metrics/cpu_syscall.go
      #	trie/trie_test.go
      1fb76cca
    • Martin Holst Swende's avatar
      core: implement background trie prefetcher · 6c3d78d0
      Martin Holst Swende authored
      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
      
      # Conflicts:
      #	core/blockchain.go
      #	core/state/database.go
      #	core/state/state_object.go
      #	core/state/statedb.go
      6c3d78d0
    • Marius van der Wijden's avatar
      crypto: fix ineffectual assignments (#22124) · 9f29fe3e
      Marius van der Wijden authored
      * crypto/bls12381: fixed ineffectual assignment
      
      * crypto/signify: fix ineffectual assignment
      9f29fe3e
    • Martin Holst Swende's avatar
      common,crypto: move fuzzers out of core (#22029) · 5d418f31
      Martin Holst Swende authored
      * common,crypto: move fuzzers out of core
      
      * fuzzers: move vm fuzzer out from core
      
      * fuzzing: rework cover package logic
      
      * fuzzers: lint
      5d418f31
  17. Mar 08, 2021
  18. Mar 03, 2021
  19. Aug 22, 2020
  20. Aug 08, 2020
  21. Aug 07, 2020
    • Marius van der Wijden's avatar
      core: types: less allocations when hashing and tx handling (#21265) · 9de56002
      Marius van der Wijden authored
      
      * core, crypto: various allocation savings regarding tx handling
      
      * core: reduce allocs for gas price comparison
      
      This change reduces the allocations needed for comparing different transactions to each other.
      A call to `tx.GasPrice()` copies the gas price as it has to be safe against modifications and
      also needs to be threadsafe. For comparing and ordering different transactions we don't need
      these guarantees
      
      * core: added tx.GasPriceIntCmp for comparison without allocation
      
      adds a method to remove unneeded allocation in comparison to tx.gasPrice
      
      * core/types: pool legacykeccak256 objects in rlpHash
      
      rlpHash is by far the most used function in core that allocates a legacyKeccak256 object on each call.
      Since it is so widely used it makes sense to add pooling here so we relieve the GC.
      On my machine these changes result in > 100 MILLION less allocations and > 30 GB less allocated memory.
      
      * reverted some changes
      
      * reverted some changes
      
      * trie: use crypto.KeccakState instead of replicating code
      
      Co-authored-by: default avatarMartin Holst Swende <martin@swende.se>
      # Conflicts:
      #	core/tx_list.go
      #	core/tx_pool.go
      #	core/types/block.go
      #	core/types/transaction.go
      #	trie/committer.go
      #	trie/hasher.go
      9de56002
    • Felix Lange's avatar
      crypto/secp256k1: enable 128-bit int code and endomorphism optimization (#21203) · bc23fc13
      Felix Lange authored
      * crypto/secp256k1: enable use of __int128
      
      This speeds up scalar & field calculations a lot.
      
      * crypto/secp256k1: enable endomorphism optimization
      bc23fc13
    • Yang Hau's avatar
      build, internal/ethapi, crypto/bls12381: fix typos (#21210) · e6056c0a
      Yang Hau authored
      speicifc -> specific
      assigened -> assigned
      frobenious -> frobenius
      e6056c0a
  22. Jun 15, 2020
    • Igor Mandrigin's avatar
      post-rebase fixups · 93f6c4c0
      Igor Mandrigin authored
      93f6c4c0
    • Marius van der Wijden's avatar
      core/vm, crypt/bls12381: fixed comments in bls (#21182) · cc69b768
      Marius van der Wijden authored
      * core/vm: crypto/bls12381: minor code comments
      
      * crypto/bls12381: fix comment
      cc69b768
    • kilic's avatar
      core/vm, crypto/bls12381, params: add bls12-381 elliptic curve precompiles (#21018) · 0921861e
      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>
      # Conflicts:
      #	core/vm/contracts.go
      #	core/vm/contracts_test.go
      #	go.sum
      0921861e
  23. Jun 05, 2020
  24. Jun 04, 2020
Loading