PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
CPrcyStake Class Reference

#include <stakeinput.h>

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

Public Member Functions

 CPrcyStake ()
 
bool SetInput (CTransaction txPrev, unsigned int n)
 PRCY Stake. More...
 
CBlockIndexGetIndexFrom () override
 
bool GetTxFrom (CTransaction &tx) override
 
CAmount GetValue () override
 
bool GetModifier (uint64_t &nStakeModifier) override
 
CDataStream GetUniqueness () override
 
bool CreateTxIn (CWallet *pwallet, CTxIn &txIn, uint256 hashTxOut=0) override
 
bool CreateTxOuts (CWallet *pwallet, std::vector< CTxOut > &vout, CAmount nTotal) override
 
- Public Member Functions inherited from CStakeInput
virtual ~CStakeInput ()
 

Private Attributes

CTransaction txFrom
 
unsigned int nPosition
 

Additional Inherited Members

- Protected Attributes inherited from CStakeInput
CBlockIndexpindexFrom
 

Detailed Description

Definition at line 32 of file stakeinput.h.

Constructor & Destructor Documentation

◆ CPrcyStake()

CPrcyStake::CPrcyStake ( )
inline

Definition at line 38 of file stakeinput.h.

Member Function Documentation

◆ CreateTxIn()

bool CPrcyStake::CreateTxIn ( CWallet pwallet,
CTxIn txIn,
uint256  hashTxOut = 0 
)
overridevirtual

Implements CStakeInput.

Definition at line 24 of file stakeinput.cpp.

Here is the call graph for this function:

◆ CreateTxOuts()

bool CPrcyStake::CreateTxOuts ( CWallet pwallet,
std::vector< CTxOut > &  vout,
CAmount  nTotal 
)
overridevirtual

Implements CStakeInput.

Definition at line 58 of file stakeinput.cpp.

Here is the call graph for this function:

◆ GetIndexFrom()

CBlockIndex * CPrcyStake::GetIndexFrom ( )
overridevirtual

Implements CStakeInput.

Definition at line 144 of file stakeinput.cpp.

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

◆ GetModifier()

bool CPrcyStake::GetModifier ( uint64_t &  nStakeModifier)
overridevirtual

Implements CStakeInput.

Definition at line 121 of file stakeinput.cpp.

Here is the call graph for this function:

◆ GetTxFrom()

bool CPrcyStake::GetTxFrom ( CTransaction tx)
overridevirtual

Implements CStakeInput.

Definition at line 18 of file stakeinput.cpp.

◆ GetUniqueness()

CDataStream CPrcyStake::GetUniqueness ( )
overridevirtual

Implements CStakeInput.

Definition at line 135 of file stakeinput.cpp.

Here is the call graph for this function:

◆ GetValue()

CAmount CPrcyStake::GetValue ( )
overridevirtual

Implements CStakeInput.

Definition at line 44 of file stakeinput.cpp.

Here is the call graph for this function:

◆ SetInput()

bool CPrcyStake::SetInput ( CTransaction  txPrev,
unsigned int  n 
)

PRCY Stake.

Definition at line 11 of file stakeinput.cpp.

Member Data Documentation

◆ nPosition

unsigned int CPrcyStake::nPosition
private

Definition at line 36 of file stakeinput.h.

◆ txFrom

CTransaction CPrcyStake::txFrom
private

Definition at line 35 of file stakeinput.h.


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