mirror of
https://github.com/oxen-io/oxen-core.git
synced 2023-12-14 02:22:56 +01:00
Rearrange proof/service node forward declarations to help gcc-8
gcc-8's unique_ptr apparently isn't okay with a forward declared type. This reverses how proof and service_node_list include/fwd declare each other to get around it.
This commit is contained in:
parent
9782155c81
commit
e3999ccb26
|
@ -38,6 +38,7 @@
|
|||
#include "cryptonote_core/service_node_voting.h"
|
||||
#include "cryptonote_core/service_node_quorum_cop.h"
|
||||
#include "common/util.h"
|
||||
#include "uptime_proof.h"
|
||||
|
||||
namespace cryptonote
|
||||
{
|
||||
|
@ -46,11 +47,6 @@ class BlockchainDB;
|
|||
struct checkpoint_t;
|
||||
}; // namespace cryptonote
|
||||
|
||||
namespace uptime_proof
|
||||
{
|
||||
class Proof;
|
||||
}
|
||||
|
||||
namespace service_nodes
|
||||
{
|
||||
constexpr uint64_t INVALID_HEIGHT = static_cast<uint64_t>(-1);
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include "uptime_proof.h"
|
||||
#include "service_node_list.h"
|
||||
#include "common/string_util.h"
|
||||
#include "version.h"
|
||||
|
||||
|
|
|
@ -1,9 +1,14 @@
|
|||
#pragma once
|
||||
|
||||
#include "service_node_list.h"
|
||||
#include "../cryptonote_protocol/cryptonote_protocol_defs.h"
|
||||
#include "cryptonote_protocol/cryptonote_protocol_defs.h"
|
||||
#include <oxenmq/bt_serialize.h>
|
||||
|
||||
namespace service_nodes {
|
||||
|
||||
struct service_node_keys;
|
||||
|
||||
}
|
||||
|
||||
namespace uptime_proof
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in a new issue