10 #include <boost/test/unit_test.hpp> bool MoneyRange(const CAmount &nValue)
Use sat/vB fee rate unit.
int64_t CAmount
Amount in satoshis (Can be negative)
BOOST_AUTO_TEST_CASE(MoneyRangeTest)
BOOST_AUTO_TEST_SUITE_END()
std::string ToString(const FeeEstimateMode &fee_estimate_mode=FeeEstimateMode::BTC_KVB) const
#define BOOST_CHECK_EQUAL(v1, v2)
Fee rate in satoshis per kilovirtualbyte: CAmount / kvB.
static constexpr CAmount MAX_MONEY
No amount larger than this (in satoshi) is valid.
CAmount GetFee(uint32_t num_bytes) const
Return the fee in satoshis for the given vsize in vbytes.
BOOST_AUTO_TEST_SUITE(cuckoocache_tests)
Test Suite for CuckooCache.
Use BTC/kvB fee rate unit.
CAmount GetFeePerK() const
Return the fee in satoshis for a vsize of 1000 vbytes.
#define BOOST_CHECK(expr)