good morning!!!!

Skip to content
Snippets Groups Projects
  1. Apr 26, 2022
  2. Apr 23, 2022
  3. Feb 22, 2022
  4. Jan 13, 2022
  5. Dec 06, 2021
  6. Oct 07, 2021
    • Igor Mandrigin's avatar
      Stable 2021 10 02 (#2794) · 8b4d31f6
      Igor Mandrigin authored
      
      * begin 2021.10.2 release cycle
      
      * Revert "rpcdaemon: (#2752)" (#2762)
      
      This reverts commit 2afd028d.
      
      * Pool v2: --txpool.pricelimit support (#2763)
      
      * --txpoo.pricelimit support
      
      * Pool v2: --txpool.accountslots flag support (#2765)
      
      * Update signal_windows.go (#2767)
      
      Trap os.interrupt instead of SIGINT and SIGTERM
      
      * Update stage_finish.go : notifications to rpc daemon (#2755)
      
      * Dockerfile: switch to go1.17 and alpine3.14 (#2766)
      
      * add logs in recoverFromDb func (#2769)
      
      * eip 1559 in miner (#2773)
      
      * Inner errors (#2774)
      
      * Clean up DEBUG category logs (#2776)
      
      - move many DEBUG logs into TRACE category
      
      * Decoding incarnation implemented (#2764)
      
      * WIP decoding incarnation specifically
      
      * Changed decodeIncarnation to be an external function
      
      * added tests to for decoding incarnations
      
      * ran gofmt -w -s
      
      * changed test name, and changed incarnations to 4
      
      * Created a test which tests if it returns an error when there is one
      
      * ran gofmt
      
      * Capitalized all tests and made breaking test
      
      * added an error check
      
      * changed decodingForStorage for decodingIncarnationFromStorage
      
      * ran gofmt -w -s
      
      * No senders is fine (#2775)
      
      * IntermediateHash stage - switch from incremental to re-generate mode - if jump > 100K blocks (#2781)
      
      * Enable "State stream" by default (#2780)
      
      * No json rpc streaming (#2779)
      
      * reduce_bach_concurrency_default
      
      * RPCDaemon: reduce --rpc.batch.concurrency default from 50 to 2 (#2784)
      
      * Integration to print right stage in logs (#2785)
      
      * remove debug prints
      
      * RemoteDB: don't spend time to close cursors on end of tx - server will cleanup everything well (#2786)
      
      * Fermion genesis block (#2787)
      
      * updated Fermion genesis block
      
      * Updated Fermion genesis block: added precompiles
      
      * Rpcdaemon: add  --tevm flag to enable experiment (#2788)
      
      * Reworkings of state compression experiments (#2790)
      
      * Changes
      
      * Progress
      
      * Another way
      
      * More
      
      * More
      
      * Produce encoding
      
      * Add uncoded characters
      
      * cleanup
      
      * Add sortdict
      
      * Fixes
      
      * Use patricia from erigon-lib
      
      * Cleanup
      
      * Switch to dynamic programming, optimise allocations in FindMatches
      
      * Optimise allocations
      
      * Reduce allocations
      
      * Switch to main branch of erigon-lib, reduce allocations further
      
      Co-authored-by: default avatarAlexey Sharp <alexeysharp@Alexeys-iMac.local>
      Co-authored-by: default avatarAlex Sharp <alexsharp@Alexs-MacBook-Pro.local>
      
      * Ignore MaxPeers param for staticpeers (#2789)
      
      Co-authored-by: default avatarAleksandr Borodulin <a.borodulin@axioma.lv>
      
      * less warnings
      
      * Update skip_analysis.go (#2792)
      
      * Extend preverified hashes for mainnet and ropsten (#2793)
      
      Co-authored-by: default avatarAlexey Sharp <alexeysharp@Alexeys-iMac.local>
      
      Co-authored-by: default avatarAlex Sharov <AskAlexSharov@gmail.com>
      Co-authored-by: default avatarAndrea Lanfranchi <andrea.lanfranchi@gmail.com>
      Co-authored-by: default avatarEnrique Jose Avila Asapche <eavilaasapche@gmail.com>
      Co-authored-by: default avatare-danko <89912851+e-danko@users.noreply.github.com>
      Co-authored-by: default avatarledgerwatch <akhounov@gmail.com>
      Co-authored-by: default avatarAlexey Sharp <alexeysharp@Alexeys-iMac.local>
      Co-authored-by: default avatarAlex Sharp <alexsharp@Alexs-MacBook-Pro.local>
      Co-authored-by: default avatarAlexandr Borodulin <sashaborodulin@gmail.com>
      Co-authored-by: default avatarAleksandr Borodulin <a.borodulin@axioma.lv>
  7. Oct 04, 2021
  8. Sep 15, 2021
  9. Jun 18, 2021
  10. Jun 04, 2021
  11. May 20, 2021
    • Alex Sharov's avatar
      rename (#1978) · 0be3044b
      Alex Sharov authored
      * rename
      
      * rename "make grpc"
      
      * rename "abi bindings templates"
      
      * rename "abi bindings templates"
      0be3044b
  12. Apr 22, 2021
    • ledgerwatch's avatar
      Aleut support (Eip1559) (#1704) · 12cde417
      ledgerwatch authored
      
      * Where I am at
      
      * Refactoring of transaction types
      
      * More refactoring
      
      * Use Homested signer in rpc daemon
      
      * Unified signer
      
      * Continue unified signer
      
      * A bit more
      
      * Fixes and down the rabbit hole...
      
      * More tx pool fixes
      
      * More refactoring fixes
      
      * More fixes'
      
      * more fixes
      
      * More fixes
      
      * More compile fixes
      
      * More RLP hand-writing
      
      * Finish RLP encoding/decoding of transactions
      
      * Fixes to header encoding, start on protocol packets
      
      * Transaction decoding
      
      * Use DecodeTransaction function
      
      * Decoding BlockBodyPacket
      
      * Encode and decode for pool txs
      
      * Start fixing tests
      
      * Introduce SigningHash
      
      * Fixes to SignHash
      
      * RLP encoding fixes
      
      * Fixes for encoding/decoding
      
      * More test fixes
      
      * Fix more tests
      
      * More test fixes
      
      * More test fixes
      
      * Fix core tests
      
      * More fixes for signer
      
      * Fix for tx
      
      * Fixes to string encoding/size
      
      * Fix eip2930 test
      
      * Fix rest of ./tests
      
      * More fixes
      
      * Fix compilation
      
      * More test fixes
      
      * More test fixes
      
      * Test fixes
      
      * More fixes
      
      * Reuse EncodingSize in EncodeRLP for accessList
      
      * Rearrange things in dynamic fee tx
      
      * Add MarshalBinary
      
      * More fixes
      
      * Make V,R,S non-pointers
      
      * More NPE fixes
      
      * More fixes
      
      * Receipt fixes
      
      * Fix core/types
      
      * Fix ./eth
      
      * More compile fixes for tests
      
      * More test fixes
      
      * More test fixes
      
      * Try to see lint errors better
      
      * Try to see lint errors better
      
      * Fix lint
      
      * Debugging eip1559 test
      
      * Fix TestEIP1559Transition test
      
      * Fix NewBlockPacket encoding/decoding
      
      * Fix calculation of TxHash
      
      * Fix perf problem with senders
      
      * Update aleut config values
      
      * Try adding static peers
      
      * Add staticpeers to defaul flags
      
      * Change aleut networkID
      
      * Fix test
      
      Co-authored-by: default avatarAlex Sharp <alexsharp@Alexs-MacBook-Pro.local>
      Co-authored-by: default avatarAlexey Sharp <alexeysharp@Alexeys-iMac.local>
      12cde417
  13. Mar 29, 2021
  14. Mar 17, 2021
  15. Mar 10, 2021
  16. Mar 08, 2021
  17. Dec 03, 2020
    • Martin Holst Swende's avatar
      core/types, rlp: optimize derivesha (#21728) · 288f9bd4
      Martin Holst Swende authored
      
      This PR contains a minor optimization in derivesha, by exposing the RLP
      int-encoding and making use of it to write integers directly to a
      buffer (an RLP integer is known to never require more than 9 bytes
      total). rlp.AppendUint64 might be useful in other places too.
      
      The code assumes, just as before, that the hasher (a trie) will copy the
      key internally, which it does when doing keybytesToHex(key).
      
      Co-authored-by: default avatarFelix Lange <fjl@twurst.com>
      # Conflicts:
      #	core/types/derive_sha.go
      288f9bd4
  18. Oct 06, 2020
  19. Aug 08, 2020
  20. Aug 07, 2020
    • Felix Lange's avatar
      rlp: reduce allocations for big.Int and byte array encoding (#21291) · 483618a4
      Felix Lange authored
      This change further improves the performance of RLP encoding by removing
      allocations for big.Int and [...]byte types. I have added a new benchmark
      that measures RLP encoding of types.Block to verify that performance is
      improved.
      # Conflicts:
      #	core/types/block_test.go
      #	rlp/encode.go
      #	rlp/encode_test.go
      483618a4
    • Marius van der Wijden's avatar
      rlp: avoid list header allocation in encoder (#21274) · 6eaa9d34
      Marius van der Wijden authored
      
      List headers made up 11% of all allocations during sync. This change
      removes most of those allocations by keeping the list header values
      cached in the encoder buffer instead. Since encoder buffers are pooled,
      list headers are no longer allocated in the common case where an
      encoder buffer is available for reuse.
      
      Co-authored-by: default avatarFelix Lange <fjl@twurst.com>
      # Conflicts:
      #	rlp/encode.go
      6eaa9d34
  21. Jul 15, 2020
    • ledgerwatch's avatar
      Make cmd/tester initiate staged sync, remove some pools and caches (#746) · 3359ba7a
      ledgerwatch authored
      * no pools
      
      * Remove excessive logging
      
      * Revert
      
      * Initial commit
      
      * Cleanup
      
      * Fix some compile errors
      
      * Fix core tests
      
      * Fix more tests
      
      * Fix eth/downloader
      
      * go mod tidy
      
      * Fix core/vm
      
      * Fix formatting
      
      * Fix formatting
      
      * Fix lint
      
      * Fix lint
      
      * Switch tests to StagedSync
      
      * Cleanup
      
      * Reuse cache in stage4
      
      * Fix
      
      * Fix formatting
      
      * Try to fix test
      3359ba7a
  22. Jun 04, 2020
    • Andrew Ashikhmin's avatar
      Misc GC optimisations (#619) · 05e81184
      Andrew Ashikhmin authored
      * uint256 in rlp
      
      * uint256 rather than big.Int in Transation
      
      * linters
      
      * more linters
      
      * still linters
      
      * Reduce garbage in writeUint256
      
      * Experiment with GC in writeByteArray
      
      * Misc GC optimisations
      
      * unsafe experiment with writeByteArray
      05e81184
    • Andrew Ashikhmin's avatar
      [GC] uint256 rather than big.Int in Transaction (#614) · 33c28f7f
      Andrew Ashikhmin authored
      * uint256 in rlp
      
      * uint256 rather than big.Int in Transation
      
      * linters
      
      * more linters
      
      * still linters
      
      * Reduce garbage in writeUint256
      
      * Experiment with GC in writeByteArray
      33c28f7f
  23. May 20, 2020
    • Igor Mandrigin's avatar
      post-rebase fixups · 0dae3ade
      Igor Mandrigin authored
      0dae3ade
    • Martin Holst Swende's avatar
      cmd, core, eth: background transaction indexing (#20302) · f66c118c
      Martin Holst Swende authored
      
      * cmd, core, eth: init tx lookup in background
      
      * core/rawdb: tiny log fixes to make it clearer what's happening
      
      * core, eth: fix rebase errors
      
      * core/rawdb: make reindexing less generic, but more optimal
      
      * rlp: implement rlp list iterator
      
      * core/rawdb: new implementation of tx indexing/unindex using generic tx iterator and hashing rlp-data
      
      * core/rawdb, cmd/utils: fix review concerns
      
      * cmd/utils: fix merge issue
      
      * core/rawdb: add some log formatting polishes
      
      Co-authored-by: default avatarrjl493456442 <garyrong0905@gmail.com>
      Co-authored-by: default avatarPéter Szilágyi <peterke@gmail.com>
      # Conflicts:
      #	accounts/abi/bind/backends/simulated.go
      #	cmd/geth/main.go
      #	cmd/geth/usage.go
      #	cmd/utils/flags.go
      #	consensus/clique/snapshot_test.go
      #	core/bench_test.go
      #	core/block_validator_test.go
      #	core/blockchain.go
      #	core/blockchain_test.go
      #	core/chain_makers_test.go
      #	core/dao_test.go
      #	core/rawdb/accessors_indexes.go
      #	core/rawdb/schema.go
      #	eth/config.go
      #	eth/helper_test.go
      #	eth/sync.go
      #	light/odr_test.go
      #	light/trie_test.go
      #	light/txpool_test.go
      #	miner/worker_test.go
      #	tests/block_test_util.go
      f66c118c
  24. Dec 03, 2019
    • Felix Lange's avatar
      rlp: fix staticcheck warnings (#20368) · 5922c325
      Felix Lange authored
      * rlp: fix staticcheck warnings
      
      * rlp: fix ExampleDecode test
      5922c325
    • Felix Lange's avatar
      build: use golangci-lint (#20295) · 1314aeeb
      Felix Lange authored
      * build: use golangci-lint
      
      This changes build/ci.go to download and run golangci-lint instead
      of gometalinter.
      
      * core/state: fix unnecessary conversion
      
      * p2p/simulations: fix lock copying (found by go vet)
      
      * signer/core: fix unnecessary conversions
      
      * crypto/ecies: remove unused function cmpPublic
      
      * core/rawdb: remove unused function print
      
      * core/state: remove unused function xTestFuzzCutter
      
      * core/vm: disable TestWriteExpectedValues in a different way
      
      * core/forkid: remove unused function checksum
      
      * les: remove unused type proofsData
      
      * cmd/utils: remove unused functions prefixedNames, prefixFor
      
      * crypto/bn256: run goimports
      
      * p2p/nat: fix goimports lint issue
      
      * cmd/clef: avoid using unkeyed struct fields
      
      * les: cancel context in testRequest
      
      * rlp: delete unreachable code
      
      * core: gofmt
      
      * internal/build: simplify DownloadFile for Go 1.11 compatibility
      
      * build: remove go test --short flag
      
      * .travis.yml: disable build cache
      
      * whisper/whisperv6: fix ineffectual assignment in TestWhisperIdentityManagement
      
      * .golangci.yml: enable goconst and ineffassign linters
      
      * build: print message when there are no lint issues
      
      * internal/build: refactor download a bit
      1314aeeb
  25. Nov 04, 2019
  26. Nov 01, 2019
  27. Sep 13, 2019
    • Felix Lange's avatar
      rlp: improve nil pointer handling (#20064) · 96fb8391
      Felix Lange authored
      * rlp: improve nil pointer handling
      
      In both encoder and decoder, the rules for encoding nil pointers were a
      bit hard to understand, and didn't leave much choice. Since RLP allows
      two empty values (empty list, empty string), any protocol built on RLP
      must choose either of these values to represent the null value in a
      certain context.
      
      This change adds choice in the form of two new struct tags, "nilString"
      and "nilList". These can be used to specify how a nil pointer value is
      encoded. The "nil" tag still exists, but its implementation is now
      explicit and defines exactly how nil pointers are handled in a single
      place.
      
      Another important change in this commit is how nil pointers and the
      Encoder interface interact. The EncodeRLP method was previously called
      even on nil values, which was supposed to give users a choice of how
      their value would be handled when nil. It turns out this is a stupid
      idea. If you create a network protocol containing an object defined in
      another package, it's better to be able to say that the object should be
      a list or string when nil in the definition of the protocol message
      rather than defining the encoding of nil on the object itself.
      
      As of this commit, the encoding rules for pointers now take precedence
      over the Encoder interface rule. I think the "nil" tag will work fine
      for most cases. For special kinds of objects which are a struct in Go
      but strings in RLP, code using the object can specify the desired
      encoding of nil using the "nilString" and "nilList" tags.
      
      * rlp: propagate struct field type errors
      
      If a struct contained fields of undecodable type, the encoder and
      decoder would panic instead of returning an error. Fix this by
      propagating type errors in makeStruct{Writer,Decoder} and add a test.
      96fb8391
  28. May 14, 2019
    • Felix Lange's avatar
      rlp: fixes for two corner cases and documentation (#19527) · 8deec2e4
      Felix Lange authored
      These changes fix two corner cases related to internal handling of types
      in package rlp: The "tail" struct tag can only be applied to the last field.
      The check for this was wrong and didn't allow for private fields after the
      field with the tag. Unsupported types (e.g. structs containing int) which
      implement either the Encoder or Decoder interface but not both 
      couldn't be encoded/decoded.
      
      Also fixes #19367
      8deec2e4
  29. Feb 25, 2019
  30. Sep 11, 2018
  31. May 08, 2018
  32. Dec 11, 2017
  33. Aug 24, 2017
  34. Jun 12, 2017
  35. Mar 07, 2017
Loading