NodeContext struct containing references to chain state and connection state.
TransactionError BroadcastTransaction(NodeContext &node, CTransactionRef tx, std::string &err_string, const CAmount &max_tx_fee, bool relay, bool wait_callback)
Submit a transaction to the mempool and (optionally) relay it to all P2P peers.