Dash Core  0.12.2.1
P2P Digital Currency
clientmodel.cpp File Reference
#include "clientmodel.h"
#include "bantablemodel.h"
#include "guiconstants.h"
#include "peertablemodel.h"
#include "alert.h"
#include "chainparams.h"
#include "checkpoints.h"
#include "clientversion.h"
#include "validation.h"
#include "net.h"
#include "txmempool.h"
#include "ui_interface.h"
#include "util.h"
#include "masternodeman.h"
#include "masternode-sync.h"
#include "privatesend.h"
#include <stdint.h>
#include <QDebug>
#include <QTimer>

Go to the source code of this file.

Functions

static void ShowProgress (ClientModel *clientmodel, const std::string &title, int nProgress)
 
static void NotifyNumConnectionsChanged (ClientModel *clientmodel, int newNumConnections)
 
static void NotifyNetworkActiveChanged (ClientModel *clientmodel, bool networkActive)
 
static void NotifyAlertChanged (ClientModel *clientmodel, const uint256 &hash, ChangeType status)
 
static void BannedListChanged (ClientModel *clientmodel)
 
static void BlockTipChanged (ClientModel *clientmodel, bool initialSync, const CBlockIndex *pIndex, bool fHeader)
 
static void NotifyAdditionalDataSyncProgressChanged (ClientModel *clientmodel, double nSyncProgress)
 

Variables

static const int64_t nClientStartupTime = GetTime()
 
static int64_t nLastHeaderTipUpdateNotification = 0
 
static int64_t nLastBlockTipUpdateNotification = 0
 

Function Documentation

◆ BannedListChanged()

static void BannedListChanged ( ClientModel clientmodel)
static

◆ BlockTipChanged()

static void BlockTipChanged ( ClientModel clientmodel,
bool  initialSync,
const CBlockIndex pIndex,
bool  fHeader 
)
static

◆ NotifyAdditionalDataSyncProgressChanged()

static void NotifyAdditionalDataSyncProgressChanged ( ClientModel clientmodel,
double  nSyncProgress 
)
static

◆ NotifyAlertChanged()

static void NotifyAlertChanged ( ClientModel clientmodel,
const uint256 hash,
ChangeType  status 
)
static

◆ NotifyNetworkActiveChanged()

static void NotifyNetworkActiveChanged ( ClientModel clientmodel,
bool  networkActive 
)
static

◆ NotifyNumConnectionsChanged()

static void NotifyNumConnectionsChanged ( ClientModel clientmodel,
int  newNumConnections 
)
static

◆ ShowProgress()

static void ShowProgress ( ClientModel clientmodel,
const std::string &  title,
int  nProgress 
)
static

Variable Documentation

◆ nClientStartupTime

const int64_t nClientStartupTime = GetTime()
static

Definition at line 33 of file clientmodel.cpp.

Referenced by ClientModel::formatClientStartupTime().

◆ nLastBlockTipUpdateNotification

int64_t nLastBlockTipUpdateNotification = 0
static

Definition at line 35 of file clientmodel.cpp.

Referenced by BlockTipChanged().

◆ nLastHeaderTipUpdateNotification

int64_t nLastHeaderTipUpdateNotification = 0
static

Definition at line 34 of file clientmodel.cpp.

Referenced by BlockTipChanged().