Sina Mahmoodi
66ee9422f5
consensus/clique: fix block number unmarshal ( #23961 )
...
* clique: fix block number unmarshal
* clique: rename
2021-11-24 14:12:26 +01:00
Martin Holst Swende
ff844918e8
rpc: avoid crashing on clique getSigner during sync ( #23832 )
2021-11-01 07:51:03 +01:00
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
2021-07-13 14:40:22 +03:00
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
2020-07-28 18:02:35 +03:00
yutianwu
25a661e0c2
consensus/clique: remove redundant pair of parentheses ( #21104 )
2020-05-25 12:00:18 +02:00
Felix Lange
c5c5e0dbe8
consensus/clique: fix struct tags for status API ( #20316 )
...
Also unexport the status struct.
2019-11-18 18:14:59 +01:00
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?
2019-11-18 17:03:57 +01:00
LeoLiao
0b20b1a050
consensus/clique: fixed documentation copy-paste issue ( #17137 )
2018-07-09 11:39:43 +03:00
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
2017-04-12 15:37:10 +03:00
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
2017-04-10 12:24:12 +02:00