1#define BOOST_TEST_MODULE subjective_billing
2#include <boost/test/included/unit_test.hpp>
13BOOST_AUTO_TEST_SUITE( subjective_billing_test )
81 sub_bill.remove_subjective_billing( id1, 0 );
108 sub_bill.remove_subjective_billing( id3, 0 );
109 sub_bill.remove_subjective_billing( id4, 0 );
164BOOST_AUTO_TEST_SUITE_END()
static sha256 hash(const char *d, uint32_t dlen)
int64_t get_subjective_bill(const account_name &first_auth, const fc::time_point &now) const
void subjective_bill(const transaction_id_type &id, const fc::time_point &expire, const account_name &first_auth, const fc::microseconds &elapsed, bool in_pending_block)
void subjective_bill_failure(const account_name &first_auth, const fc::microseconds &elapsed, const fc::time_point &now)
bool remove_expired(fc::logger &log, const fc::time_point &pending_block_time, const fc::time_point &now, Yield &&yield)
uint32_t get_expired_accumulator_average_window() const
void on_block(fc::logger &log, const block_state_ptr &bsp, const fc::time_point &now)
constexpr microseconds milliseconds(int64_t s)
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Immutable except for fc::from_variant.
BOOST_AUTO_TEST_CASE(open_and_create)