Raven Core
3.0.0
P2P Digital Currency
|
An output of a transaction. More...
#include <transaction.h>
Public Member Functions | |
CTxOut () | |
CTxOut (const CAmount &nValueIn, CScript scriptPubKeyIn) | |
template<typename Stream , typename Operation > | |
void | SerializationOp (Stream &s, Operation ser_action) |
void | SetNull () |
bool | IsNull () const |
std::string | ToString () const |
Public Attributes | |
CAmount | nValue |
CScript | scriptPubKey |
ADD_SERIALIZE_METHODS | |
Friends | |
bool | operator== (const CTxOut &a, const CTxOut &b) |
bool | operator!= (const CTxOut &a, const CTxOut &b) |
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 137 of file transaction.h.
|
inline |
Definition at line 55 of file transaction.cpp.
|
inline |
|
inline |
Definition at line 153 of file transaction.h.
|
inline |
Definition at line 158 of file transaction.h.
std::string CTxOut::ToString | ( | ) | const |
Definition at line 61 of file transaction.cpp.
Definition at line 175 of file transaction.h.
Definition at line 169 of file transaction.h.
CTxOut::ADD_SERIALIZE_METHODS |
Definition at line 150 of file transaction.h.
CAmount CTxOut::nValue |
Definition at line 140 of file transaction.h.
CScript CTxOut::scriptPubKey |
Definition at line 141 of file transaction.h.