cmd/geth, consensus/ethash: add support for --miner.notify.full flag (#22558)
The PR implements the --miner.notify.full flag that enables full pending block notifications. When this flag is used, the block notifications sent to mining endpoints contain the complete block header JSON instead of a work package array. Co-authored-by:AlexSSD7 <alexandersadovskyi7@protonmail.com> Co-authored-by:
Martin Holst Swende <martin@swende.se>
Showing
- cmd/geth/main.go 1 addition, 0 deletionscmd/geth/main.go
- cmd/geth/usage.go 1 addition, 0 deletionscmd/geth/usage.go
- cmd/utils/flags.go 5 additions, 0 deletionscmd/utils/flags.go
- consensus/ethash/algorithm_test.go 6 additions, 2 deletionsconsensus/ethash/algorithm_test.go
- consensus/ethash/ethash.go 18 additions, 10 deletionsconsensus/ethash/ethash.go
- consensus/ethash/ethash_test.go 8 additions, 1 deletionconsensus/ethash/ethash_test.go
- consensus/ethash/sealer.go 10 additions, 1 deletionconsensus/ethash/sealer.go
- consensus/ethash/sealer_test.go 94 additions, 0 deletionsconsensus/ethash/sealer_test.go
- eth/backend.go 5 additions, 1 deletioneth/backend.go
- eth/ethconfig/config.go 14 additions, 16 deletionseth/ethconfig/config.go
- miner/miner.go 9 additions, 8 deletionsminer/miner.go
Loading
Please register or sign in to comment