31#include <unordered_map>
32#include <unordered_set>
63 bool generate(std::vector<test_event_entry>& events)
const;
71 bool generate(std::vector<test_event_entry>& events);
110 bool generate(std::vector<test_event_entry>& events)
const;
119 bool generate(std::vector<test_event_entry>& events)
const;
128 bool generate(std::vector<test_event_entry>& events)
const;
137 bool generate(std::vector<test_event_entry>& events)
const;
handles core cryptonote functionality
Definition cryptonote_core.h:87
Definition cryptonote_basic.h:205
Definition chaingen.h:166
bool increase_all_tx_count(cryptonote::core &c, size_t, const std::vector< test_event_entry > &events)
Definition tx_pool.cpp:61
bool increase_broadcasted_tx_count(cryptonote::core &c, size_t, const std::vector< test_event_entry > &events)
Definition tx_pool.cpp:55
bool check_txpool_spent_keys(cryptonote::core &c, size_t, const std::vector< test_event_entry > &events)
Definition tx_pool.cpp:67
size_t m_broadcasted_tx_count
Definition tx_pool.h:47
size_t m_all_tx_count
Definition tx_pool.h:48
txpool_base()
Definition tx_pool.cpp:45
size_t m_new_timestamp_index
Definition tx_pool.h:81
size_t m_no_new_index
Definition tx_pool.h:79
size_t m_failed_index
Definition tx_pool.h:80
bool mark_no_new(cryptonote::core &c, size_t ev_index, const std::vector< test_event_entry > &events)
Definition tx_pool.cpp:142
crypto::hash m_last_tx
Definition tx_pool.h:82
std::unordered_map< crypto::hash, uint64_t > m_all_hashes
Definition tx_pool.h:78
txpool_double_spend_base()
Definition tx_pool.cpp:122
bool check_new_hidden(cryptonote::core &c, size_t ev_index, const std::vector< test_event_entry > &events)
Definition tx_pool.cpp:477
bool check_new_no_relay(cryptonote::core &c, size_t ev_index, const std::vector< test_event_entry > &events)
Definition tx_pool.cpp:481
bool timestamp_change_pause(cryptonote::core &c, size_t ev_index, const std::vector< test_event_entry > &events)
Pause for 1 second, so that receive_time for tx meta changes (tx hidden from public rpc being updated...
Definition tx_pool.cpp:160
bool check_unchanged(cryptonote::core &c, size_t ev_index, const std::vector< test_event_entry > &events)
Definition tx_pool.cpp:467
bool mark_timestamp_change(cryptonote::core &c, size_t ev_index, const std::vector< test_event_entry > &events)
Definition tx_pool.cpp:154
bool mark_failed(cryptonote::core &c, size_t ev_index, const std::vector< test_event_entry > &events)
Definition tx_pool.cpp:148
std::unordered_set< crypto::hash > m_broadcasted_hashes
Definition tx_pool.h:76
std::unordered_set< crypto::hash > m_no_relay_hashes
Definition tx_pool.h:77
bool check_tx_verification_context(const cryptonote::tx_verification_context &tvc, bool tx_added, size_t event_idx, const cryptonote::transaction &)
Definition tx_pool.cpp:486
bool check_changed(cryptonote::core &c, size_t ev_index, relay_test condition)
Definition tx_pool.cpp:166
bool check_new_broadcasted(cryptonote::core &c, size_t ev_index, const std::vector< test_event_entry > &events)
Definition tx_pool.cpp:472
POD_CLASS hash
Definition hash.h:49
Definition verification_context.h:41
bool generate(std::vector< test_event_entry > &events) const
Definition tx_pool.cpp:568
txpool_double_spend_keyimage()
Definition tx_pool.h:124
txpool_double_spend_local()
Definition tx_pool.h:115
bool generate(std::vector< test_event_entry > &events) const
Definition tx_pool.cpp:534
txpool_double_spend_norelay()
Definition tx_pool.h:106
bool generate(std::vector< test_event_entry > &events) const
Definition tx_pool.cpp:497
bool generate(std::vector< test_event_entry > &events)
Definition tx_pool.cpp:109
txpool_spend_key_all()
Definition tx_pool.h:68
bool generate(std::vector< test_event_entry > &events) const
Definition tx_pool.cpp:96
txpool_spend_key_public()
Definition tx_pool.h:60
bool generate(std::vector< test_event_entry > &events) const
Definition tx_pool.cpp:611
txpool_stem_loop()
Definition tx_pool.h:133
relay_test
Definition tx_pool.h:38
@ no_change
No expected changes to the txpool.
Definition tx_pool.h:39
@ no_relay
A new no relay is expected in txpool.
Definition tx_pool.h:42
@ hidden
A new stem or local tx is expected in txpool.
Definition tx_pool.h:41
@ broadcasted
A new block or fluff/flood tx is expected in txpool.
Definition tx_pool.h:40