2015-12-13 14:51:43 +01:00
|
|
|
// Copyright (c) 2011-2015 The Bitcoin Core developers
|
2015-03-03 15:59:32 +01:00
|
|
|
// Distributed under the MIT software license, see the accompanying
|
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
2020-03-19 23:46:56 +01:00
|
|
|
#include <consensus/validation.h>
|
|
|
|
#include <key.h>
|
|
|
|
#include <validation.h>
|
|
|
|
#include <miner.h>
|
|
|
|
#include <pubkey.h>
|
|
|
|
#include <txmempool.h>
|
|
|
|
#include <random.h>
|
|
|
|
#include <script/standard.h>
|
|
|
|
#include <script/sign.h>
|
|
|
|
#include <test/test_dash.h>
|
2021-06-27 08:33:13 +02:00
|
|
|
#include <util/time.h>
|
2020-03-19 23:46:56 +01:00
|
|
|
#include <core_io.h>
|
|
|
|
#include <keystore.h>
|
|
|
|
#include <policy/policy.h>
|
2015-03-03 15:59:32 +01:00
|
|
|
|
|
|
|
#include <boost/test/unit_test.hpp>
|
|
|
|
|
2017-06-29 20:04:07 +02:00
|
|
|
bool CheckInputs(const CTransaction& tx, CValidationState &state, const CCoinsViewCache &inputs, bool fScriptChecks, unsigned int flags, bool cacheSigStore, bool cacheFullScriptStore, PrecomputedTransactionData& txdata, std::vector<CScriptCheck> *pvChecks);
|
|
|
|
|
2015-03-03 15:59:32 +01:00
|
|
|
BOOST_AUTO_TEST_SUITE(tx_validationcache_tests)
|
|
|
|
|
|
|
|
static bool
|
|
|
|
ToMemPool(CMutableTransaction& tx)
|
|
|
|
{
|
|
|
|
LOCK(cs_main);
|
|
|
|
|
|
|
|
CValidationState state;
|
2017-09-29 15:07:48 +02:00
|
|
|
return AcceptToMemoryPool(mempool, state, MakeTransactionRef(tx), nullptr /* pfMissingInputs */,
|
|
|
|
true /* bypass_limits */, 0 /* nAbsurdFee */);
|
2015-03-03 15:59:32 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
BOOST_FIXTURE_TEST_CASE(tx_mempool_block_doublespend, TestChain100Setup)
|
|
|
|
{
|
2018-03-21 16:16:28 +01:00
|
|
|
// Make sure skipping validation of transactions that were
|
2015-03-03 15:59:32 +01:00
|
|
|
// validated going into the memory pool does not allow
|
|
|
|
// double-spends in blocks to pass validation when they should not.
|
|
|
|
|
|
|
|
CScript scriptPubKey = CScript() << ToByteVector(coinbaseKey.GetPubKey()) << OP_CHECKSIG;
|
|
|
|
|
|
|
|
// Create a double-spend of mature coinbase txn:
|
|
|
|
std::vector<CMutableTransaction> spends;
|
|
|
|
spends.resize(2);
|
|
|
|
for (int i = 0; i < 2; i++)
|
|
|
|
{
|
2016-12-15 17:03:23 +01:00
|
|
|
spends[i].nVersion = 1;
|
2015-03-03 15:59:32 +01:00
|
|
|
spends[i].vin.resize(1);
|
2018-04-17 19:25:34 +02:00
|
|
|
spends[i].vin[0].prevout.hash = m_coinbase_txns[0]->GetHash();
|
2015-03-03 15:59:32 +01:00
|
|
|
spends[i].vin[0].prevout.n = 0;
|
|
|
|
spends[i].vout.resize(1);
|
|
|
|
spends[i].vout[0].nValue = 11*CENT;
|
|
|
|
spends[i].vout[0].scriptPubKey = scriptPubKey;
|
|
|
|
|
|
|
|
// Sign:
|
|
|
|
std::vector<unsigned char> vchSig;
|
2020-06-09 05:44:04 +02:00
|
|
|
uint256 hash = SignatureHash(scriptPubKey, spends[i], 0, SIGHASH_ALL, 0, SigVersion::BASE);
|
2015-03-03 15:59:32 +01:00
|
|
|
BOOST_CHECK(coinbaseKey.Sign(hash, vchSig));
|
|
|
|
vchSig.push_back((unsigned char)SIGHASH_ALL);
|
|
|
|
spends[i].vin[0].scriptSig << vchSig;
|
|
|
|
}
|
|
|
|
|
|
|
|
CBlock block;
|
|
|
|
|
|
|
|
// Test 1: block with both of those transactions should be rejected.
|
|
|
|
block = CreateAndProcessBlock(spends, scriptPubKey);
|
2020-01-22 21:42:33 +01:00
|
|
|
{
|
|
|
|
LOCK(cs_main);
|
|
|
|
BOOST_CHECK(chainActive.Tip()->GetBlockHash() != block.GetHash());
|
|
|
|
}
|
2015-03-03 15:59:32 +01:00
|
|
|
|
|
|
|
// Test 2: ... and should be rejected if spend1 is in the memory pool
|
|
|
|
BOOST_CHECK(ToMemPool(spends[0]));
|
|
|
|
block = CreateAndProcessBlock(spends, scriptPubKey);
|
2020-01-22 21:42:33 +01:00
|
|
|
{
|
|
|
|
LOCK(cs_main);
|
|
|
|
BOOST_CHECK(chainActive.Tip()->GetBlockHash() != block.GetHash());
|
|
|
|
}
|
2015-03-03 15:59:32 +01:00
|
|
|
mempool.clear();
|
|
|
|
|
|
|
|
// Test 3: ... and should be rejected if spend2 is in the memory pool
|
|
|
|
BOOST_CHECK(ToMemPool(spends[1]));
|
|
|
|
block = CreateAndProcessBlock(spends, scriptPubKey);
|
2020-01-22 21:42:33 +01:00
|
|
|
{
|
|
|
|
LOCK(cs_main);
|
|
|
|
BOOST_CHECK(chainActive.Tip()->GetBlockHash() != block.GetHash());
|
|
|
|
}
|
2015-03-03 15:59:32 +01:00
|
|
|
mempool.clear();
|
|
|
|
|
|
|
|
// Final sanity test: first spend in mempool, second in block, that's OK:
|
|
|
|
std::vector<CMutableTransaction> oneSpend;
|
|
|
|
oneSpend.push_back(spends[0]);
|
|
|
|
BOOST_CHECK(ToMemPool(spends[1]));
|
|
|
|
block = CreateAndProcessBlock(oneSpend, scriptPubKey);
|
2020-01-22 21:42:33 +01:00
|
|
|
{
|
|
|
|
LOCK(cs_main);
|
|
|
|
BOOST_CHECK(chainActive.Tip()->GetBlockHash() == block.GetHash());
|
|
|
|
}
|
2015-03-03 15:59:32 +01:00
|
|
|
// spends[1] should have been removed from the mempool when the
|
|
|
|
// block with spends[0] is accepted:
|
2018-04-11 14:58:51 +02:00
|
|
|
BOOST_CHECK_EQUAL(mempool.size(), 0U);
|
2015-03-03 15:59:32 +01:00
|
|
|
}
|
|
|
|
|
2017-06-29 20:04:07 +02:00
|
|
|
// Run CheckInputs (using pcoinsTip) on the given transaction, for all script
|
|
|
|
// flags. Test that CheckInputs passes for all flags that don't overlap with
|
|
|
|
// the failing_flags argument, but otherwise fails.
|
|
|
|
// CHECKLOCKTIMEVERIFY and CHECKSEQUENCEVERIFY (and future NOP codes that may
|
|
|
|
// get reassigned) have an interaction with DISCOURAGE_UPGRADABLE_NOPS: if
|
|
|
|
// the script flags used contain DISCOURAGE_UPGRADABLE_NOPS but don't contain
|
|
|
|
// CHECKLOCKTIMEVERIFY (or CHECKSEQUENCEVERIFY), but the script does contain
|
|
|
|
// OP_CHECKLOCKTIMEVERIFY (or OP_CHECKSEQUENCEVERIFY), then script execution
|
|
|
|
// should fail.
|
|
|
|
// Capture this interaction with the upgraded_nop argument: set it when evaluating
|
|
|
|
// any script flag that is implemented as an upgraded NOP code.
|
2018-05-04 22:42:39 +02:00
|
|
|
static void ValidateCheckInputsForAllFlags(CMutableTransaction &tx, uint32_t failing_flags, bool add_to_cache)
|
2017-06-29 20:04:07 +02:00
|
|
|
{
|
|
|
|
PrecomputedTransactionData txdata(tx);
|
|
|
|
// If we add many more flags, this loop can get too expensive, but we can
|
|
|
|
// rewrite in the future to randomly pick a set of flags to evaluate.
|
|
|
|
for (uint32_t test_flags=0; test_flags < (1U << 16); test_flags += 1) {
|
|
|
|
CValidationState state;
|
|
|
|
// Filter out incompatible flag choices
|
|
|
|
if ((test_flags & SCRIPT_VERIFY_CLEANSTACK)) {
|
2019-09-08 22:34:04 +02:00
|
|
|
// CLEANSTACK requires P2SH, see VerifyScript() in
|
2017-06-29 20:04:07 +02:00
|
|
|
// script/interpreter.cpp
|
|
|
|
test_flags |= SCRIPT_VERIFY_P2SH;
|
|
|
|
}
|
2017-11-09 21:22:08 +01:00
|
|
|
bool ret = CheckInputs(tx, state, pcoinsTip.get(), true, test_flags, true, add_to_cache, txdata, nullptr);
|
2017-06-29 20:04:07 +02:00
|
|
|
// CheckInputs should succeed iff test_flags doesn't intersect with
|
|
|
|
// failing_flags
|
|
|
|
bool expected_return_value = !(test_flags & failing_flags);
|
|
|
|
BOOST_CHECK_EQUAL(ret, expected_return_value);
|
|
|
|
|
|
|
|
// Test the caching
|
|
|
|
if (ret && add_to_cache) {
|
|
|
|
// Check that we get a cache hit if the tx was valid
|
|
|
|
std::vector<CScriptCheck> scriptchecks;
|
2017-11-09 21:22:08 +01:00
|
|
|
BOOST_CHECK(CheckInputs(tx, state, pcoinsTip.get(), true, test_flags, true, add_to_cache, txdata, &scriptchecks));
|
2017-06-29 20:04:07 +02:00
|
|
|
BOOST_CHECK(scriptchecks.empty());
|
|
|
|
} else {
|
|
|
|
// Check that we get script executions to check, if the transaction
|
|
|
|
// was invalid, or we didn't add to cache.
|
|
|
|
std::vector<CScriptCheck> scriptchecks;
|
2017-11-09 21:22:08 +01:00
|
|
|
BOOST_CHECK(CheckInputs(tx, state, pcoinsTip.get(), true, test_flags, true, add_to_cache, txdata, &scriptchecks));
|
2017-06-29 20:04:07 +02:00
|
|
|
BOOST_CHECK_EQUAL(scriptchecks.size(), tx.vin.size());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
BOOST_FIXTURE_TEST_CASE(checkinputs_test, TestChain100Setup)
|
|
|
|
{
|
|
|
|
// Test that passing CheckInputs with one set of script flags doesn't imply
|
|
|
|
// that we would pass again with a different set of flags.
|
2017-11-10 17:52:27 +01:00
|
|
|
{
|
|
|
|
LOCK(cs_main);
|
|
|
|
InitScriptExecutionCache();
|
|
|
|
}
|
2017-06-29 20:04:07 +02:00
|
|
|
|
|
|
|
CScript p2pk_scriptPubKey = CScript() << ToByteVector(coinbaseKey.GetPubKey()) << OP_CHECKSIG;
|
|
|
|
CScript p2sh_scriptPubKey = GetScriptForDestination(CScriptID(p2pk_scriptPubKey));
|
|
|
|
CScript p2pkh_scriptPubKey = GetScriptForDestination(coinbaseKey.GetPubKey().GetID());
|
|
|
|
|
|
|
|
CBasicKeyStore keystore;
|
|
|
|
keystore.AddKey(coinbaseKey);
|
|
|
|
keystore.AddCScript(p2pk_scriptPubKey);
|
|
|
|
|
|
|
|
// flags to test: SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY, SCRIPT_VERIFY_CHECKSEQUENCE_VERIFY, SCRIPT_VERIFY_NULLDUMMY, uncompressed pubkey thing
|
|
|
|
|
|
|
|
// Create 2 outputs that match the three scripts above, spending the first
|
|
|
|
// coinbase tx.
|
|
|
|
CMutableTransaction spend_tx;
|
|
|
|
|
|
|
|
spend_tx.nVersion = 1;
|
|
|
|
spend_tx.vin.resize(1);
|
2018-04-17 19:25:34 +02:00
|
|
|
spend_tx.vin[0].prevout.hash = m_coinbase_txns[0]->GetHash();
|
2017-06-29 20:04:07 +02:00
|
|
|
spend_tx.vin[0].prevout.n = 0;
|
|
|
|
spend_tx.vout.resize(4);
|
|
|
|
spend_tx.vout[0].nValue = 11*CENT;
|
|
|
|
spend_tx.vout[0].scriptPubKey = p2sh_scriptPubKey;
|
|
|
|
spend_tx.vout[1].nValue = 11*CENT;
|
2019-09-08 22:34:04 +02:00
|
|
|
spend_tx.vout[1].scriptPubKey = p2pkh_scriptPubKey;
|
2017-06-29 20:04:07 +02:00
|
|
|
spend_tx.vout[2].nValue = 11*CENT;
|
|
|
|
spend_tx.vout[2].scriptPubKey = CScript() << OP_CHECKLOCKTIMEVERIFY << OP_DROP << ToByteVector(coinbaseKey.GetPubKey()) << OP_CHECKSIG;
|
|
|
|
spend_tx.vout[3].nValue = 11*CENT;
|
|
|
|
spend_tx.vout[3].scriptPubKey = CScript() << OP_CHECKSEQUENCEVERIFY << OP_DROP << ToByteVector(coinbaseKey.GetPubKey()) << OP_CHECKSIG;
|
|
|
|
|
|
|
|
// Sign, with a non-DER signature
|
|
|
|
{
|
|
|
|
std::vector<unsigned char> vchSig;
|
2020-06-09 05:44:04 +02:00
|
|
|
uint256 hash = SignatureHash(p2pk_scriptPubKey, spend_tx, 0, SIGHASH_ALL, 0, SigVersion::BASE);
|
2017-06-29 20:04:07 +02:00
|
|
|
BOOST_CHECK(coinbaseKey.Sign(hash, vchSig));
|
|
|
|
vchSig.push_back((unsigned char) 0); // padding byte makes this non-DER
|
|
|
|
vchSig.push_back((unsigned char)SIGHASH_ALL);
|
|
|
|
spend_tx.vin[0].scriptSig << vchSig;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Test that invalidity under a set of flags doesn't preclude validity
|
|
|
|
// under other (eg consensus) flags.
|
|
|
|
// spend_tx is invalid according to DERSIG
|
|
|
|
{
|
2019-09-08 22:34:04 +02:00
|
|
|
LOCK(cs_main);
|
2020-03-25 15:51:42 +01:00
|
|
|
|
|
|
|
CValidationState state;
|
2017-06-29 20:04:07 +02:00
|
|
|
PrecomputedTransactionData ptd_spend_tx(spend_tx);
|
|
|
|
|
2017-11-09 21:22:08 +01:00
|
|
|
BOOST_CHECK(!CheckInputs(spend_tx, state, pcoinsTip.get(), true, SCRIPT_VERIFY_P2SH | SCRIPT_VERIFY_DERSIG, true, true, ptd_spend_tx, nullptr));
|
2017-06-29 20:04:07 +02:00
|
|
|
|
|
|
|
// If we call again asking for scriptchecks (as happens in
|
|
|
|
// ConnectBlock), we should add a script check object for this -- we're
|
|
|
|
// not caching invalidity (if that changes, delete this test case).
|
|
|
|
std::vector<CScriptCheck> scriptchecks;
|
2017-11-09 21:22:08 +01:00
|
|
|
BOOST_CHECK(CheckInputs(spend_tx, state, pcoinsTip.get(), true, SCRIPT_VERIFY_P2SH | SCRIPT_VERIFY_DERSIG, true, true, ptd_spend_tx, &scriptchecks));
|
2018-04-11 14:58:51 +02:00
|
|
|
BOOST_CHECK_EQUAL(scriptchecks.size(), 1U);
|
2017-06-29 20:04:07 +02:00
|
|
|
|
|
|
|
// Test that CheckInputs returns true iff DERSIG-enforcing flags are
|
|
|
|
// not present. Don't add these checks to the cache, so that we can
|
|
|
|
// test later that block validation works fine in the absence of cached
|
|
|
|
// successes.
|
2017-12-12 10:10:14 +01:00
|
|
|
ValidateCheckInputsForAllFlags(spend_tx, SCRIPT_VERIFY_DERSIG | SCRIPT_VERIFY_LOW_S | SCRIPT_VERIFY_STRICTENC, false);
|
2019-09-08 22:34:04 +02:00
|
|
|
}
|
2017-06-29 20:04:07 +02:00
|
|
|
|
2019-09-08 22:34:04 +02:00
|
|
|
// And if we produce a block with this tx, it should be valid (DERSIG not
|
|
|
|
// enabled yet), even though there's no cache entry.
|
|
|
|
CBlock block;
|
2017-06-29 20:04:07 +02:00
|
|
|
|
2019-09-08 22:34:04 +02:00
|
|
|
block = CreateAndProcessBlock({spend_tx}, p2pk_scriptPubKey);
|
|
|
|
LOCK(cs_main);
|
|
|
|
BOOST_CHECK(chainActive.Tip()->GetBlockHash() == block.GetHash());
|
|
|
|
BOOST_CHECK(pcoinsTip->GetBestBlock() == block.GetHash());
|
2017-06-29 20:04:07 +02:00
|
|
|
|
|
|
|
// Test P2SH: construct a transaction that is valid without P2SH, and
|
|
|
|
// then test validity with P2SH.
|
|
|
|
{
|
|
|
|
CMutableTransaction invalid_under_p2sh_tx;
|
|
|
|
invalid_under_p2sh_tx.nVersion = 1;
|
|
|
|
invalid_under_p2sh_tx.vin.resize(1);
|
|
|
|
invalid_under_p2sh_tx.vin[0].prevout.hash = spend_tx.GetHash();
|
|
|
|
invalid_under_p2sh_tx.vin[0].prevout.n = 0;
|
|
|
|
invalid_under_p2sh_tx.vout.resize(1);
|
|
|
|
invalid_under_p2sh_tx.vout[0].nValue = 11*CENT;
|
|
|
|
invalid_under_p2sh_tx.vout[0].scriptPubKey = p2pk_scriptPubKey;
|
|
|
|
std::vector<unsigned char> vchSig2(p2pk_scriptPubKey.begin(), p2pk_scriptPubKey.end());
|
|
|
|
invalid_under_p2sh_tx.vin[0].scriptSig << vchSig2;
|
|
|
|
|
2017-12-12 10:10:14 +01:00
|
|
|
ValidateCheckInputsForAllFlags(invalid_under_p2sh_tx, SCRIPT_VERIFY_P2SH, true);
|
2017-06-29 20:04:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// Test CHECKLOCKTIMEVERIFY
|
|
|
|
{
|
|
|
|
CMutableTransaction invalid_with_cltv_tx;
|
|
|
|
invalid_with_cltv_tx.nVersion = 1;
|
|
|
|
invalid_with_cltv_tx.nLockTime = 100;
|
|
|
|
invalid_with_cltv_tx.vin.resize(1);
|
|
|
|
invalid_with_cltv_tx.vin[0].prevout.hash = spend_tx.GetHash();
|
|
|
|
invalid_with_cltv_tx.vin[0].prevout.n = 2;
|
|
|
|
invalid_with_cltv_tx.vin[0].nSequence = 0;
|
|
|
|
invalid_with_cltv_tx.vout.resize(1);
|
|
|
|
invalid_with_cltv_tx.vout[0].nValue = 11*CENT;
|
|
|
|
invalid_with_cltv_tx.vout[0].scriptPubKey = p2pk_scriptPubKey;
|
|
|
|
|
|
|
|
// Sign
|
|
|
|
std::vector<unsigned char> vchSig;
|
2020-06-09 05:44:04 +02:00
|
|
|
uint256 hash = SignatureHash(spend_tx.vout[2].scriptPubKey, invalid_with_cltv_tx, 0, SIGHASH_ALL, 0, SigVersion::BASE);
|
2017-06-29 20:04:07 +02:00
|
|
|
BOOST_CHECK(coinbaseKey.Sign(hash, vchSig));
|
|
|
|
vchSig.push_back((unsigned char)SIGHASH_ALL);
|
|
|
|
invalid_with_cltv_tx.vin[0].scriptSig = CScript() << vchSig << 101;
|
|
|
|
|
2017-12-12 10:10:14 +01:00
|
|
|
ValidateCheckInputsForAllFlags(invalid_with_cltv_tx, SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY, true);
|
2017-06-29 20:04:07 +02:00
|
|
|
|
|
|
|
// Make it valid, and check again
|
|
|
|
invalid_with_cltv_tx.vin[0].scriptSig = CScript() << vchSig << 100;
|
|
|
|
CValidationState state;
|
|
|
|
PrecomputedTransactionData txdata(invalid_with_cltv_tx);
|
2017-11-09 21:22:08 +01:00
|
|
|
BOOST_CHECK(CheckInputs(invalid_with_cltv_tx, state, pcoinsTip.get(), true, SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY, true, true, txdata, nullptr));
|
2017-06-29 20:04:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// TEST CHECKSEQUENCEVERIFY
|
|
|
|
{
|
|
|
|
CMutableTransaction invalid_with_csv_tx;
|
|
|
|
invalid_with_csv_tx.nVersion = 2;
|
|
|
|
invalid_with_csv_tx.vin.resize(1);
|
|
|
|
invalid_with_csv_tx.vin[0].prevout.hash = spend_tx.GetHash();
|
|
|
|
invalid_with_csv_tx.vin[0].prevout.n = 3;
|
|
|
|
invalid_with_csv_tx.vin[0].nSequence = 100;
|
|
|
|
invalid_with_csv_tx.vout.resize(1);
|
|
|
|
invalid_with_csv_tx.vout[0].nValue = 11*CENT;
|
|
|
|
invalid_with_csv_tx.vout[0].scriptPubKey = p2pk_scriptPubKey;
|
|
|
|
|
|
|
|
// Sign
|
|
|
|
std::vector<unsigned char> vchSig;
|
2020-06-09 05:44:04 +02:00
|
|
|
uint256 hash = SignatureHash(spend_tx.vout[3].scriptPubKey, invalid_with_csv_tx, 0, SIGHASH_ALL, 0, SigVersion::BASE);
|
2017-06-29 20:04:07 +02:00
|
|
|
BOOST_CHECK(coinbaseKey.Sign(hash, vchSig));
|
|
|
|
vchSig.push_back((unsigned char)SIGHASH_ALL);
|
|
|
|
invalid_with_csv_tx.vin[0].scriptSig = CScript() << vchSig << 101;
|
|
|
|
|
2017-12-12 10:10:14 +01:00
|
|
|
ValidateCheckInputsForAllFlags(invalid_with_csv_tx, SCRIPT_VERIFY_CHECKSEQUENCEVERIFY, true);
|
2017-06-29 20:04:07 +02:00
|
|
|
|
|
|
|
// Make it valid, and check again
|
|
|
|
invalid_with_csv_tx.vin[0].scriptSig = CScript() << vchSig << 100;
|
|
|
|
CValidationState state;
|
|
|
|
PrecomputedTransactionData txdata(invalid_with_csv_tx);
|
2017-11-09 21:22:08 +01:00
|
|
|
BOOST_CHECK(CheckInputs(invalid_with_csv_tx, state, pcoinsTip.get(), true, SCRIPT_VERIFY_CHECKSEQUENCEVERIFY, true, true, txdata, nullptr));
|
2017-06-29 20:04:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// TODO: add tests for remaining script flags
|
|
|
|
}
|
|
|
|
|
2015-03-03 15:59:32 +01:00
|
|
|
BOOST_AUTO_TEST_SUITE_END()
|