gary rong
d6254f827b
all: protect self-mined block during reorg ( #17656 )
6 years ago
gary rong
0b477712a1
consensus/clique: hide no transaction error ( #17614 )
6 years ago
Péter Szilágyi
4bb25042eb
consensus/clique, core: chain maker clique + error tests
6 years ago
Péter Szilágyi
bcfb7f58b9
consensus/clique: only trust snapshot for genesis or les checkpoint
6 years ago
gary rong
c1c003e4ff
consensus, miner: stale block mining support ( #17506 )
...
* consensus, miner: stale block supporting
* consensus, miner: refactor seal signature
* cmd, consensus, eth: add miner noverify flag
* cmd, consensus, miner: polish
6 years ago
gary rong
40a71f28cf
miner: fix state commit, track old work packages too ( #17490 )
...
* miner: commit state which is relative with sealing result
* consensus, core, miner, mobile: introduce sealHash interface
* miner: evict pending task with threshold
* miner: go fmt
6 years ago
Péter Szilágyi
9f036647e4
consensus/clique, light: light client snapshots on Rinkeby
6 years ago
gary rong
51db5975cc
consensus/ethash: move remote agent logic to ethash internal ( #15853 )
...
* consensus/ethash: start remote ggoroutine to handle remote mining
* consensus/ethash: expose remote miner api
* consensus/ethash: expose submitHashrate api
* miner, ethash: push empty block to sealer without waiting execution
* consensus, internal: add getHashrate API for ethash
* consensus: add three method for consensus interface
* miner: expose consensus engine running status to miner
* eth, miner: specify etherbase when miner created
* miner: commit new work when consensus engine is started
* consensus, miner: fix some logics
* all: delete useless interfaces
* consensus: polish a bit
6 years ago
hadv
49f63deb24
consensus/clique: replace bubble sort by golang stable sort
6 years ago
Wenbiao Zheng
f6206efe5b
consensus: move test use only var/func to test( #17004 )
6 years ago
LeoLiao
0b20b1a050
consensus/clique: fixed documentation copy-paste issue ( #17137 )
6 years ago
hadv
f2fdb75dd9
core, consensus: fix some typos in comment code and output log
7 years ago
gary rong
7beccb29be
all: get rid of error when creating memory database ( #16716 )
...
* all: get rid of error when create mdb
* core: clean up variables definition
* all: inline mdb definition
7 years ago
Péter Szilágyi
6cf0ab38bd
core/rawdb: separate raw database access to own package ( #16666 )
7 years ago
gary rong
5f8888e116
accounts, consensus, core, eth: make chain maker consensus agnostic ( #15497 )
...
* accounts, consensus, core, eth: make chain maker consensus agnostic
* consensus, core: move CalcDifficulty to Engine interface
* consensus: add docs for calcDifficulty function
* consensus, core: minor comment fixups
7 years ago
Zach
3da1bf8ca1
all: use gometalinter.v2, fix new gosimple issues ( #15650 )
7 years ago
Péter Szilágyi
6d6a5a9337
cmd, consensus, core, miner: instatx clique for --dev ( #15323 )
...
* cmd, consensus, core, miner: instatx clique for --dev
* cmd, consensus, clique: support configurable --dev block times
* cmd, core: allow --dev to use persistent storage too
7 years ago
Péter Szilágyi
d3beff7e20
consensus/clique: add fork hash enforcement ( #15236 )
7 years ago
Egon Elbre
80de4dc72c
consensus: revert time.Until change
7 years ago
Egon Elbre
aee70ae30b
consensus: fix megacheck warnings
7 years ago
Péter Szilágyi
514659a023
consensus/clique: minor cleanups
7 years ago
mark.lin
5c53a5be66
consensus/clique: fix typo and don't add snapshot into recents again
7 years ago
mark.lin
db6e695002
consensus/clique: choose valid votes
8 years ago
S. Matthew English
061889d4ea
rlp, trie, contracts, compression, consensus: improve comments ( #14580 )
8 years ago
Péter Szilágyi
309da541de
consensus/clique: cache block signatures for fast checks
8 years ago
Péter Szilágyi
bcf2465b0b
consensus/clique: fix overflow on recent signer check around genesis
8 years ago
Péter Szilágyi
a7b9e484d0
consensus, core, ethstats: use engine specific block beneficiary ( #14318 )
...
* consensus, core, ethstats: use engine specific block beneficiary
* core, eth, les, miner: use explicit beneficiary during mining
8 years ago
Péter Szilágyi
6b7ae4e751
consensus/clique, internal/web3ext: support hash based API queries ( #14321 )
...
* consensus/clique, internal/web3ext: support hash based API queries
* consensus/clique: make RPC return types public
8 years ago
Péter Szilágyi
feeccdf4ec
consensus/clique: Proof of Authority ( #3753 )
...
This PR is a prototype implementation of plugable consensus engines and the
Clique PoA protocol ethereum/EIPs#225
8 years ago