26struct BlockAndHeaderTipInfo;
Simple class for background tasks that should be run periodically or once "after a while".
A CWallet maintains a set of transactions and balances, and provides the ability to create new transa...
Class for registering and managing all RPC calls.
void Shutdown(node::NodeContext &node)
static constexpr bool DEFAULT_DAEMON
Default value for -daemon option.
void SetupServerArgs(node::NodeContext &node)
Register all arguments with the ArgsManager.
void InitLogging(const ArgsManager &args)
Initialize the logging infrastructure.
bool AppInitLockDataDirectory()
Lock bitcoin data directory.
void Interrupt(node::NodeContext &node)
Interrupt threads.
bool AppInitBasicSetup(const ArgsManager &args)
Initialize bitcoin: Basic context setup.
bool AppInitSanityChecks()
Initialization sanity checks: ecc init, sanity checks, dir lock.
static constexpr bool DEFAULT_DAEMONWAIT
Default value for -daemonwait option.
void InitParameterInteraction(ArgsManager &args)
Parameter interaction: change current parameters depending on various rules.
bool AppInitMain(Config &config, RPCServer &rpcServer, HTTPRPCRequestProcessor &httpRPCRequestProcessor, node::NodeContext &node, interfaces::BlockAndHeaderTipInfo *tip_info=nullptr)
Bitcoin main initialization.
bool AppInitParameterInteraction(Config &config, const ArgsManager &args)
Initialization: parameter interaction.
bool AppInitInterfaces(node::NodeContext &node)
Initialize node and wallet interface pointers.
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
Block and header tip information.
NodeContext struct containing references to chain state and connection state.