aboutsummaryrefslogtreecommitdiffstats
path: root/dex/sync.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2019-03-20 11:55:01 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 13:50:04 +0800
commit8e5f971c9ca4f48b47d959b02d1d2b692e076d12 (patch)
treedf66a36627a4185d1ebbd449d21cf210458aa7f6 /dex/sync.go
parentbd0b5d25574c691b104fbd181b4ed80976ee21ae (diff)
downloaddexon-8e5f971c9ca4f48b47d959b02d1d2b692e076d12.tar
dexon-8e5f971c9ca4f48b47d959b02d1d2b692e076d12.tar.gz
dexon-8e5f971c9ca4f48b47d959b02d1d2b692e076d12.tar.bz2
dexon-8e5f971c9ca4f48b47d959b02d1d2b692e076d12.tar.lz
dexon-8e5f971c9ca4f48b47d959b02d1d2b692e076d12.tar.xz
dexon-8e5f971c9ca4f48b47d959b02d1d2b692e076d12.tar.zst
dexon-8e5f971c9ca4f48b47d959b02d1d2b692e076d12.zip
consensus: dexcon: disqualify dead node (#280)
Since a qualified node might fail stopped, we need to remove them from qualified nodes to maintain network integrity. We do this by inspect the previous round to see if there are dead nodes. A dead node is a notary set node that does not propose any block in the previous round. We disqualify them by fining them so their staked value is 1 wei below minStake. This make them unqualified for being notary set in the follow on rounds.
Diffstat (limited to 'dex/sync.go')
0 files changed, 0 insertions, 0 deletions