- Aug 14, 2020
-
-
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
-
Alex Sharov authored
-
Alex Sharov authored
-
Alex Sharov authored
-
Alex Sharov authored
-
Alex Sharov authored
-
Alex Sharov authored
-
ledgerwatch authored
-
alex.sharov authored
-
- Aug 10, 2020
-
-
Alex Sharov authored
-
Alex Sharov authored
-
Alex Sharov authored
-
Alex Sharov authored
-
Giulio Rebuffo authored
* add blockhashes stage * unwindOrder specified * fixed typo * added common.copybytes * fixed little typo * better progress * better progress * refactoring with etl * added blockhashes to disabled stages in cmd/integration * added migraations * fixed go.mod * better migrations * rename unwind * simplified migrations * added onloadcommit
-
Alex Sharov authored
-
Alex Sharov authored
-
Alex Sharov authored
-
- Aug 08, 2020
-
-
Igor Mandrigin authored
Geth 1.9.18
-
Igor Mandrigin authored
-
Hadrien Croubois authored
-