plugeth/eth
Felix Lange 836c647bdd
eth: unregister peer only when handler exits (#22908)
This removes the error log message that says 

    Ethereum peer removal failed ... err="peer not registered"

The error happened because removePeer was called multiple
times: once to disconnect the peer, and another time when the
handler exited. With this change, removePeer now has the sole
purpose of disconnecting the peer. Unregistering happens exactly
once, when the handler exits.
2021-05-25 22:20:36 +02:00
..
catalyst EIP-1559: miner changes (#22896) 2021-05-21 09:59:26 +02:00
downloader eth, p2p/msgrate: move peer QoS tracking to its own package and use it for snap (#22876) 2021-05-19 14:09:03 +02:00
ethconfig cmd/geth, eth/gasprice: add configurable threshold to gas price oracle (#22752) 2021-05-11 11:25:51 +02:00
fetcher eth/fetcher: avoid spurious timer events at startup (#22652) 2021-04-14 12:44:32 +02:00
filters eth/filters: fix comment on PublicFilterAPI timeoutLoop (#22782) 2021-04-30 13:00:48 +02:00
gasprice cmd/geth, eth/gasprice: add configurable threshold to gas price oracle (#22752) 2021-05-11 11:25:51 +02:00
protocols eth, p2p/msgrate: move peer QoS tracking to its own package and use it for snap (#22876) 2021-05-19 14:09:03 +02:00
tracers all: implement EIP-1559 (#22837) 2021-05-17 15:13:22 +02:00
api_backend.go core, eth, internal/ethapi: create access list RPC API (#22550) 2021-04-07 17:54:31 +03: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 cmd/geth, eth, core: snapshot dump + unify with trie dump (#22795) 2021-05-12 11:05:39 +03:00
backend.go all: define London+baikal, undefine yolov3, add london override flag (#22822) 2021-05-06 12:07:42 +03: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 eth: unregister peer only when handler exits (#22908) 2021-05-25 22:20:36 +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: split eth package, implement snap protocol (#21482) 2020-12-14 10:27:15 +01:00
handler.go eth: unregister peer only when handler exits (#22908) 2021-05-25 22:20:36 +02: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 all: implement EIP-1559 (#22837) 2021-05-17 15:13:22 +02:00
sync_test.go eth, les: drop support for eth/64, fix eth/66 tests 2021-04-09 10:39:45 +03:00
sync.go eth: fix corner case in sync head determination (#21695) 2021-03-26 18:06:25 +01:00