9 #include <boost/test/unit_test.hpp> BOOST_AUTO_TEST_CASE(init_test)
TestInit(NodeContext &node)
BCLog::Logger & LogInstance()
void ForceSetArg(const std::string &strArg, const std::string &strValue)
void SetConfigFilePath(fs::path)
NodeContext struct containing references to chain state and connection state.
std::unique_ptr< WalletLoader > MakeWalletLoader(Chain &chain, ArgsManager &args)
Return implementation of ChainClient interface for a wallet loader.
BOOST_FIXTURE_TEST_SUITE(cuckoocache_tests, BasicTestingSetup)
Test Suite for CuckooCache.
BOOST_AUTO_TEST_SUITE_END()
bool AppInitMain(NodeContext &node, interfaces::BlockAndHeaderTipInfo *tip_info)
Bitcoin core main initialization.
std::unique_ptr< interfaces::WalletLoader > makeWalletLoader(interfaces::Chain &chain) override
void DisconnectTestLogger() EXCLUSIVE_LOCKS_REQUIRED(!m_cs)
Only for testing.
interfaces::Init * init
Init interface for initializing current process and connecting to other processes.
std::unique_ptr< Chain > MakeChain(node::NodeContext &node)
Return implementation of Chain interface.
std::unique_ptr< interfaces::Chain > makeChain() override
Interface giving clients (wallet processes, maybe other analysis tools in the future) ability to acce...
bool AppInitInterfaces(NodeContext &node)
Initialize node and wallet interface pointers.
Initial interface created when a process is first started, and used to give and get access to other i...
void InitContext(NodeContext &node)
Initialize node context shutdown and args variables.
Like BasicTestingSetup, but using regtest network instead of mainnet.
#define Assert(val)
Identity function.
#define BOOST_CHECK(expr)