Feathercoin  0.5.0
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Public Attributes | Friends | List of all members
CTxOut Class Reference

An output of a transaction. More...

#include <main.h>

Collaboration diagram for CTxOut:
Collaboration graph
[legend]

Public Member Functions

 CTxOut ()
 
 CTxOut (int64 nValueIn, CScript scriptPubKeyIn)
 
 IMPLEMENT_SERIALIZE (READWRITE(nValue);READWRITE(scriptPubKey);) void SetNull()
 
bool IsNull () const
 
uint256 GetHash () const
 
bool IsDust () const
 
std::string ToString () const
 
void print () const
 

Public Attributes

int64 nValue
 
CScript scriptPubKey
 

Friends

bool operator== (const CTxOut &a, const CTxOut &b)
 
bool operator!= (const CTxOut &a, const CTxOut &b)
 

Detailed Description

An output of a transaction.

It contains the public key that the next input must be able to sign with to claim it.

Definition at line 400 of file main.h.

Constructor & Destructor Documentation

CTxOut::CTxOut ( )
inline

Definition at line 406 of file main.h.

CTxOut::CTxOut ( int64  nValueIn,
CScript  scriptPubKeyIn 
)
inline

Definition at line 411 of file main.h.

Member Function Documentation

uint256 CTxOut::GetHash ( ) const
inline

Definition at line 434 of file main.h.

CTxOut::IMPLEMENT_SERIALIZE ( READWRITE(nValue);READWRITE(scriptPubKey);  )
inline

Definition at line 418 of file main.h.

bool CTxOut::IsDust ( ) const

Definition at line 367 of file main.cpp.

bool CTxOut::IsNull ( ) const
inline

Definition at line 429 of file main.h.

void CTxOut::print ( ) const
inline

Definition at line 459 of file main.h.

std::string CTxOut::ToString ( ) const
inline

Definition at line 452 of file main.h.

Friends And Related Function Documentation

bool operator!= ( const CTxOut a,
const CTxOut b 
)
friend

Definition at line 445 of file main.h.

bool operator== ( const CTxOut a,
const CTxOut b 
)
friend

Definition at line 439 of file main.h.

Member Data Documentation

int64 CTxOut::nValue

Definition at line 403 of file main.h.

CScript CTxOut::scriptPubKey

Definition at line 404 of file main.h.


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