gottstech / gotts

A blockchain for non-collateralized stable-coins, follow MimbleWimble protocol but with explicit amount.
https://gotts.tech
Apache License 2.0
49 stars 4 forks source link

consensus: use 32bit fee instead of 64bit #38

Closed garyyu closed 4 years ago

garyyu commented 4 years ago

Currently the transaction fee is using 64-bit, but actually it's impractical to get one huge transaction with the fee > 2^32, which could need over 4,000 outputs for Grin or over 40,000 outputs for Gotts.

Let's change it to 32-bit, to save a little space in the chain.