Fabcoin Core
0.16.2
P2P Digital Currency
|
An input of a transaction. More...
#include <transaction.h>
Public Member Functions | |
CTxIn () | |
CTxIn (COutPoint prevoutIn, CScript scriptSigIn=CScript(), uint32_t nSequenceIn=SEQUENCE_FINAL) | |
CTxIn (uint256 hashPrevTx, uint32_t nOut, CScript scriptSigIn=CScript(), uint32_t nSequenceIn=SEQUENCE_FINAL) | |
template<typename Stream , typename Operation > | |
void | SerializationOp (Stream &s, Operation ser_action) |
std::string | ToString () const |
Public Attributes | |
COutPoint | prevout |
CScript | scriptSig |
uint32_t | nSequence |
CScriptWitness | scriptWitness |
ADD_SERIALIZE_METHODS | |
Static Public Attributes | |
static const uint32_t | SEQUENCE_FINAL = 0xffffffff |
Only serialized through CTransaction. More... | |
static const uint32_t | SEQUENCE_LOCKTIME_DISABLE_FLAG = (1 << 31) |
static const uint32_t | SEQUENCE_LOCKTIME_TYPE_FLAG = (1 << 22) |
static const uint32_t | SEQUENCE_LOCKTIME_MASK = 0x0000ffff |
static const int | SEQUENCE_LOCKTIME_GRANULARITY = 9 |
Friends | |
bool | operator== (const CTxIn &a, const CTxIn &b) |
bool | operator!= (const CTxIn &a, const CTxIn &b) |
An input of a transaction.
It contains the location of the previous transaction's output that it claims and a signature that matches the output's public key.
Definition at line 61 of file transaction.h.
|
inline |
Definition at line 96 of file transaction.h.
|
explicit |
Definition at line 18 of file transaction.cpp.
CTxIn::CTxIn | ( | uint256 | hashPrevTx, |
uint32_t | nOut, | ||
CScript | scriptSigIn = CScript() , |
||
uint32_t | nSequenceIn = SEQUENCE_FINAL |
||
) |
|
inline |
Definition at line 107 of file transaction.h.
std::string CTxIn::ToString | ( | ) | const |
Definition at line 120 of file transaction.h.
Definition at line 113 of file transaction.h.
CTxIn::ADD_SERIALIZE_METHODS |
Definition at line 104 of file transaction.h.
uint32_t CTxIn::nSequence |
Definition at line 66 of file transaction.h.
COutPoint CTxIn::prevout |
Definition at line 64 of file transaction.h.
CScript CTxIn::scriptSig |
Definition at line 65 of file transaction.h.
CScriptWitness CTxIn::scriptWitness |
Definition at line 67 of file transaction.h.
|
static |
Only serialized through CTransaction.
Definition at line 71 of file transaction.h.
|
static |
Definition at line 76 of file transaction.h.
|
static |
Definition at line 94 of file transaction.h.
|
static |
Definition at line 85 of file transaction.h.
|
static |
Definition at line 81 of file transaction.h.