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

#include <moneysupply.h>

Collaboration diagram for CMoneySupply:
[legend]

Public Member Functions

 CMoneySupply ()
 
void Update (const CAmount &_nSupply, int _nHeight)
 
CAmount Get () const
 
int64_t GetCacheHeight () const
 

Private Attributes

RecursiveMutex cs
 
CAmount nSupply
 
int64_t nHeight
 

Detailed Description

Definition at line 14 of file moneysupply.h.

Constructor & Destructor Documentation

◆ CMoneySupply()

CMoneySupply::CMoneySupply ( )
inline

Definition at line 22 of file moneysupply.h.

Member Function Documentation

◆ Get()

CAmount CMoneySupply::Get ( ) const
inline

Definition at line 31 of file moneysupply.h.

◆ GetCacheHeight()

int64_t CMoneySupply::GetCacheHeight ( ) const
inline

Definition at line 32 of file moneysupply.h.

◆ Update()

void CMoneySupply::Update ( const CAmount _nSupply,
int  _nHeight 
)
inline

Definition at line 24 of file moneysupply.h.

Member Data Documentation

◆ cs

RecursiveMutex CMoneySupply::cs
mutableprivate

Definition at line 16 of file moneysupply.h.

◆ nHeight

int64_t CMoneySupply::nHeight
private

Definition at line 19 of file moneysupply.h.

◆ nSupply

CAmount CMoneySupply::nSupply
private

Definition at line 17 of file moneysupply.h.


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