mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
This PR adds a test which verifies the working of miner module when running on a sentry (non-validator) node. It tries to disable the normal mining flow and trigger it via the new transactions subscription channel and asserts mainly 2 things - Interrupt commit works and breaks execution when the time crosses deadline (i.e. header.Timestamp) - Mining is not triggered when we've already crossed the deadline |
||
|---|---|---|
| .. | ||
| fake_miner.go | ||
| miner.go | ||
| miner_test.go | ||
| ordering.go | ||
| ordering_test.go | ||
| payload_building.go | ||
| payload_building_test.go | ||
| pending.go | ||
| worker.go | ||
| worker_test.go | ||