Changeset View
Changeset View
Standalone View
Standalone View
src/test/test_bitcoin.cpp
Show First 20 Lines • Show All 201 Lines • ▼ Show 20 Lines | |||||
TestChain100Setup::~TestChain100Setup() {} | TestChain100Setup::~TestChain100Setup() {} | ||||
CTxMemPoolEntry TestMemPoolEntryHelper::FromTx(const CMutableTransaction &tx) { | CTxMemPoolEntry TestMemPoolEntryHelper::FromTx(const CMutableTransaction &tx) { | ||||
return FromTx(MakeTransactionRef(tx)); | return FromTx(MakeTransactionRef(tx)); | ||||
} | } | ||||
CTxMemPoolEntry TestMemPoolEntryHelper::FromTx(const CTransactionRef &tx) { | CTxMemPoolEntry TestMemPoolEntryHelper::FromTx(const CTransactionRef &tx) { | ||||
return CTxMemPoolEntry(tx, nFee, nTime, nHeight, spendsCoinbase, sigOpCost, | return CTxMemPoolEntry(tx, nFee, nTime, nHeight, spendsCoinbase, sigOpCount, | ||||
lp); | lp); | ||||
} | } | ||||
/** | /** | ||||
* @returns a real block | * @returns a real block | ||||
* (0000000000013b8ab2cd513b0261a14096412195a72a0c4827d229dcc7e0f7af) with 9 | * (0000000000013b8ab2cd513b0261a14096412195a72a0c4827d229dcc7e0f7af) with 9 | ||||
* txs. | * txs. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 101 Lines • Show Last 20 Lines |