PIVX Core  5.6.99
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
CStakerStatus Class Reference

Record info about last stake attempt: More...

#include <wallet.h>

Collaboration diagram for CStakerStatus:
[legend]

Public Member Functions

const CBlockIndexGetLastTip () const
 
uint256 GetLastHash () const
 
int GetLastHeight () const
 
int GetLastCoins () const
 
int GetLastTries () const
 
int64_t GetLastTime () const
 
void SetLastCoins (const int coins)
 
void SetLastTries (const int tries)
 
void SetLastTip (const CBlockIndex *lastTip)
 
void SetLastTime (const uint64_t lastTime)
 
void SetNull ()
 
bool IsActive () const
 

Private Attributes

const CBlockIndextipBlock {nullptr}
 
int64_t nTime {0}
 
int nTries {0}
 
int nCoins {0}
 

Detailed Description

Record info about last stake attempt:

Definition at line 184 of file wallet.h.

Member Function Documentation

◆ GetLastCoins()

int CStakerStatus::GetLastCoins ( ) const
inline

Definition at line 197 of file wallet.h.

◆ GetLastHash()

uint256 CStakerStatus::GetLastHash ( ) const
inline

Definition at line 195 of file wallet.h.

Here is the call graph for this function:

◆ GetLastHeight()

int CStakerStatus::GetLastHeight ( ) const
inline

Definition at line 196 of file wallet.h.

Here is the call graph for this function:

◆ GetLastTime()

int64_t CStakerStatus::GetLastTime ( ) const
inline

Definition at line 199 of file wallet.h.

◆ GetLastTip()

const CBlockIndex* CStakerStatus::GetLastTip ( ) const
inline

Definition at line 194 of file wallet.h.

Here is the caller graph for this function:

◆ GetLastTries()

int CStakerStatus::GetLastTries ( ) const
inline

Definition at line 198 of file wallet.h.

◆ IsActive()

bool CStakerStatus::IsActive ( ) const
inline

Definition at line 213 of file wallet.h.

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

◆ SetLastCoins()

void CStakerStatus::SetLastCoins ( const int  coins)
inline

Definition at line 201 of file wallet.h.

Here is the caller graph for this function:

◆ SetLastTime()

void CStakerStatus::SetLastTime ( const uint64_t  lastTime)
inline

Definition at line 204 of file wallet.h.

Here is the caller graph for this function:

◆ SetLastTip()

void CStakerStatus::SetLastTip ( const CBlockIndex lastTip)
inline

Definition at line 203 of file wallet.h.

Here is the caller graph for this function:

◆ SetLastTries()

void CStakerStatus::SetLastTries ( const int  tries)
inline

Definition at line 202 of file wallet.h.

Here is the caller graph for this function:

◆ SetNull()

void CStakerStatus::SetNull ( )
inline

Definition at line 205 of file wallet.h.

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

Member Data Documentation

◆ nCoins

int CStakerStatus::nCoins {0}
private

Definition at line 190 of file wallet.h.

◆ nTime

int64_t CStakerStatus::nTime {0}
private

Definition at line 188 of file wallet.h.

◆ nTries

int CStakerStatus::nTries {0}
private

Definition at line 189 of file wallet.h.

◆ tipBlock

const CBlockIndex* CStakerStatus::tipBlock {nullptr}
private

Definition at line 187 of file wallet.h.


The documentation for this class was generated from the following file: