From d1289e418c79281085e82360d2b55d1b2f78c015 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 17 Nov 2016 18:55:46 -0300 Subject: [PATCH] test --- src/komodo.h | 7 +------ src/komodo_structs.h | 7 +++++++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/komodo.h b/src/komodo.h index 38f9a68b1..0e7ff2af0 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -40,12 +40,7 @@ #include "komodo_structs.h" -struct komodo_state -{ - uint256 NOTARIZED_HASH,NOTARIZED_DESTTXID; - int32_t CURRENT_HEIGHT,NOTARIZED_HEIGHT; - // gateway state -} KOMODO_STATES[33]; +struct komodo_state KOMODO_STATES[33]; #include "komodo_globals.h" #include "komodo_utils.h" diff --git a/src/komodo_structs.h b/src/komodo_structs.h index dcf9fdbc5..ee65a20cb 100644 --- a/src/komodo_structs.h +++ b/src/komodo_structs.h @@ -30,3 +30,10 @@ struct nutxo_entry { UT_hash_handle hh; uint256 txhash; uint64_t voutmask; int32 struct knotary_entry { UT_hash_handle hh; uint8_t pubkey[33],notaryid; }; struct knotaries_entry { int32_t height,numnotaries; struct knotary_entry *Notaries; }; struct notarized_checkpoint { uint256 notarized_hash,notarized_desttxid; int32_t nHeight,notarized_height; }; + +struct komodo_state +{ + uint256 NOTARIZED_HASH,NOTARIZED_DESTTXID; + int32_t CURRENT_HEIGHT,NOTARIZED_HEIGHT; + // gateway state +};