plugeth/cmd/geth
rene c0c01612e9
node: refactor package node (#21105)
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.
2020-08-03 19:40:46 +02:00
..
testdata cmd/geth: LES priority client test (#20719) 2020-07-01 10:31:11 +02:00
accountcmd_test.go accounts/keystore: fix double import race (#20915) 2020-04-22 12:52:29 +03:00
accountcmd.go cmd: abstract getPassPhrase functions into one (#21219) 2020-06-30 09:56:40 +02:00
chaincmd.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00
config.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00
consolecmd_test.go cmd/geth, cmd/puppeth: replace deprecated rpc and ws flags in tests and docs (#21317) 2020-07-09 17:48:40 +02:00
consolecmd.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00
dao_test.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00
genesis_test.go cmd/geth: fix the fork orders for DAO tests 2020-06-03 12:17:54 +03:00
les_test.go cmd/geth, cmd/puppeth: replace deprecated rpc and ws flags in tests and docs (#21317) 2020-07-09 17:48:40 +02:00
main.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00
misccmd.go cmd/geth: remove network id from version cmd 2019-11-25 06:17:45 -05:00
retesteth_copypaste.go cmd: Add retesteth command (to support execution and generation of tests via retesteth) (#19631) 2019-06-05 14:03:23 +02:00
retesteth.go les: implement new les fetcher (#20692) 2020-07-28 18:02:35 +03:00
run_test.go all: make unit tests work with Go 1.13 (#20053) 2019-09-11 14:41:22 +02:00
usage.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00