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 +};