- Aug 14, 2020
-
-
Péter Szilágyi authored
-
Martin Holst Swende authored
# Conflicts: # eth/downloader/statesync.go
-
Martin Holst Swende authored
# Conflicts: # eth/downloader/statesync.go
-
gary rong authored
* les: close all connected les-server when shutdown * les: linter nitpick Co-authored-by:
Martin Holst Swende <martin@swende.se> # Conflicts: # les/peer.go # les/server.go # les/server_handler.go
-
Martin Holst Swende authored
-
Péter Szilágyi authored
# Conflicts: # eth/downloader/statesync.go
-
Martin Holst Swende authored
# Conflicts: # les/checkpointoracle/oracle.go
-
Péter Szilágyi authored
* cmd/utils: grant snapshot cache to trie if disabled * eth: fix up default non-mainnet cache distribution # Conflicts: # cmd/utils/flags.go # eth/config.go
-
timcooijmans authored
-
rene authored
* chaincmd should make config nodes instead of full nodes * add documentation for using makeConfigNode instead of makeFullNode; * add documentation to functions * code style # Conflicts: # cmd/geth/config.go
-
rene authored
* should fix import / export issues related to DB unavailability * document reason for makeConfigNode * fix comment * comment consistency * remove comments * lint
-
rene authored
* eth65 tests linted * remove non-latest eth light tests # Conflicts: # eth/downloader/downloader_test.go
-
Robert Zaremba authored
# Conflicts: # core/blockchain.go
-
Felix Lange authored
This adds a lock around requests because some routers can't handle concurrent requests. Requests are also rate-limited. The Map function request a new mapping exactly when the map timeout occurs instead of 5 minutes earlier. This should prevent duplicate mappings.
-
Martin Holst Swende authored
# Conflicts: # core/vm/contract.go
-
Martin Holst Swende authored
Fixes #21403
-
Hao Duan authored
* core: avoid modification of accountSet cache in tx_pool when runReorg, we may copy the dirtyAccounts' accountSet cache to promoteAddrs in which accounts will be promoted, however, if we have reset request at the same time, we may reuse promoteAddrs and modify the cache content which is against the original intention of accountSet cache. So, we need to make a new slice here to avoid modify accountSet cache. * core: fix flatten condition + comment Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Adam Schmideg authored
Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Natsu Kagami authored
* Handle hex strings for bytesX types * Add tests for parseBytes * Improve tests * Return nil bytes if error is non-nil * Right-pad instead of left-pad bytes * More tests
-
rene authored
This PR significantly changes the APIs for instantiating Ethereum nodes in a Go program. The new APIs are not backwards-compatible, but we feel that this is made up for by the much simpler way of registering services on node.Node. You can find more information and rationale in the design document: https://gist.github.com/renaynay/5bec2de19fde66f4d04c535fd24f0775. There is also a new feature in Node's Go API: it is now possible to register arbitrary handlers on the user-facing HTTP server. In geth, this facility is used to enable GraphQL. There is a single minor change relevant for geth users in this PR: The GraphQL API is no longer available separately from the JSON-RPC HTTP server. If you want GraphQL, you need to enable it using the ./geth --http --graphql flag combination. The --graphql.port and --graphql.addr flags are no longer available. # Conflicts: # cmd/faucet/faucet.go # cmd/geth/chaincmd.go # cmd/geth/config.go # cmd/geth/consolecmd.go # cmd/geth/main.go # cmd/utils/flags.go # cmd/wnode/main.go # core/rawdb/freezer.go # eth/api_backend.go # eth/backend.go # ethclient/ethclient_test.go # ethstats/ethstats.go # graphql/service.go # internal/ethapi/backend.go # les/api_backend.go # les/api_test.go # les/checkpointoracle/oracle.go # les/client.go # les/commons.go # les/server.go # miner/stresstest/stress_clique.go # miner/stresstest/stress_ethash.go # mobile/geth.go # node/api.go # node/node.go # node/node_example_test.go # node/node_test.go # node/rpcstack.go # node/rpcstack_test.go # node/service.go # node/service_test.go # node/utils_test.go # p2p/simulations/examples/ping-pong.go # p2p/testing/peerpool.go # p2p/testing/protocolsession.go # p2p/testing/protocoltester.go # whisper/mailserver/server_test.go # whisper/whisperv6/api_test.go # whisper/whisperv6/filter_test.go # whisper/whisperv6/whisper.go # whisper/whisperv6/whisper_test.go
-
- Aug 12, 2020
-
-
Natsu Kagami authored
* Do not check for a non-nil ChainId * Add encoding test
-
rene authored
Resolves #20163 Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Felix Lange authored
Found by @protolambda
-
meowsbits authored
# Conflicts: # core/rawdb/freezer.go
-
ucwong authored
This replaces the two-stage shutdown scheme with the one we use almost everywhere else: a single quit channel signalling termination. Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Julian Y authored
* Disable symbol table and DWARF generation by default. Trimpath if compiling with Go >= 1.13 * Set Go to minimum version 1.13. Revert debug symbol changes. # Conflicts: # build/ci.go
-
rene authored
* init notes removed some mentions of eth62, bumped protocol err too old to >=63 * remove sanity checks and bump supported protocol version up to 63 * remove 62 tests, still need to add 65 * remove 65 tests # Conflicts: # eth/downloader/downloader_test.go # eth/downloader/peer.go
-
gary rong authored
# Conflicts: # les/fetcher_test.go
-
Robert Zaremba authored
This reduces complexity of some lengthy functions in worker.go, making the code easier to read. # Conflicts: # miner/worker.go
-
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 # Conflicts: # cmd/geth/retesteth.go # consensus/clique/clique.go # consensus/consensus.go # consensus/ethash/consensus.go # consensus/ethash/sealer.go # eth/fetcher/block_fetcher.go # eth/fetcher/block_fetcher_test.go # eth/handler.go # les/client.go # les/client_handler.go # les/clientpool.go # les/fetcher.go # les/odr_test.go # les/peer.go # les/server.go # les/server_handler.go # les/test_helper.go # les/utils/expiredvalue.go # les/utils/expiredvalue_test.go
-
Péter Szilágyi authored
# Conflicts: # core/types/transaction.go # core/types/transaction_test.go
-
Hendrik Hofstadt authored
# Conflicts: # core/types/transaction.go # core/types/transaction_test.go
-
gary rong authored
* cmd, core, eth, light, trie: dump clean cache periodically * eth: update config * trie: minor fix * core, trie: address comments * eth: remove useless * trie: print clean cache dump start too Co-authored-by:
Péter Szilágyi <peterke@gmail.com> # Conflicts: # core/blockchain.go # core/genesis.go # core/state/database.go # eth/api_tracer.go # eth/backend.go # eth/config.go # light/postprocess.go # trie/database.go
-
6543 authored
# Conflicts: # cmd/faucet/faucet.html
-
Igor Mandrigin authored
-
Alex Sharov authored
-
Alex Sharov authored
-
- Aug 11, 2020
-
-
Evgeny Danilenko authored
* implementation * tidy gomod * linters * fix cmd test * fix * fix lint
-
ledgerwatch authored
-
Alex Sharov authored
-