This commit is contained in:
jl777
2016-11-17 18:55:46 -03:00
parent 0db8cd28d8
commit d1289e418c
2 changed files with 8 additions and 6 deletions

View File

@@ -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"

View File

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