7 #if defined(HAVE_CONSENSUS_LIB)    23     txCredit.
vin.resize(1);
    24     txCredit.
vout.resize(1);
    25     txCredit.
vin[0].prevout.SetNull();
    28     txCredit.
vout[0].scriptPubKey = scriptPubKey;
    29     txCredit.
vout[0].nValue = 1;
    40     txSpend.
vin.resize(1);
    41     txSpend.
vout.resize(1);
    42     txSpend.
vin[0].prevout.hash = txCredit.
GetHash();
    43     txSpend.
vin[0].prevout.n = 0;
    44     txSpend.
vin[0].scriptSig = scriptSig;
    47     txSpend.
vout[0].nValue = txCredit.
vout[0].nValue;
    57     const int witnessversion = 0;
    61     static const std::array<unsigned char, 32> vchKey = {
    63             0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1
    66     key.
Set(vchKey.begin(), vchKey.end(), 
false);
    78     witness.
stack.emplace_back();
    87             txSpend.
vin[0].scriptSig,
    88             txCredit.
vout[0].scriptPubKey,
    89             &txSpend.
vin[0].scriptWitness,
    96 #if defined(HAVE_CONSENSUS_LIB)   100             txCredit.
vout[0].scriptPubKey.data(),
   101             txCredit.
vout[0].scriptPubKey.size(),
   102             txCredit.
vout[0].nValue,
   103             (
const unsigned char*)stream.data(), stream.size(), 0, 
flags, 
nullptr);
   104         assert(csuccess == 1);
 
enum ScriptError_t ScriptError
 
CPubKey GetPubKey() const
Compute the public key from a private key. 
 
bool VerifyScript(const CScript &scriptSig, const CScript &scriptPubKey, const CScriptWitness *witness, unsigned int flags, const BaseSignatureChecker &checker, ScriptError *serror)
 
static const uint32_t SEQUENCE_FINAL
 
std::vector< std::vector< unsigned char > > stack
 
Double ended buffer combining vector and stream-like interfaces. 
 
const unsigned char * begin() const
 
bool Sign(const uint256 &hash, std::vector< unsigned char > &vchSig, bool grind=true, uint32_t test_case=0) const
Create a DER-serialized signature. 
 
An encapsulated public key. 
 
unsigned int size() const
Simple read-only vector-like interface to the pubkey data. 
 
std::vector< CTxOut > vout
 
void Set(const T pbegin, const T pend, bool fCompressedIn)
Initialize using begin and end iterators to byte data. 
 
int bitcoinconsensus_verify_script_with_amount(const unsigned char *scriptPubKey, unsigned int scriptPubKeyLen, int64_t amount, const unsigned char *txTo, unsigned int txToLen, unsigned int nIn, unsigned int flags, bitcoinconsensus_error *err)
 
uint256 GetHash() const
Compute the hash of this CMutableTransaction. 
 
CHash360 & Write(const unsigned char *data, size_t len)
 
Serialized script, used inside transaction inputs and outputs. 
 
uint256 SignatureHash(const CScript &scriptCode, const T &txTo, unsigned int nIn, int nHashType, const CAmount &amount, SigVersion sigversion, const PrecomputedTransactionData *cache)
 
A mutable version of CTransaction. 
 
BENCHMARK(VerifyScriptBench, 6300)
 
An encapsulated private key. 
 
A hasher class for Bitcoin's 160-bit hash (SHA3-256 + RIPEMD-160). 
 
std::vector< unsigned char > ToByteVector(const T &in)