Changeset View
Changeset View
Standalone View
Standalone View
src/test/test_bitcoin.h
Show First 20 Lines • Show All 151 Lines • ▼ Show 20 Lines | TestMemPoolEntryHelper &SpendsCoinbase(bool _flag) { | ||||
return *this; | return *this; | ||||
} | } | ||||
TestMemPoolEntryHelper &SigOpsCost(unsigned int _sigopsCost) { | TestMemPoolEntryHelper &SigOpsCost(unsigned int _sigopsCost) { | ||||
sigOpCost = _sigopsCost; | sigOpCost = _sigopsCost; | ||||
return *this; | return *this; | ||||
} | } | ||||
}; | }; | ||||
// define an implicit conversion here so that uint256 may be used directly in | enum class ScriptError; | ||||
// BOOST_CHECK_* | |||||
// define implicit conversions here so that these types may be used in | |||||
// BOOST_*_EQUAL | |||||
std::ostream &operator<<(std::ostream &os, const uint256 &num); | std::ostream &operator<<(std::ostream &os, const uint256 &num); | ||||
std::ostream &operator<<(std::ostream &os, const ScriptError &err); | |||||
CBlock getBlock13b8a(); | CBlock getBlock13b8a(); | ||||
#endif // BITCOIN_TEST_TEST_BITCOIN_H | #endif // BITCOIN_TEST_TEST_BITCOIN_H |