From 44c4fbbdd5db902f361f8ee2d3ed0598bbd2509f Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 18 Oct 2016 13:59:10 -0300 Subject: [PATCH] test --- src/komodo.h | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/src/komodo.h b/src/komodo.h index a2fee3c5e..8f47f3fd8 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -19,6 +19,8 @@ #include #include +#define CRYPTO777_PUBSECPSTR "020e46e79a2a8d12b9b5d12c7a91adb4e454edfae43c0a0cb805427d2ac7613fd9" + int32_t IS_KOMODO_NOTARY,USE_EXTERNAL_PUBKEY,NOTARIZED_HEIGHT; std::string NOTARY_PUBKEY; uint256 NOTARIZED_HASH; @@ -44,7 +46,7 @@ int32_t komodo_blockindexcheck(CBlockIndex *pindex,uint32_t *nBitsp) void komodo_connectblock(CBlockIndex *pindex,CBlock& block) { - char *scriptstr; int32_t i,height,txn_count; + char *scriptstr; int32_t i,height,txn_count,len; // update voting results and official (height, notaries[]) if ( pindex != 0 ) { @@ -53,9 +55,23 @@ void komodo_connectblock(CBlockIndex *pindex,CBlock& block) for (i=0; i