Inside Bitcoin
Opening the selected file…
Inside Bitcoin
Opening the selected file…
The code behind the network, with room to understand it.
Release published 2026-10-28 · Snapshot fetched 2026-11-01. Latest stable release at fetch time; development branches and Git history are excluded. Only the selected code window and visible folders load here.
1// Copyright (c) 2013-present The Bitcoin Core developers2// Distributed under the MIT software license, see the accompanying3// file COPYING or http://www.opensource.org/licenses/mit-license.php.5#ifndef BITCOIN_NOUI_H6#define BITCOIN_NOUI_H8#include <string>10struct bilingual_str;12/** Non-GUI handler, which logs and prints messages. */13void noui_ThreadSafeMessageBox(const bilingual_str& message, unsigned int style);14/** Non-GUI handler, which logs and prints questions. */15bool noui_ThreadSafeQuestion(const bilingual_str& /* ignored interactive message */, const std::string& message, unsigned int style);16/** Non-GUI handler, which only logs a message. */17void noui_InitMessage(const std::string& message);19/** Connect all bitcoind signal handlers */20void noui_connect();22/** Redirect all bitcoind signal handlers to LogInfo. Used to check or suppress output during test runs that produce expected errors */23void noui_test_redirect();25/** Reconnects the regular Non-GUI handlers after having used noui_test_redirect */26void noui_reconnect();28#endif // BITCOIN_NOUI_H