Skip to content

Conversation

@rjl493456442
Copy link
Member

@rjl493456442 rjl493456442 commented Apr 18, 2019

This PR polishes the miner configuration a bit to put all relative configs into a single struct.

The reason for this is: if the transaction execution is even longer
than block time, then this kind of transactions is DoS attack.
@rjl493456442 rjl493456442 changed the title miner: disable advance mining on empty block if user require miner: polish miner configuration Apr 19, 2019
Copy link
Contributor

@holiman holiman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@karalabe karalabe added this to the 1.9.0 milestone Apr 23, 2019
Copy link
Member

@karalabe karalabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM

@karalabe karalabe merged commit 6269e55 into ethereum:master Apr 23, 2019
rjl493456442 added a commit to rjl493456442/go-ethereum that referenced this pull request May 6, 2019
* cmd, eth, miner: disable advance sealing if user require

* cmd, console, miner, les, eth: wrap the miner config

* eth: remove todo

* cmd, miner: revert noadvance flag

The reason for this is: if the transaction execution is even longer
than block time, then this kind of transactions is DoS attack.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants