mirror of https://github.com/status-im/op-geth.git
4e36b1e3da
The transaction pool keeps track of the current nonce in its local pendingState. When a new block comes in the pendingState is reset. During the reset it fetches multiple times the current state through the use of the currentState callback. When a second block comes in during the reset its possible that the state changes during the reset. If that block holds transactions that are currently in the pool the local pendingState that is used to determine nonces can get out of sync. |
||
---|---|---|
.. | ||
flowcontrol | ||
api_backend.go | ||
backend.go | ||
fetcher.go | ||
handler.go | ||
handler_test.go | ||
helper_test.go | ||
metrics.go | ||
odr.go | ||
odr_peerset.go | ||
odr_requests.go | ||
odr_test.go | ||
peer.go | ||
protocol.go | ||
request_test.go | ||
server.go | ||
sync.go | ||
txrelay.go |