![]() |
Bitcoin Core 30.99.0
P2P Digital Currency
|
An output of a transaction. More...
#include <transaction.h>
Public Member Functions | |
| CTxOut () | |
| CTxOut (const CAmount &nValueIn, CScript scriptPubKeyIn) | |
| SERIALIZE_METHODS (CTxOut, obj) | |
| void | SetNull () |
| bool | IsNull () const |
| std::string | ToString () const |
Public Attributes | |
| CAmount | nValue |
| CScript | scriptPubKey |
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 149 of file transaction.h.
|
inline |
Definition at line 55 of file transaction.cpp.
|
inline |
|
inline |
Definition at line 162 of file transaction.h.
|
inline |
Definition at line 164 of file transaction.h.
| std::string CTxOut::ToString | ( | ) | const |
Definition at line 61 of file transaction.cpp.
Definition at line 181 of file transaction.h.
Definition at line 175 of file transaction.h.
| CAmount CTxOut::nValue |
Definition at line 152 of file transaction.h.
| CScript CTxOut::scriptPubKey |
Definition at line 153 of file transaction.h.