gys can anybody tell me how stake works?
i have few tokens, had tried stake, but i have payout only once in 48h
my coinage shows 4000+
You can only stake once every 3 days and Max of 90 Days worth of Coinage. As for the Minting Rewards Payout Usually will arrive or reflect on your wallet within 24 upto 36 hours depending on the network load.
My reward keeps going up despite exceeding those 90 token-days. I think the description of the maximum coin age does not correspond to the code in the smart contract.
Maximum Coin Age: 90 Days
Coin age is simply defined as token amount times holding period.In a simple to understand example:
1.If Bob received 10 tokens from Alice and held it for 60 days, we say that Bob has accumulated 600 token-days of coin age.
2.Additionally, when Bob spent the 10 tokens he received from Alice, we say the coin age Bob accumulated with all tokens in his account had been consumed (or destroyed).
uint public stakeMaxAge = 90 days;
uint nCoinSeconds = _now.sub(uint(transferIns[_address][i].time));
if( nCoinSeconds > stakeMaxAge ) nCoinSeconds = stakeMaxAge;
_coinAge = _coinAge.add(uint(transferIns[_address][i].amount) * nCoinSeconds.div(1 days));
As you can see the maximum stake age of 90 days is applied to the number of days between the current date and the transfer date: the stake age, or holding period. The coin age is the stake age times the number of tokens. The maximum stake age is 90 days. There is no limit to the coin age.