bool isstartledger(ledger::ref ledger) override { return ((ledger->getledgerseq() > 2) && (ledger->gettotalcoins() < vrp_increase_max || ledger->gettotalcoinsvbc() < vbc_increase_max) && (ledger->getclosetime().time_of_day().hours() == 1) && ((ledger->getclosetimenc() - ledger->getdividendtimenc()) > 3600) ); }
bool isapplyledger(ledger::ref ledger) override { return (ledger->isdividendstarted() && ((ledger->getclosetimenc() - ledger->getdividendtimenc()) >= 120) ); }