![]() |
Master Core
v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
|
An input of a transaction. More...
#include <core.h>
Collaboration diagram for CTxIn:Public Member Functions | |
| CTxIn () | |
| CTxIn (COutPoint prevoutIn, CScript scriptSigIn=CScript(), unsigned int nSequenceIn=std::numeric_limits< unsigned int >::max()) | |
| CTxIn (uint256 hashPrevTx, unsigned int nOut, CScript scriptSigIn=CScript(), unsigned int nSequenceIn=std::numeric_limits< unsigned int >::max()) | |
| IMPLEMENT_SERIALIZE (READWRITE(prevout);READWRITE(scriptSig);READWRITE(nSequence);) bool IsFinal() const | |
| std::string | ToString () const |
| void | print () const |
Public Attributes | |
| COutPoint | prevout |
| CScript | scriptSig |
| unsigned int | nSequence |
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.
| void CTxIn::print | ( | ) | const |
Definition at line 49 of file core.cpp.
References LogPrintf, and ToString().
Here is the call graph for this function:| std::string CTxIn::ToString | ( | ) | const |
Definition at line 34 of file core.cpp.
References HexStr(), COutPoint::IsNull(), nSequence, prevout, scriptSig, strprintf, COutPoint::ToString(), and CScript::ToString().
Referenced by print().
Here is the call graph for this function:
Here is the caller graph for this function:| unsigned int CTxIn::nSequence |
Definition at line 75 of file core.h.
Referenced by CTxIn(), ToString(), and TxToJSON().
| COutPoint CTxIn::prevout |
Definition at line 73 of file core.h.
Referenced by AcceptToMemoryPool(), AddOrphanTx(), CWallet::AddToSpends(), CTxMemPool::check(), CheckTransaction(), CWallet::CommitTransaction(), CreateNewBlock(), CTxIn(), EraseOrphanTx(), CWallet::GetAddressGroupings(), getblocktemplate(), CWallet::GetConflicts(), CWallet::GetDebit(), CCoinsViewCache::GetOutputFor(), CCoinsViewCache::GetPriority(), getrawmempool(), CWallet::IsMine(), CBloomFilter::IsRelevantAndUpdate(), CWalletTx::IsTrusted(), CTxMemPool::remove(), CTxMemPool::removeConflicts(), signrawtransaction(), CWallet::SyncTransaction(), TransactionDesc::toHTML(), ToString(), TxToJSON(), and UpdateCoins().
| CScript CTxIn::scriptSig |
Definition at line 74 of file core.h.
Referenced by CTransaction::ComputePriority(), CTxIn(), GetLegacySigOpCount(), CBloomFilter::IsRelevantAndUpdate(), IsStandardTx(), signrawtransaction(), ToString(), and TxToJSON().
1.8.8