good morning!!!!

Skip to content
Snippets Groups Projects
  1. Jul 28, 2020
    • Gary Rong's avatar
      les: implement new les fetcher (#20692) · 28c5a8a5
      Gary Rong authored
      * cmd, consensus, eth, les: implement light fetcher
      
      * les: address comment
      
      * les: address comment
      
      * les: address comments
      
      * les: check td after delivery
      
      * les: add linearExpiredValue for error counter
      
      * les: fix import
      
      * les: fix dead lock
      
      * les: order announces by td
      
      * les: encapsulate invalid counter
      
      * les: address comment
      
      * les: add more checks during the delivery
      
      * les: fix log
      
      * eth, les: fix lint
      
      * eth/fetcher: address comment
      28c5a8a5
  2. Jul 21, 2020
  3. Jul 13, 2020
  4. Jul 02, 2020
  5. Jul 01, 2020
  6. Jun 17, 2020
  7. May 25, 2020
  8. May 22, 2020
    • Zsolt Felföldi's avatar
      les, les/lespay: implement new server pool (#20758) · b4a26811
      Zsolt Felföldi authored
      This PR reimplements the light client server pool. It is also a first step
      to move certain logic into a new lespay package. This package will contain
      the implementation of the lespay token sale functions, the token buying and
      selling logic and other components related to peer selection/prioritization
      and service quality evaluation. Over the long term this package will be
      reusable for incentivizing future protocols.
      
      Since the LES peer logic is now based on enode.Iterator, it can now use
      DNS-based fallback discovery to find servers.
      
      This document describes the function of the new components:
      https://gist.github.com/zsfelfoldi/3c7ace895234b7b345ab4f71dab102d4
      b4a26811
  9. May 12, 2020
  10. May 01, 2020
  11. Apr 24, 2020
  12. Apr 22, 2020
    • Gary Rong's avatar
      all: seperate consensus error and evm internal error (#20830) · b9df7ecd
      Gary Rong authored
      * all: seperate consensus error and evm internal error
      
      There are actually two types of error will be returned when
      a tranaction/message call is executed: (a) consensus error
      (b) evm internal error. The former should be converted to
      a consensus issue, e.g. The sender doesn't enough asset to
      purchase the gas it specifies. The latter is allowed since
      evm itself is a blackbox and internal error is allowed to happen.
      
      This PR emphasizes the difference by introducing a executionResult
      structure. The evm error is embedded inside. So if any error
      returned, it indicates consensus issue happens.
      
      And also this PR improve the `EstimateGas` API to return the concrete
      revert reason if the transaction always fails
      
      * all: polish
      
      * accounts/abi/bind/backends: add tests
      
      * accounts/abi/bind/backends, internal: cleanup error message
      
      * all: address comments
      
      * core: fix lint
      
      * accounts, core, eth, internal: address comments
      
      * accounts, internal: resolve revert reason if possible
      
      * accounts, internal: address comments
      b9df7ecd
  13. Apr 20, 2020
  14. Apr 15, 2020
    • Martin Holst Swende's avatar
      all: simplify and fix database iteration with prefix/start (#20808) · 6402c42b
      Martin Holst Swende authored
      * core/state/snapshot: start fixing disk iterator seek
      
      * ethdb, rawdb, leveldb, memorydb: implement iterators with prefix and start
      
      * les, core/state/snapshot: iterator fixes
      
      * all: remove two iterator methods
      
      * all: rename Iteratee.NewIteratorWith -> NewIterator
      
      * ethdb: fix review concerns
      6402c42b
    • Gary Rong's avatar
      accounts/abi: implement new fallback functions (#20764) · 00064ddc
      Gary Rong authored
      
      * accounts/abi: implement new fackball functions
      
      In Solidity v0.6.0, the original fallback is separated
      into two different sub types: fallback and receive.
      
      This PR addes the support for parsing new format abi
      and the relevant abigen functionalities.
      
      * accounts/abi: fix unit tests
      
      * accounts/abi: minor fixes
      
      * accounts/abi, mobile: support jave binding
      
      * accounts/abi: address marius's comment
      
      * accounts/abi: Work around the uin64 conversion issue
      
      Co-authored-by: default avatarGuillaume Ballet <gballet@gmail.com>
      00064ddc
  15. Apr 09, 2020
  16. Apr 07, 2020
  17. Apr 02, 2020
  18. Mar 31, 2020
    • Gary Rong's avatar
      les: create utilities as common package (#20509) · f78ffc05
      Gary Rong authored
      * les: move execqueue into utilities package
      
      execqueue is a util for executing queued functions
      in a serial order which is used by both les server
      and les client. Move it to common package.
      
      * les: move randselect to utilities package
      
      weighted_random_selector is a helpful tool for randomly select
      items maintained in a set but based on the item weight.
      
      It's used anywhere is LES package, mainly by les client but will
      be used in les server with very high chance. So move it into a
      common package as the second step for les separation.
      
      * les: rename to utils
      f78ffc05
  19. Mar 27, 2020
  20. Mar 23, 2020
    • Martin Holst Swende's avatar
      internal/ethapi: don't set sender-balance to maxuint, fixes #16999 (#20783) · 39f50232
      Martin Holst Swende authored
      Prior to this change, eth_call changed the balance of the sender account in the
      EVM environment to 2^256 wei to cover the gas cost of the call execution.
      We've had this behavior for a long time even though it's super confusing.
      
      This commit sets the default call gasprice to zero instead of updating the balance,
      which is better because it makes eth_call semantics less surprising. Removing
      the built-in balance assignment also makes balance overrides work as expected.
      39f50232
  21. Mar 12, 2020
  22. Feb 26, 2020
  23. Feb 25, 2020
  24. Feb 20, 2020
  25. Feb 18, 2020
  26. Feb 11, 2020
  27. Jan 08, 2020
  28. Jan 07, 2020
    • Gary Rong's avatar
      les/checkpointoracle: move oracle into its own package (#20508) · c6285e64
      Gary Rong authored
      * les: move the checkpoint oracle into its own package
      
      It's first step of refactor LES package. LES package
      basically can be divided into LES client and LES server.
      However both sides will use checkpoint package for
      status retrieval and verification. So this PR moves
      checkpoint oracle into a separate package
      
      * les: address comments
      c6285e64
  29. Dec 25, 2019
  30. Dec 10, 2019
  31. Dec 06, 2019
    • Martin Holst Swende's avatar
      consensus/ethash, params: eip-2384: bump difficulty bomb (#20347) · bc01593a
      Martin Holst Swende authored
      * consensus/ethash, params: implement eip-2384: bump difficulty bomb
      
      * params: EIP 2384 compat checks
      
      * consensus, params: add Muir Glacier block number (mainnet,ropsten) + official name
      
      * core/forkid: forkid tests for muir glacier
      
      * params/config: address review concerns
      
      * params, core/forkid: review nitpicks
      
      * cmd/geth,eth,les: add override option for muir glacier
      
      * params: nit fix
      bc01593a
  32. Nov 27, 2019
  33. Nov 26, 2019
  34. Nov 19, 2019
  35. Nov 18, 2019
    • Zsolt Felföldi's avatar
    • Felix Lange's avatar
      build: use golangci-lint (#20295) · 68948644
      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
      68948644
  36. Nov 13, 2019
  37. Nov 06, 2019
  38. Nov 02, 2019
Loading