This commit is contained in:
jl777
2018-07-26 04:19:15 -11:00
parent 87ccafbd6f
commit 3ed54ff10c
2 changed files with 3 additions and 2 deletions

View File

@@ -40,7 +40,7 @@
uint64_t RewardsCalc(uint64_t claim,uint256 txid,uint64_t APR,uint64_t minseconds,uint64_t maxseconds,uint64_t mindeposit)
{
uint64_t reward = 0;
// get start time, get current time
// get txtime2, get pblock->nTime
// if elapsed < mintime -> return 0
// if elapsed > maxtime, elapsed = maxtime
// calc reward