bsc/eth
Martin Holst Swende 6289137827
consensus/clique, core: API cleanup (#23100)
This removes some code:

- The clique engine calculated the snapshot twice when verifying headers/blocks.

- The method GetBlockHashesFromHash in Header/Block/Lightchain was only used by tests. It
  is now removed from the API.
  
- The method GetTdByHash internally looked up the number before calling GetTd(hash, num).
  In many cases, callers already had the number, and used this method just because it has a
  shorter name. I have removed the method to make the API surface smaller.
2021-10-11 23:16:46 +02:00
..
catalyst params: changed CatalystBlock to TerminalTotalDifficulty (#23700) 2021-10-11 18:58:11 +03:00
downloader Revert "Revert "eth: drop eth/65, the last non-reqid protocol version" (#23426)" (#23456) 2021-08-24 21:52:58 +03:00
ethconfig eth/gasprice: feeHistory improvements (#23422) 2021-08-23 23:50:24 +02:00
fetcher eth/fetcher, trie: unit test reliability fixes (#23020) 2021-06-30 22:24:17 +02:00
filters eth/filters: fix TestPendingLogsSubscription (#23619) 2021-10-04 14:09:51 +02:00
gasprice eth/gasprice: avoid modifying TestChainConfig (#23204) 2021-10-11 01:52:30 +02:00
protocols consensus/clique, core: API cleanup (#23100) 2021-10-11 23:16:46 +02:00
tracers params: changed CatalystBlock to TerminalTotalDifficulty (#23700) 2021-10-11 18:58:11 +03:00
api_backend.go consensus/clique, core: API cleanup (#23100) 2021-10-11 23:16:46 +02:00
api_test.go cmd/geth, eth, core: snapshot dump + unify with trie dump (#22795) 2021-05-12 11:05:39 +03:00
api.go internal/ethapi: use correct signer when serving old blocks (#23683) 2021-10-07 15:51:14 +02:00
backend.go eth: close miner on exit (instead of just stopping) (#21992) 2021-10-08 18:36:58 +02:00
bloombits.go eth: move eth.Config to a common package (#22205) 2021-02-05 13:51:15 +01:00
discovery.go cmd/utils: use eth DNS tree for snap discovery (#22808) 2021-05-04 11:29:32 +02:00
handler_eth_test.go miner: fix data race during shutdown (#23435) 2021-10-08 20:12:52 +02:00
handler_eth.go eth: check snap satelliteness, delegate drop to eth (#22235) 2021-02-02 10:44:36 +02:00
handler_snap.go eth: check snap satelliteness, delegate drop to eth (#22235) 2021-02-02 10:44:36 +02:00
handler_test.go core, eth, miner: enforce configured mining reward post 1559 too 2021-06-04 10:18:37 +03:00
handler.go Revert "Revert "eth: drop eth/65, the last non-reqid protocol version" (#23426)" (#23456) 2021-08-24 21:52:58 +03:00
peer.go eth: check snap satelliteness, delegate drop to eth (#22235) 2021-02-02 10:44:36 +02:00
peerset.go eth: don't wait for snap registration if we're not running snap (#22272) 2021-02-05 14:15:22 +01:00
state_accessor.go eth/tracers: avoid unsyncronized mutations on trie database (#23632) 2021-09-28 13:06:19 +02:00
sync_test.go Revert "Revert "eth: drop eth/65, the last non-reqid protocol version" (#23426)" (#23456) 2021-08-24 21:52:58 +03:00
sync.go consensus/clique, core: API cleanup (#23100) 2021-10-11 23:16:46 +02:00