From 8a3764d6c8fcfbdb206be3a17f6d263ec6e85e21 Mon Sep 17 00:00:00 2001 From: John Jones Date: Fri, 28 Jan 2022 19:39:47 -0500 Subject: [PATCH] Remove unused headers --- src/komodo_structs.h | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/src/komodo_structs.h b/src/komodo_structs.h index 01bb9694115..6f4f0135186 100644 --- a/src/komodo_structs.h +++ b/src/komodo_structs.h @@ -15,6 +15,7 @@ #pragma once #include #include +#include #include #include "komodo_defs.h" @@ -22,15 +23,6 @@ #include "uthash.h" #include "utlist.h" -/*#ifdef _WIN32 -#define PACKED -#else -#define PACKED __attribute__((packed)) -#endif*/ - -#ifndef KOMODO_STRUCTS_H -#define KOMODO_STRUCTS_H - #define GENESIS_NBITS 0x1f00ffff #define KOMODO_MINRATIFY ((height < 90000) ? 7 : 11) #define KOMODO_NOTARIES_HARDCODED 180000 // DONT CHANGE @@ -53,12 +45,6 @@ #define KOMODO_ASSETCHAIN_MAXLEN 65 #include "bits256.h" -#include -#include -#include -#include -#include -#include // structs prior to refactor struct komodo_kv { UT_hash_handle hh; bits256 pubkey; uint8_t *key,*value; int32_t height; uint32_t flags; uint16_t keylen,valuesize; }; @@ -369,5 +355,3 @@ class komodo_state */ const notarized_checkpoint *CheckpointAtHeight(int32_t height) const; }; - -#endif /* KOMODO_STRUCTS_H */