From 392e53d336ba4e83f3b8016c9b48ff235994b8f0 Mon Sep 17 00:00:00 2001 From: Cofresi Date: Wed, 2 Nov 2016 19:58:54 -0400 Subject: [PATCH] clean readme --- README.md | 18 ------------------ 1 file changed, 18 deletions(-) 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