kowala-tech / kcoin

A stable cryptocurrency that algorithmically targets $1 USD using the Kowala Protocol
https://www.kowala.tech/
Other
18 stars 16 forks source link

Mining stakes (deposits / punishments) #31

Open yourheropaul opened 6 years ago

yourheropaul commented 6 years ago

How do we punish validators who are trying to cheat or attack the network?

Do we make them stake kUSD? How about mining tokens? How can we otherwise lock them out of the network, given that banning a node won't work?

yourheropaul commented 6 years ago

Validators must stake a minimum number mining tokens in order to be elected as the proposer. If they propose an invalid block, their tokens are forfeited and return to the pool (that is, the tokens are 'deleted' and the number of issues tokens is decreased).

Note: Tokens are lost even if the validator is mining on behalf of someone else! The punishment for trying to attack the network must be extremely harsh in order to discourage it.

The number of required tokens should be dynamic (see #35). For now, let's pick an arbitrary number like 100,000. The minimum stake is 30,000 mTokens (See #35).