Bitcoin ABC  0.28.12
P2P Digital Currency
Functions | Variables
bitcoin.cpp File Reference
#include <qt/bitcoin.h>
#include <chainparams.h>
#include <config.h>
#include <httprpc.h>
#include <init.h>
#include <interfaces/handler.h>
#include <interfaces/node.h>
#include <node/context.h>
#include <node/ui_interface.h>
#include <noui.h>
#include <qt/bitcoingui.h>
#include <qt/clientmodel.h>
#include <qt/guiconstants.h>
#include <qt/guiutil.h>
#include <qt/intro.h>
#include <qt/networkstyle.h>
#include <qt/optionsmodel.h>
#include <qt/platformstyle.h>
#include <qt/splashscreen.h>
#include <qt/utilitydialog.h>
#include <qt/winshutdownmonitor.h>
#include <uint256.h>
#include <util/system.h>
#include <util/threadnames.h>
#include <util/translation.h>
#include <validation.h>
#include <QDebug>
#include <QLibraryInfo>
#include <QLocale>
#include <QMessageBox>
#include <QSettings>
#include <QThread>
#include <QTimer>
#include <QTranslator>
#include <boost/signals2/connection.hpp>
#include <any>
Include dependency graph for bitcoin.cpp:

Go to the source code of this file.

Functions

static void RegisterMetaTypes ()
 
static QString GetLangTerritory ()
 
static void initTranslations (QTranslator &qtTranslatorBase, QTranslator &qtTranslator, QTranslator &translatorBase, QTranslator &translator)
 Set up translations. More...
 
void DebugMessageHandler (QtMsgType type, const QMessageLogContext &context, const QString &msg)
 
static void SetupUIArgs (ArgsManager &argsman)
 
int GuiMain (int argc, char *argv[])
 

Variables

static int qt_argc = 1
 
static const char * qt_argv = "bitcoin-qt"
 

Function Documentation

◆ DebugMessageHandler()

void DebugMessageHandler ( QtMsgType  type,
const QMessageLogContext &  context,
const QString &  msg 
)

Definition at line 172 of file bitcoin.cpp.

Here is the caller graph for this function:

◆ GetLangTerritory()

static QString GetLangTerritory ( )
static

Definition at line 104 of file bitcoin.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GuiMain()

int GuiMain ( int  argc,
char *  argv[] 
)
  1. Basic Qt initialization (not dependent on parameters or configuration)
  2. Parse command-line options. We do this after qt in order to show an error if there are problems parsing these
  3. Application identification
  4. Initialization of translations, so that intro dialog is in user's language. Now that QSettings are accessible, initialize translations.
  5. Now that settings and translations are available, ask user for data directory. User language is set up: pick a data directory.
  6. Determine availability of data directory and parse bitcoin.conf
  • Do not call gArgs.GetDataDirNet() before this step finishes.
  1. Determine network (and switch to network specific options)
  2. Main GUI initialization

Definition at line 527 of file bitcoin.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initTranslations()

static void initTranslations ( QTranslator &  qtTranslatorBase,
QTranslator &  qtTranslator,
QTranslator &  translatorBase,
QTranslator &  translator 
)
static

Set up translations.

Definition at line 122 of file bitcoin.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RegisterMetaTypes()

static void RegisterMetaTypes ( )
static

Definition at line 76 of file bitcoin.cpp.

Here is the caller graph for this function:

◆ SetupUIArgs()

static void SetupUIArgs ( ArgsManager argsman)
static

Definition at line 491 of file bitcoin.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ qt_argc

int qt_argc = 1
static

Definition at line 219 of file bitcoin.cpp.

◆ qt_argv

const char* qt_argv = "bitcoin-qt"
static

Definition at line 220 of file bitcoin.cpp.