![]() |
Bitcoin Core
26.1.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 157 of file transaction.h.
|
inline |
Definition at line 54 of file transaction.cpp.
|
inline |
|
inline |
Definition at line 170 of file transaction.h.
|
inline |
Definition at line 172 of file transaction.h.
| std::string CTxOut::ToString | ( | ) | const |
Definition at line 60 of file transaction.cpp.
Definition at line 189 of file transaction.h.
Definition at line 183 of file transaction.h.
| CAmount CTxOut::nValue |
Definition at line 160 of file transaction.h.
| CScript CTxOut::scriptPubKey |
Definition at line 161 of file transaction.h.
1.8.14