Skip to content

Commit

Permalink
Remove unused headers
Browse files Browse the repository at this point in the history
  • Loading branch information
jmjatlanta committed Jan 29, 2022
1 parent 96cc1b3 commit 8a3764d
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions src/komodo_structs.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,14 @@
#pragma once
#include <memory>
#include <list>
#include <vector>
#include <cstdint>

#include "komodo_defs.h"

#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
Expand All @@ -53,12 +45,6 @@
#define KOMODO_ASSETCHAIN_MAXLEN 65

#include "bits256.h"
#include <boost/multi_index_container.hpp>
#include <boost/multi_index/sequenced_index.hpp>
#include <boost/multi_index/ordered_index.hpp>
#include <boost/multi_index/member.hpp>
#include <boost/multi_index/mem_fun.hpp>
#include <set>

// 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; };
Expand Down Expand Up @@ -369,5 +355,3 @@ class komodo_state
*/
const notarized_checkpoint *CheckpointAtHeight(int32_t height) const;
};

#endif /* KOMODO_STRUCTS_H */

0 comments on commit 8a3764d

Please sign in to comment.