Sanghee Choi
760fd0c79b
consensus/clique: fix typo in comment ( #27503 )
1 year ago
Sina Mahmoodi
66ee9422f5
consensus/clique: fix block number unmarshal ( #23961 )
...
* clique: fix block number unmarshal
* clique: rename
3 years ago
Martin Holst Swende
ff844918e8
rpc: avoid crashing on clique getSigner during sync ( #23832 )
3 years ago
Marius van der Wijden
b9e6e43722
consensus/clique: implement getSigner API method ( #22987 )
...
* clique: implement getSignerForBlock
* consensus/clique: use blockNrOrHash in getSignerForBlock
* consensus/clique: implement getSigner
* consensus/clique: fixed rlp decoding
* consensus/clique: use Author instead of getSigner
* consensus/clique: nit nit nit
* consensus/clique: nit nit nit
3 years ago
gary rong
28c5a8a54b
les: implement new les fetcher ( #20692 )
...
* cmd, consensus, eth, les: implement light fetcher
* les: address comment
* les: address comment
* les: address comments
* les: check td after delivery
* les: add linearExpiredValue for error counter
* les: fix import
* les: fix dead lock
* les: order announces by td
* les: encapsulate invalid counter
* les: address comment
* les: add more checks during the delivery
* les: fix log
* eth, les: fix lint
* eth/fetcher: address comment
4 years ago
yutianwu
25a661e0c2
consensus/clique: remove redundant pair of parentheses ( #21104 )
5 years ago
Felix Lange
c5c5e0dbe8
consensus/clique: fix struct tags for status API ( #20316 )
...
Also unexport the status struct.
5 years ago
Martin Holst Swende
3f4a875bf6
consensus/clique: add clique_status API method ( #20103 )
...
This PR introduces clique_status which gives info about the health of
the clique network.
It's currently a bit PITA to find out how a clique network is
performing, and it can easily happen that sealers drop off -- and
everything is 'fine' until one more signer drops off, and the network
suddenly halts.
The new method provides the following stats:
- Which signers are currently active, and have signed blocks in the last
N (set to 64) blocks?
- How many blocks has each signer signed?
- What is the difficulty in the last N blocks, compared to the
theoretical maximum?
5 years ago
LeoLiao
0b20b1a050
consensus/clique: fixed documentation copy-paste issue ( #17137 )
6 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