PRCYCoin  2.0.0.7rc1
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

virtual ~CStakeInput ()
 
virtual CBlockIndexGetIndexFrom ()=0
 
virtual bool CreateTxIn (CWallet *pwallet, CTxIn &txIn, uint256 hashTxOut=0)=0
 
virtual bool GetTxFrom (CTransaction &tx)=0
 
virtual CAmount GetValue ()=0
 
virtual bool CreateTxOuts (CWallet *pwallet, std::vector< CTxOut > &vout, CAmount nTotal)=0
 
virtual bool GetModifier (uint64_t &nStakeModifier)=0
 
virtual CDataStream GetUniqueness ()=0
 

Protected Attributes

CBlockIndexpindexFrom
 

Detailed Description

Definition at line 16 of file stakeinput.h.

Constructor & Destructor Documentation

◆ ~CStakeInput()

virtual CStakeInput::~CStakeInput ( )
inlinevirtual

Definition at line 22 of file stakeinput.h.

Member Function Documentation

◆ CreateTxIn()

virtual bool CStakeInput::CreateTxIn ( CWallet pwallet,
CTxIn txIn,
uint256  hashTxOut = 0 
)
pure virtual

Implemented in CPrcyStake.

◆ CreateTxOuts()

virtual bool CStakeInput::CreateTxOuts ( CWallet pwallet,
std::vector< CTxOut > &  vout,
CAmount  nTotal 
)
pure virtual

Implemented in CPrcyStake.

◆ GetIndexFrom()

virtual CBlockIndex* CStakeInput::GetIndexFrom ( )
pure virtual

Implemented in CPrcyStake.

◆ GetModifier()

virtual bool CStakeInput::GetModifier ( uint64_t &  nStakeModifier)
pure virtual

Implemented in CPrcyStake.

Here is the caller graph for this function:

◆ GetTxFrom()

virtual bool CStakeInput::GetTxFrom ( CTransaction tx)
pure virtual

Implemented in CPrcyStake.

◆ GetUniqueness()

virtual CDataStream CStakeInput::GetUniqueness ( )
pure virtual

Implemented in CPrcyStake.

Here is the caller graph for this function:

◆ GetValue()

virtual CAmount CStakeInput::GetValue ( )
pure virtual

Implemented in CPrcyStake.

Here is the caller graph for this function:

Member Data Documentation

◆ pindexFrom

CBlockIndex* CStakeInput::pindexFrom
protected

Definition at line 19 of file stakeinput.h.


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