Bitcoin ABC 0.26.3
P2P Digital Currency
|
Introduction screen (pre-GUI startup). More...
#include <intro.h>
Public Slots | |
void | setStatus (int status, const QString &message, quint64 bytesAvailable) |
Signals | |
void | requestCheck () |
Public Member Functions | |
Intro (QWidget *parent=nullptr, int64_t blockchain_size_gb=0, int64_t chain_state_size_gb=0) | |
~Intro () | |
QString | getDataDirectory () |
void | setDataDirectory (const QString &dataDir) |
Static Public Member Functions | |
static bool | showIfNeeded (bool &did_show_intro, bool &prune) |
Determine data directory. | |
Private Slots | |
void | on_dataDirectory_textChanged (const QString &arg1) |
void | on_ellipsisButton_clicked () |
void | on_dataDirDefault_clicked () |
void | on_dataDirCustom_clicked () |
Private Member Functions | |
void | startThread () |
void | checkPath (const QString &dataDir) |
QString | getPathToCheck () |
void | UpdatePruneLabels (bool prune_checked) |
void | UpdateFreeSpaceLabel () |
Private Attributes | |
Ui::Intro * | ui |
QThread * | thread |
QMutex | mutex |
bool | signalled |
QString | pathToCheck |
const int64_t | m_blockchain_size_gb |
const int64_t | m_chain_state_size_gb |
int64_t | m_required_space_gb {0} |
Total required space (in GB) depending on user choice (prune or not prune). | |
uint64_t | m_bytes_available {0} |
const int64_t | m_prune_target_gb |
Friends | |
class | FreespaceChecker |
Introduction screen (pre-GUI startup).
Allows the user to choose a data directory, in which the wallet and block chain will be stored.
QString Intro::getDataDirectory | ( | ) |
|
private |
|
privateslot |
|
privateslot |
|
signal |
Determine data directory.
Let the user choose if the current one doesn't exist. Let the user configure additional preferences such as pruning.
Use selectParams here to guarantee Params() can be used by node interface.
If current default data directory does not exist, let the user choose one.
Definition at line 179 of file intro.cpp.
|
private |
|
private |
|
friend |
|
private |