PIVX Core  5.6.99
P2P Digital Currency
Public Member Functions | Protected Attributes | List of all members
CStakeInput Class Referenceabstract

#include <stakeinput.h>

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

Public Member Functions

 CStakeInput (const CBlockIndex *_pindexFrom)
 
virtual ~CStakeInput ()
 
virtual const CBlockIndexGetIndexFrom () const =0
 
virtual bool GetTxOutFrom (CTxOut &out) const =0
 
virtual CAmount GetValue () const =0
 
virtual bool IsZPIV () const =0
 
virtual CDataStream GetUniqueness () const =0
 

Protected Attributes

const CBlockIndexpindexFrom = nullptr
 

Detailed Description

Definition at line 16 of file stakeinput.h.

Constructor & Destructor Documentation

◆ CStakeInput()

CStakeInput::CStakeInput ( const CBlockIndex _pindexFrom)
inline

Definition at line 22 of file stakeinput.h.

◆ ~CStakeInput()

virtual CStakeInput::~CStakeInput ( )
inlinevirtual

Definition at line 23 of file stakeinput.h.

Member Function Documentation

◆ GetIndexFrom()

virtual const CBlockIndex* CStakeInput::GetIndexFrom ( ) const
pure virtual

Implemented in CLegacyZPivStake, and CPivStake.

Here is the caller graph for this function:

◆ GetTxOutFrom()

virtual bool CStakeInput::GetTxOutFrom ( CTxOut out) const
pure virtual

Implemented in CLegacyZPivStake, and CPivStake.

◆ GetUniqueness()

virtual CDataStream CStakeInput::GetUniqueness ( ) const
pure virtual

Implemented in CLegacyZPivStake, and CPivStake.

◆ GetValue()

virtual CAmount CStakeInput::GetValue ( ) const
pure virtual

Implemented in CLegacyZPivStake, and CPivStake.

◆ IsZPIV()

virtual bool CStakeInput::IsZPIV ( ) const
pure virtual

Implemented in CLegacyZPivStake, and CPivStake.

Here is the caller graph for this function:

Member Data Documentation

◆ pindexFrom

const CBlockIndex* CStakeInput::pindexFrom = nullptr
protected

Definition at line 19 of file stakeinput.h.


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