diff options
author | James O'Beirne <james.obeirne@gmail.com> | 2017-09-11 17:43:48 -0700 |
---|---|---|
committer | James O'Beirne <james.obeirne@gmail.com> | 2017-09-20 20:36:10 -0700 |
commit | 46ce223d15d4111d096f6342eb6f526d2507d7d7 (patch) | |
tree | 8e76a793e79393c78842939e5b2728ab97a0bb4f /src/test/test_bitcoin.h | |
parent | 5ab586f90b74d84e29156ebf6692b9e9055aa047 (diff) |
Add tests for CMerkleBlock usage with txids specified
Diffstat (limited to 'src/test/test_bitcoin.h')
-rw-r--r-- | src/test/test_bitcoin.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/test_bitcoin.h b/src/test/test_bitcoin.h index 6ada96f887..2390aca342 100644 --- a/src/test/test_bitcoin.h +++ b/src/test/test_bitcoin.h @@ -99,7 +99,7 @@ struct TestMemPoolEntryHelper TestMemPoolEntryHelper() : nFee(0), nTime(0), nHeight(1), spendsCoinbase(false), sigOpCost(4) { } - + CTxMemPoolEntry FromTx(const CMutableTransaction &tx); CTxMemPoolEntry FromTx(const CTransaction &tx); @@ -110,4 +110,7 @@ struct TestMemPoolEntryHelper TestMemPoolEntryHelper &SpendsCoinbase(bool _flag) { spendsCoinbase = _flag; return *this; } TestMemPoolEntryHelper &SigOpsCost(unsigned int _sigopsCost) { sigOpCost = _sigopsCost; return *this; } }; + +CBlock getBlock13b8a(); + #endif |