From 31e2e8a37a08590eb51f2955c59861bd2998bfac Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 12 Mar 2017 12:36:31 +0200 Subject: [PATCH] Test --- src/komodo_notary.h | 2 ++ src/main.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/src/komodo_notary.h b/src/komodo_notary.h index 52b7972b0..619f41ef8 100644 --- a/src/komodo_notary.h +++ b/src/komodo_notary.h @@ -246,6 +246,8 @@ int32_t komodo_chosennotary(int32_t *notaryidp,int32_t height,uint8_t *pubkey33) return(modval); } } + //if ( height >= 250000 ) + return(-1); htind = height / KOMODO_ELECTION_GAP; pthread_mutex_lock(&komodo_mutex); HASH_FIND(hh,Pubkeys[htind].Notaries,pubkey33,33,kp); diff --git a/src/main.cpp b/src/main.cpp index 25d74eb1a..4adbc26a5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3872,6 +3872,7 @@ bool LoadBlockIndex() return false; } KOMODO_LOADINGBLOCKS = 0; + fprintf(stderr,"finished loading blocks\n"); return true; }