Open JekaMas opened 6 years ago
Request
At the moment we use nothing instead of uncles and total difficulty https://github.com/kowala-tech/kcoin/blob/dev/client/core/headerchain.go#L128 (WriteHeader), https://github.com/kowala-tech/kcoin/blob/dev/client/core/blockchain.go#L912 (WriteBlockWithState). After https://github.com/kowala-tech/kcoin/pull/643 we'll use a simple algorithm 'longest chain'. However, we still don't use nighter TotalVotes, nor validators count to exclude such attacks as "nothing on a stake" or "selfish miner".
Medium
Type:
Request
What happened? / What do you need?:
At the moment we use nothing instead of uncles and total difficulty https://github.com/kowala-tech/kcoin/blob/dev/client/core/headerchain.go#L128 (WriteHeader), https://github.com/kowala-tech/kcoin/blob/dev/client/core/blockchain.go#L912 (WriteBlockWithState). After https://github.com/kowala-tech/kcoin/pull/643 we'll use a simple algorithm 'longest chain'. However, we still don't use nighter TotalVotes, nor validators count to exclude such attacks as "nothing on a stake" or "selfish miner".
Affected servers or services:
Priority:
Medium