mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-23 11:57:17 +00:00
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. |
||
---|---|---|
.. | ||
downloader | ||
fetcher | ||
filters | ||
gasprice | ||
api_backend.go | ||
api.go | ||
backend_test.go | ||
backend.go | ||
bad_block.go | ||
bind.go | ||
db_upgrade.go | ||
handler_test.go | ||
handler.go | ||
helper_test.go | ||
metrics.go | ||
peer.go | ||
protocol_test.go | ||
protocol.go | ||
sync_test.go | ||
sync.go |