Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
bitcoin.h File Reference
#include <bitcoin-build-config.h>
#include <interfaces/node.h>
#include <qt/initexecutor.h>
#include <cassert>
#include <memory>
#include <optional>
#include <QApplication>
Include dependency graph for bitcoin.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BitcoinApplication
 Main Bitcoin application object. More...

Namespaces

namespace  interfaces

Functions

int GuiMain (int argc, char *argv[])

Function Documentation

◆ GuiMain()

int GuiMain ( int argc,
char * argv[] )
  1. Basic Qt initialization (not dependent on parameters or configuration)
  1. Parse command-line options. We do this after qt in order to show an error if there are problems parsing these
  1. Application identification
  1. Initialization of translations, so that intro dialog is in user's language
  1. Now that settings and translations are available, ask user for data directory

6-7. Parse bitcoin.conf, determine network, switch to network specific options, and create datadir and settings.json.

  1. Main GUI initialization

Definition at line 480 of file bitcoin.cpp.

Here is the call graph for this function: