From 9947c144117e56ca1f3bcd27b8f659bb30a5a7e2 Mon Sep 17 00:00:00 2001 From: duke Date: Mon, 15 Apr 2024 13:49:54 +0000 Subject: [PATCH] DRGX has a blocktime of 36s --- src/controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller.cpp b/src/controller.cpp index 28e0d28..acb290f 100644 --- a/src/controller.cpp +++ b/src/controller.cpp @@ -322,7 +322,7 @@ void Controller::getInfoThenRefresh(bool force) int difficulty = reply["difficulty"].get(); int num_halvings = 1; // number of halvings that have occured already int blocks_until_halving = (num_halvings*1680000 + 340000) - curBlock; - int blocktime = 30; + int blocktime = 36; int halving_days = (blocks_until_halving * blocktime) / (60 * 60 * 24) ; int longestchain = reply["longestchain"].get(); int notarized = reply["notarized"].get();