 5047fc8ccf
			
		
	
	
	
	
	5047fc8ccfThe file nano/rpc_test/common.hpp was very confusing, a lot of stuff was dumped into one file and it was hard to read. This helps break things into more manageable pieces.
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			679 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
	
		
			679 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include <boost/asio/ip/tcp.hpp>
 | |
| 
 | |
| namespace nano
 | |
| {
 | |
| class node;
 | |
| class node_config;
 | |
| class node_flags;
 | |
| class public_key;
 | |
| using account = public_key;
 | |
| 
 | |
| namespace store
 | |
| {
 | |
| 	class component;
 | |
| }
 | |
| 
 | |
| namespace test
 | |
| {
 | |
| 	class system;
 | |
| 	std::shared_ptr<nano::node> add_ipc_enabled_node (nano::test::system & system, nano::node_config & node_config, nano::node_flags const & node_flags);
 | |
| 	std::shared_ptr<nano::node> add_ipc_enabled_node (nano::test::system & system, nano::node_config & node_config);
 | |
| 	std::shared_ptr<nano::node> add_ipc_enabled_node (nano::test::system & system);
 | |
| 	void reset_confirmation_height (nano::store::component & store, nano::account const & account);
 | |
| }
 | |
| }
 |