zPools / sonoa

Project SONO will be THAT unique Crypto platform. It's coin is a PoW/PoS/MN hybrid crypto currency. It uses the self developed "SonoA" hashing algorithm.
https://projectsono.io
MIT License
4 stars 9 forks source link

Coins always split #4

Closed MartijnKluijtmans closed 6 years ago

MartijnKluijtmans commented 6 years ago

On https://github.com/zPools/sonoa/blob/master/src/wallet.cpp#L3310 if (GetWeight(block.GetBlockTime(), (int64_t)txNew.nTime) < nStakeSplitAge) with nStakeSplitAge == 365 24 60 60; This is always true, so coins always splits, normally not a problem, but with nMinimumInputValue = 50; Coin parts can go below 50 and so stop staking. If L3310 change to "'if(nCredit > 1000 COIN)" Like sono version 1.4. Coins split only if > 1000 and enough blocks are available for PoW.

zPools commented 6 years ago

Hey, you can look in the branch "pos"

Currently testing in testnet seems to work like charm.

Will be included in next release

zPools commented 6 years ago

Will be fixed with #5