Add pending effective amount to rpc methods #232

Closed
bvbfan wants to merge 313 commits from pending_affective_amount into master
Showing only changes of commit 7859b72ab4 - Show all commits

View file

@ -2130,7 +2130,7 @@ int CClaimTrieCache::getDelayForName(const std::string& name) const
int nHeightOfLastTakeover;
if (getLastTakeoverForName(name, nHeightOfLastTakeover))
{
return (nCurrentHeight - nHeightOfLastTakeover) / base->nProportionalDelayFactor;
return std::min((nCurrentHeight - nHeightOfLastTakeover) / base->nProportionalDelayFactor, 4032);
}
else
{