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

#include <stakeinput.h>

Inheritance diagram for CPivStake:
[legend]
Collaboration diagram for CPivStake:
[legend]

Public Member Functions

 CPivStake (const CTxOut &_from, const COutPoint &_outPointFrom, const CBlockIndex *_pindexFrom)
 
const CBlockIndexGetIndexFrom () const override
 
bool GetTxOutFrom (CTxOut &out) const override
 
CAmount GetValue () const override
 
CDataStream GetUniqueness () const override
 
CTxIn GetTxIn () const
 
bool IsZPIV () const override
 
- Public Member Functions inherited from CStakeInput
 CStakeInput (const CBlockIndex *_pindexFrom)
 
virtual ~CStakeInput ()
 

Static Public Member Functions

static CPivStakeNewPivStake (const CTxIn &txin, int nHeight, uint32_t nTime)
 

Private Attributes

const CTxOut outputFrom
 
const COutPoint outpointFrom
 

Additional Inherited Members

- Protected Attributes inherited from CStakeInput
const CBlockIndexpindexFrom = nullptr
 

Detailed Description

Definition at line 32 of file stakeinput.h.

Constructor & Destructor Documentation

◆ CPivStake()

CPivStake::CPivStake ( const CTxOut _from,
const COutPoint _outPointFrom,
const CBlockIndex _pindexFrom 
)
inline

Definition at line 39 of file stakeinput.h.

Member Function Documentation

◆ GetIndexFrom()

const CBlockIndex * CPivStake::GetIndexFrom ( ) const
overridevirtual

Implements CStakeInput.

Definition at line 91 of file stakeinput.cpp.

◆ GetTxIn()

CTxIn CPivStake::GetTxIn ( ) const

Definition at line 72 of file stakeinput.cpp.

◆ GetTxOutFrom()

bool CPivStake::GetTxOutFrom ( CTxOut out) const
overridevirtual

Implements CStakeInput.

Definition at line 66 of file stakeinput.cpp.

Here is the caller graph for this function:

◆ GetUniqueness()

CDataStream CPivStake::GetUniqueness ( ) const
overridevirtual

Implements CStakeInput.

Definition at line 82 of file stakeinput.cpp.

◆ GetValue()

CAmount CPivStake::GetValue ( ) const
overridevirtual

Implements CStakeInput.

Definition at line 77 of file stakeinput.cpp.

◆ IsZPIV()

bool CPivStake::IsZPIV ( ) const
inlineoverridevirtual

Implements CStakeInput.

Definition at line 49 of file stakeinput.h.

◆ NewPivStake()

CPivStake * CPivStake::NewPivStake ( const CTxIn txin,
int  nHeight,
uint32_t  nTime 
)
static

Definition at line 22 of file stakeinput.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ outpointFrom

const COutPoint CPivStake::outpointFrom
private

Definition at line 36 of file stakeinput.h.

◆ outputFrom

const CTxOut CPivStake::outputFrom
private

Definition at line 35 of file stakeinput.h.


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