go-ethereum/miner
Manav Darji 1f2529fa0f
miner: add commit interrupt tests for non-validator mode (#1441)
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
2025-02-11 12:57:56 +05:30
..
fake_miner.go fix: testcases 2024-08-09 11:59:34 +05:30
miner.go merge: master 2024-08-13 11:48:57 +05:30
miner_test.go fix: lint, add: milestone related tests in downloader 2024-09-05 14:03:10 +05:30
ordering.go Merge branch 'release/1.13' into upstream_merge_1.13 2024-07-10 11:19:34 +05:30
ordering_test.go Merge branch 'develop' of https://github.com/maticnetwork/bor into upstream_merge 2024-05-28 17:20:23 +05:30
payload_building.go Merge tag 'v1.14.6' into upstream_merge_1.14.6 2024-08-05 16:29:10 +05:30
payload_building_test.go fix: testcases 2024-08-21 23:25:11 +05:30
pending.go fix: lint, add: milestone related tests in downloader 2024-09-05 14:03:10 +05:30
worker.go miner: reset ctx timeout before commit tx on new tx notif (#1434) 2025-02-10 08:11:59 -08:00
worker_test.go miner: add commit interrupt tests for non-validator mode (#1441) 2025-02-11 12:57:56 +05:30