a0fc076476
prototypes used in src/test/script_tests.cpp: - CMutableTransaction BuildCreditingTransaction(const CScript& scriptPubKey, int nValue = 0); - CMutableTransaction BuildSpendingTransaction(const CScript& scriptSig, const CScriptWitness& scriptWitness, const CTransaction& txCredit); prototypes used in bench/verify_script.cpp: - CMutableTransaction BuildCreditingTransaction(const CScript& scriptPubKey); - CMutableTransaction BuildSpendingTransaction(const CScript& scriptSig, const CMutableTransaction& txCredit); The more generic versions from the script tests are moved into a new file pair transaction_utils.cpp/h and the calls are adapted accordingly in the verify_script benchmark (passing the nValue of 1 explicitely for BuildCreditingTransaction(), passing empty scriptWitness explicitely and converting txCredit parameter to CTransaction in BuildSpendingTransaction()). |
||
---|---|---|
.. | ||
data | ||
.gitignore | ||
base58.cpp | ||
bech32.cpp | ||
bench.cpp | ||
bench.h | ||
bench_bitcoin.cpp | ||
block_assemble.cpp | ||
ccoins_caching.cpp | ||
chacha20.cpp | ||
chacha_poly_aead.cpp | ||
checkblock.cpp | ||
checkqueue.cpp | ||
coin_selection.cpp | ||
crypto_hash.cpp | ||
data.cpp | ||
data.h | ||
duplicate_inputs.cpp | ||
examples.cpp | ||
gcs_filter.cpp | ||
lockedpool.cpp | ||
mempool_eviction.cpp | ||
merkle_root.cpp | ||
poly1305.cpp | ||
prevector.cpp | ||
rollingbloom.cpp | ||
rpc_blockchain.cpp | ||
rpc_mempool.cpp | ||
util_time.cpp | ||
verify_script.cpp | ||
wallet_balance.cpp |