Remove inclusion of ledger.hpp from election.hpp
This commit is contained in:
parent
14a05695f7
commit
14c4c6ff71
3 changed files with 11 additions and 7 deletions
|
|
@ -3,7 +3,6 @@
|
||||||
#include <nano/lib/id_dispenser.hpp>
|
#include <nano/lib/id_dispenser.hpp>
|
||||||
#include <nano/lib/logging.hpp>
|
#include <nano/lib/logging.hpp>
|
||||||
#include <nano/secure/common.hpp>
|
#include <nano/secure/common.hpp>
|
||||||
#include <nano/secure/ledger.hpp>
|
|
||||||
#include <nano/store/component.hpp>
|
#include <nano/store/component.hpp>
|
||||||
|
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@
|
||||||
#include <nano/node/transport/channel.hpp>
|
#include <nano/node/transport/channel.hpp>
|
||||||
#include <nano/node/wallet.hpp>
|
#include <nano/node/wallet.hpp>
|
||||||
#include <nano/node/websocket.hpp>
|
#include <nano/node/websocket.hpp>
|
||||||
|
#include <nano/secure/ledger.hpp>
|
||||||
|
|
||||||
#include <boost/algorithm/string.hpp>
|
#include <boost/algorithm/string.hpp>
|
||||||
#include <boost/property_tree/json_parser.hpp>
|
#include <boost/property_tree/json_parser.hpp>
|
||||||
|
|
|
||||||
|
|
@ -20,15 +20,19 @@
|
||||||
namespace nano
|
namespace nano
|
||||||
{
|
{
|
||||||
class block;
|
class block;
|
||||||
class wallets;
|
|
||||||
class logger;
|
|
||||||
class vote;
|
|
||||||
class election_status;
|
class election_status;
|
||||||
|
enum class election_status_type : uint8_t;
|
||||||
|
class ledger;
|
||||||
|
class logger;
|
||||||
|
class node_observers;
|
||||||
class telemetry_data;
|
class telemetry_data;
|
||||||
class tls_config;
|
class tls_config;
|
||||||
class node_observers;
|
class vote;
|
||||||
enum class election_status_type : uint8_t;
|
class wallets;
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace nano
|
||||||
|
{
|
||||||
namespace websocket
|
namespace websocket
|
||||||
{
|
{
|
||||||
class listener;
|
class listener;
|
||||||
|
|
@ -382,4 +386,4 @@ public:
|
||||||
// TODO: Encapsulate, this is public just because existing code needs it
|
// TODO: Encapsulate, this is public just because existing code needs it
|
||||||
std::shared_ptr<nano::websocket::listener> server;
|
std::shared_ptr<nano::websocket::listener> server;
|
||||||
};
|
};
|
||||||
}
|
} // namespace nano
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue