![]() |
Bitcoin Core 22.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 128 of file transaction.h.
|
inline |
Definition at line 49 of file transaction.cpp.
|
inline |
|
inline |
Definition at line 141 of file transaction.h.
|
inline |
Definition at line 143 of file transaction.h.
| std::string CTxOut::ToString | ( | ) | const |
Definition at line 55 of file transaction.cpp.
Definition at line 160 of file transaction.h.
Definition at line 154 of file transaction.h.
| CAmount CTxOut::nValue |
Definition at line 131 of file transaction.h.
| CScript CTxOut::scriptPubKey |
Definition at line 132 of file transaction.h.