kcoin icon indicating copy to clipboard operation
kcoin copied to clipboard

Implement stability fee

Open yourheropaul opened this issue 8 years ago • 3 comments

The stability fee must be implemented. The amount is indicated in the whitepaper, but it should be deducted from the transaction fees paid to the miner and not as an additional transaction fee.

yourheropaul avatar Jan 26 '18 09:01 yourheropaul

"In the event of a stability fee (see whitepaper and #36), the stability fee should be deducted from the transaction fees, to a minimum of 0." from @yourheropaul.

The transaction fees summary can be found in here: https://github.com/kowala-tech/kcoin/blob/dev/core/state_transition.go#L241.

rgeraldes avatar May 28 '18 09:05 rgeraldes

The stability fee can (and sometimes must) grow to much larger than the base transaction fee, so it can't simply be deducted from the base transaction fee. It really needs to be added on as another fee (or the transaction fee needs to include both a base component and a (possibly large) stability component.

johnreitano avatar Jun 11 '18 12:06 johnreitano

Paul, is there any issue with implementing the stability fee the way it is described in the white paper instead the way you initially described above?

johnreitano avatar Sep 21 '18 16:09 johnreitano