plugeth/consensus/clique
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
..
api.go consensus/clique: add clique_status API method (#20103) 2019-11-18 17:03:57 +01:00
clique_test.go core: fix import errors on clique crashes + empty blocks (#19544) 2019-05-10 17:04:10 +03:00
clique.go consensus: fix possessives in comments. (#20209) 2019-10-28 09:57:34 +02:00
snapshot_test.go Merge pull request #19021 from karalabe/database-cleanup 2019-03-07 10:21:40 +02:00
snapshot.go cosensus, core, eth, params, trie: fixes + clique history cap 2019-05-16 10:39:35 +03:00