mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
cryptonote_core does not depend on p2p anymore
As a followon side effect, this makes a lot of inline code included only in particular cpp files (and instanciated when necessary.
This commit is contained in:
parent
38ecd0526e
commit
4abf25f3c9
18 changed files with 169 additions and 72 deletions
|
@ -33,6 +33,10 @@
|
|||
#include <boost/filesystem.hpp>
|
||||
#include <boost/program_options.hpp>
|
||||
|
||||
#include "p2p/net_node.h"
|
||||
#include "p2p/net_node.inl"
|
||||
#include "cryptonote_protocol/cryptonote_protocol_handler.h"
|
||||
#include "cryptonote_protocol/cryptonote_protocol_handler.inl"
|
||||
#include "include_base_utils.h"
|
||||
#include "common/command_line.h"
|
||||
#include "common/util.h"
|
||||
|
@ -42,6 +46,9 @@ namespace po = boost::program_options;
|
|||
|
||||
boost::filesystem::path unit_test::data_dir;
|
||||
|
||||
namespace nodetool { template class node_server<cryptonote::t_cryptonote_protocol_handler<cryptonote::core>>; }
|
||||
namespace cryptonote { template class t_cryptonote_protocol_handler<cryptonote::core>; }
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
tools::on_startup();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue