#include <trezor_tests.h>
|
| | gen_trezor_base () |
| | gen_trezor_base (const gen_trezor_base &other) |
| virtual | ~gen_trezor_base () |
| virtual void | setup_args (const std::string &trezor_path, bool heavy_tests=false) |
| virtual bool | generate (std::vector< test_event_entry > &events) |
| virtual void | load (std::vector< test_event_entry > &events) |
| virtual void | fix_hf (std::vector< test_event_entry > &events) |
| virtual void | update_trackers (std::vector< test_event_entry > &events) |
| virtual void | fork (gen_trezor_base &other) |
| virtual void | clear () |
| virtual void | add_shared_events (std::vector< test_event_entry > &events) |
| virtual void | test_setup (std::vector< test_event_entry > &events) |
| virtual void | add_transactions_to_events (std::vector< test_event_entry > &events, test_generator &generator, const std::vector< cryptonote::transaction > &txs) |
| virtual void | test_trezor_tx (std::vector< test_event_entry > &events, std::vector< tools::wallet2::pending_tx > &ptxs, std::vector< cryptonote::address_parse_info > &dsts_info, test_generator &generator, std::vector< tools::wallet2 * > wallets, bool is_sweep=false) |
| virtual void | test_get_tx (std::vector< test_event_entry > &events, std::vector< tools::wallet2 * > wallets, const std::vector< tools::wallet2::pending_tx > &ptxs, const std::vector< std::string > &aux_tx_info) |
| virtual void | mine_and_test (std::vector< test_event_entry > &events) |
| virtual void | rewind_blocks (std::vector< test_event_entry > &events, size_t rewind_n, uint8_t hf) |
| virtual void | set_hard_fork (uint8_t hf) |
| crypto::hash | head_hash () const |
| cryptonote::block | head_block () const |
| bool | heavy_tests () const |
| void | rct_config (rct::RCTConfig rct_config) |
| uint8_t | cur_hf () const |
| size_t | num_mixin () const |
| cryptonote::network_type | nettype () const |
| std::shared_ptr< mock_daemon > | daemon () const |
| void | daemon (std::shared_ptr< mock_daemon > daemon) |
| void | register_callback (const std::string &cb_name, verify_callback cb) |
| bool | verify (const std::string &cb_name, cryptonote::core &c, size_t ev_index, const std::vector< test_event_entry > &events) |
| bool | check_block_verification_context (const cryptonote::block_verification_context &bvc, size_t event_idx, const cryptonote::block &) |
| bool | check_tx_verification_context (const cryptonote::tx_verification_context &tvc, bool, size_t, const cryptonote::transaction &) |
| bool | check_tx_verification_context_array (const std::vector< cryptonote::tx_verification_context > &tvcs, size_t, size_t, const std::vector< cryptonote::transaction > &) |
◆ gen_trezor_base() [1/2]
| gen_trezor_base::gen_trezor_base |
( |
| ) |
|
◆ gen_trezor_base() [2/2]
◆ ~gen_trezor_base()
| virtual gen_trezor_base::~gen_trezor_base |
( |
| ) |
|
|
inlinevirtual |
◆ add_shared_events()
| void gen_trezor_base::add_shared_events |
( |
std::vector< test_event_entry > & | events | ) |
|
|
virtual |
◆ add_transactions_to_events()
◆ clear()
| void gen_trezor_base::clear |
( |
| ) |
|
|
virtual |
◆ cur_hf()
| uint8_t gen_trezor_base::cur_hf |
( |
| ) |
const |
|
inline |
◆ daemon() [1/2]
| std::shared_ptr< mock_daemon > gen_trezor_base::daemon |
( |
| ) |
const |
|
inline |
◆ daemon() [2/2]
| void gen_trezor_base::daemon |
( |
std::shared_ptr< mock_daemon > | daemon | ) |
|
|
inline |
◆ fix_hf()
◆ fork()
◆ generate()
Reimplemented in gen_trezor_1utxo, gen_trezor_1utxo_paymentid_short, gen_trezor_1utxo_paymentid_short_integrated, gen_trezor_2utxo_sub_acc_to_1norm_2sub, gen_trezor_4utxo, gen_trezor_4utxo_acc1, gen_trezor_4utxo_to_15outs, gen_trezor_4utxo_to_1norm_2sub, gen_trezor_4utxo_to_2sub, gen_trezor_4utxo_to_7outs, gen_trezor_4utxo_to_sub, gen_trezor_ki_sync, gen_trezor_ki_sync_with_refresh, gen_trezor_ki_sync_without_refresh, gen_trezor_live_refresh, gen_trezor_many_utxo, gen_trezor_many_utxo_many_txo, and wallet_api_tests.
◆ head_block()
◆ head_hash()
◆ heavy_tests()
| bool gen_trezor_base::heavy_tests |
( |
| ) |
const |
|
inline |
◆ init_fields()
| void gen_trezor_base::init_fields |
( |
| ) |
|
|
protectedvirtual |
◆ load()
◆ mine_and_test()
◆ nettype()
◆ num_mixin()
| size_t gen_trezor_base::num_mixin |
( |
| ) |
const |
|
inline |
◆ rct_config()
◆ rewind_blocks()
◆ serialize()
template<class Archive>
| void gen_trezor_base::serialize |
( |
Archive & | ar, |
|
|
const unsigned int | ) |
|
inlineprotected |
◆ set_hard_fork()
| void gen_trezor_base::set_hard_fork |
( |
uint8_t | hf | ) |
|
|
virtual |
◆ setup_args()
| void gen_trezor_base::setup_args |
( |
const std::string & | trezor_path, |
|
|
bool | heavy_tests = false ) |
|
virtual |
◆ setup_trezor()
| void gen_trezor_base::setup_trezor |
( |
| ) |
|
|
protectedvirtual |
◆ test_get_tx()
◆ test_setup()
◆ test_trezor_tx()
◆ update_client_settings()
| void gen_trezor_base::update_client_settings |
( |
| ) |
|
|
protectedvirtual |
◆ update_trackers()
| void gen_trezor_base::update_trackers |
( |
std::vector< test_event_entry > & | events | ) |
|
|
virtual |
◆ verify_tx_key()
◆ boost::serialization::access
| friend class boost::serialization::access |
|
friend |
◆ tsx_builder
◆ m_alice_account
◆ m_alice_spend_private
◆ m_alice_view_private
| const std::string gen_trezor_base::m_alice_view_private = "a6ccd4ac344a295d1387f8d18c81bdd394f1845de84188e204514ef9370fd403" |
|
static |
◆ m_bob_account
◆ m_bt
◆ m_daemon
◆ m_device_name
| const std::string gen_trezor_base::m_device_name = "Trezor:udp" |
|
static |
◆ m_device_seed
| const std::string gen_trezor_base::m_device_seed = "permit universe parent weapon amused modify essay borrow tobacco budget walnut lunch consider gallery ride amazing frog forget treat market chapter velvet useless topple" |
|
static |
◆ m_eve_account
◆ m_events
◆ m_generator
◆ m_hard_forks
◆ m_head
◆ m_heavy_tests
| bool gen_trezor_base::m_heavy_tests |
|
protected |
◆ m_live_refresh_enabled
| bool gen_trezor_base::m_live_refresh_enabled |
|
protected |
◆ m_master_seed_str
| const std::string gen_trezor_base::m_master_seed_str = "14821d0bc5659b24cafbc889dc4fc60785ee08b65d71c525f81eeaba4f3a570f" |
|
static |
◆ m_miner_account
◆ m_network_type
◆ m_rct_config
◆ m_test_get_tx_key
| bool gen_trezor_base::m_test_get_tx_key |
|
protected |
◆ m_top_hard_fork
| uint8_t gen_trezor_base::m_top_hard_fork |
|
protected |
◆ m_trezor
| hw::trezor::device_trezor* gen_trezor_base::m_trezor |
|
protected |
◆ m_trezor_path
| std::string gen_trezor_base::m_trezor_path |
|
protected |
◆ m_ts_start
◆ m_wallet_ts
◆ m_wl_alice
◆ m_wl_bob
◆ m_wl_eve
The documentation for this class was generated from the following files: