gary rong
6269e5574c
miner: polish miner configuration ( #19480 )
...
* 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.
6 years ago
Péter Szilágyi
054412e335
all: clean up and proerly abstract database access
6 years ago
Martin Holst Swende
dc43ea8d03
tests: tune flaky tests that error in travis occasionally ( #18508 )
...
* tests: tune flaky tests that error in travis occasionally
* tests: formatting
6 years ago
Felix Lange
459278cd57
miner: remove intermediate conversion to int in tests ( #17853 )
...
This fixes the tests on 32bit platforms.
6 years ago
gary rong
457e930f27
eth, miner: prefer locally generated uncles vs remote ones ( #17715 )
...
* core, eth: fix dependency cycle
* eth, miner: perfer to locally generated uncle
6 years ago
gary rong
d6254f827b
all: protect self-mined block during reorg ( #17656 )
6 years ago
Péter Szilágyi
4bb25042eb
consensus/clique, core: chain maker clique + error tests
6 years ago
Péter Szilágyi
f751c6ed47
miner: track uncles more aggressively
6 years ago
Péter Szilágyi
e8f229b82e
cmd, core, eth, miner, params: configurable gas floor and ceil
6 years ago
gary rong
b2c644ffb5
cmd, eth, miner: make recommit configurable ( #17444 )
...
* cmd, eth, miner: make recommit configurable
* cmd, eth, les, miner: polish a bit
* miner: filter duplicate sealing work
* cmd: remove uncessary conversion
* miner: avoid microptimization in favor of cleaner code
6 years ago
gary rong
54216811a0
miner: regenerate mining work every 3 seconds ( #17413 )
...
* miner: regenerate mining work every 3 seconds
* miner: polish
6 years ago
gary rong
040aa2bb10
miner: streaming uncle blocks ( #17320 )
...
* miner: stream uncle block
* miner: polish
6 years ago
gary rong
a1783d1697
miner: move agent logic to worker ( #17351 )
...
* miner: move agent logic to worker
* miner: polish
* core: persist block before reorg
6 years ago