6#ifndef BITCOIN_NODE_INTERFACE_UI_H
7#define BITCOIN_NODE_INTERFACE_UI_H
The block chain is a tree shaped structure starting with the genesis block at the root,...
Signals for UI communication.
btcsignals::signal< void(const std::string &message)> InitMessage
Progress message during initialization.
btcsignals::signal< bool(const bilingual_str &message, const std::string &noninteractive_message, unsigned int style), btcsignals::any_of > ThreadSafeQuestion
If possible, ask the user a question.
btcsignals::signal< void()> InitWallet
Wallet loader created.
btcsignals::signal< void()> NotifyAlertChanged
Status bar alerts changed.
btcsignals::signal< void(bool networkActive)> NotifyNetworkActiveChanged
Network activity state changed.
btcsignals::signal< void(int newNumConnections)> NotifyNumConnectionsChanged
Number of network connections changed.
btcsignals::signal< void(const bilingual_str &message, unsigned int style)> ThreadSafeMessageBox
Show message box.
btcsignals::signal< void(SynchronizationState, const CBlockIndex &block, double verification_progress)> NotifyBlockTip
New block has been accepted.
btcsignals::signal< void(const std::string &title, int nProgress, bool resume_possible)> ShowProgress
Show progress e.g.
MessageBoxFlags
Flags for CClientUIInterface::ThreadSafeMessageBox.
@ ICON_MASK
Mask of all available icons in CClientUIInterface::MessageBoxFlags This needs to be updated,...
@ BTN_MASK
Mask of all available buttons in CClientUIInterface::MessageBoxFlags This needs to be updated,...
@ BTN_OK
These values are taken from qmessagebox.h "enum StandardButton" to be directly usable.
@ MSG_INFORMATION
Predefined combinations for certain default usage cases.
@ MODAL
Force blocking, modal message box dialog (not just OS notification)
@ SECURE
Do not print contents of message to debug log.
btcsignals::signal< void(void)> BannedListChanged
Banlist did change.
btcsignals::signal< void(SynchronizationState, int64_t height, int64_t timestamp, bool presync)> NotifyHeaderTip
Best header has changed.
A combiner, which checks if at least one callback returned true.
CClientUIInterface uiInterface
void InitWarning(const bilingual_str &str)
Show warning message.
bool InitError(const bilingual_str &str)
Show error message.
SynchronizationState
Current sync state passed to tip changed callbacks.