4#include <boost/signals2/signal.hpp>
5#include <boost/signals2/shared_connection_block.hpp>
8 using namespace boost::signals2;
The tester_network class provides a simplistic virtual P2P network connecting testing_blockchains tog...
std::map< base_tester *, scoped_connection > blockchains
void disconnect_blockchain(base_tester &leaving_blockchain)
Remove a blockchain from the network.
void propagate_block(const signed_block &block, const base_tester &skip_db)
Send a block to all blockchains in this network.
void disconnect_all()
Disconnect all blockchains from the network.
void connect_blockchain(base_tester &new_blockchain)
Add a new blockchain to the network.