plugeth/eth
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
..
downloader eth/downloader: remove eth62 (#21378) 2020-07-29 13:47:19 +03:00
fetcher les: implement new les fetcher (#20692) 2020-07-28 18:02:35 +03:00
filters all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00
gasprice eth/gasprice: lighter gas price oracle for light client (#20409) 2020-07-03 14:50:35 +02:00
tracers core/vm: less allocations for various call variants (#21222) 2020-07-16 15:06:19 +03:00
api_backend.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00
api_test.go eth: add debug_accountRange API (#19645) 2020-03-31 12:08:44 +02:00
api_tracer.go cmd, core, eth, light, trie: dump clean cache periodically (#20391) 2020-07-28 16:30:31 +03:00
api.go eth: add debug_accountRange API (#19645) 2020-03-31 12:08:44 +02:00
backend.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00
bloombits.go les: historical data garbage collection (#19570) 2020-07-13 11:02:54 +02:00
config.go cmd, core, eth, light, trie: dump clean cache periodically (#20391) 2020-07-28 16:30:31 +03:00
discovery.go cmd/geth: enable DNS discovery by default (#20660) 2020-02-13 15:38:30 +02:00
gen_config.go cmd, core, eth, light, trie: dump clean cache periodically (#20391) 2020-07-28 16:30:31 +03:00
handler_test.go eth: increase timeout in TestBroadcastBlock (#21299) 2020-07-08 11:50:26 +02:00
handler.go les: implement new les fetcher (#20692) 2020-07-28 18:02:35 +03:00
helper_test.go cmd, core, eth: background transaction indexing (#20302) 2020-05-11 18:58:43 +03:00
peer.go eth: don't block if transaction broadcast loop fails (#21255) 2020-06-24 13:54:13 +03:00
protocol_test.go cmd, core, eth: background transaction indexing (#20302) 2020-05-11 18:58:43 +03:00
protocol.go eth: rework tx fetcher to use O(1) ops + manage network requests 2020-02-13 15:27:15 +02:00
sync_test.go eth: improve shutdown synchronization (#20695) 2020-03-27 15:03:20 +02:00
sync.go eth: interrupt chain insertion on shutdown (#21114) 2020-05-26 21:37:37 +02:00