From 4bda6bcac48d2b720b9687ce1689d11d14fced12 Mon Sep 17 00:00:00 2001 From: blackjok3r Date: Fri, 25 Jan 2019 19:14:22 +0800 Subject: [PATCH] Change is_STAKED so that chains with a BR are 1 and chains with none are 2. Chains that are 255 are banned, and no notarisations can happen. --- src/komodo.h | 2 +- src/notaries_staked.cpp | 9 ++++----- src/notarisationdb.cpp | 3 +++ 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/komodo.h b/src/komodo.h index 0cf395c51..702de9d67 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -864,7 +864,7 @@ void komodo_connectblock(CBlockIndex *pindex,CBlock& block) txn_count = block.vtx.size(); for (i=0; i