diff --git a/README.md b/README.md index 3b1ba5f..13d029a 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,2 @@ # govobject-proposal -int GetBudgetPaymentCycleBlocks(){ - // Amount of blocks in a months period of time (using 2.6 minutes per) = (60*24*30)/2.6 - if(Params().NetworkID() == CBaseChainParams::MAIN) return 16616; - //for testing purposes - - return 50; //ten times per day -} - - - - if(strCommand == "nextblock") - { - CBlockIndex* pindexPrev = chainActive.Tip(); - if(!pindexPrev) return "unknown"; - - int nNext = pindexPrev->nHeight - pindexPrev->nHeight % GetBudgetPaymentCycleBlocks() + GetBudgetPaymentCycleBlocks(); - return nNext; - } \ No newline at end of file