|
Electroneum
|
#include <trezor_tests.h>

Public Member Functions | |
| tsx_builder () | |
| tsx_builder (gen_trezor_base *tester) | |
| tsx_builder * | cur_height (uint64_t cur_height) |
| tsx_builder * | mixin (size_t mixin=TREZOR_TEST_MIXIN) |
| tsx_builder * | fee (uint64_t fee=TREZOR_TEST_FEE) |
| tsx_builder * | payment_id (const std::string &payment_id) |
| tsx_builder * | from (tools::wallet2 *from, uint32_t account=0) |
| tsx_builder * | sources (std::vector< cryptonote::tx_source_entry > &sources, std::vector< size_t > &selected_transfers) |
| tsx_builder * | compute_sources (boost::optional< size_t > num_utxo=boost::none, boost::optional< uint64_t > min_amount=boost::none, ssize_t offset=-1, int step=1, boost::optional< fnc_accept_tx_source_t > fnc_accept=boost::none) |
| tsx_builder * | compute_sources_to_sub (boost::optional< size_t > num_utxo=boost::none, boost::optional< uint64_t > min_amount=boost::none, ssize_t offset=-1, int step=1, boost::optional< fnc_accept_tx_source_t > fnc_accept=boost::none) |
| tsx_builder * | compute_sources_to_sub_acc (boost::optional< size_t > num_utxo=boost::none, boost::optional< uint64_t > min_amount=boost::none, ssize_t offset=-1, int step=1, boost::optional< fnc_accept_tx_source_t > fnc_accept=boost::none) |
| tsx_builder * | destinations (std::vector< cryptonote::tx_destination_entry > &dsts) |
| tsx_builder * | add_destination (const cryptonote::tx_destination_entry &dst) |
| tsx_builder * | add_destination (const tools::wallet2 *wallet, bool is_subaddr=false, uint64_t amount=1000) |
| tsx_builder * | add_destination (const var_addr_t addr, bool is_subaddr=false, uint64_t amount=1000) |
| tsx_builder * | set_integrated (size_t idx) |
| tsx_builder * | rct_config (const rct::RCTConfig &rct_config) |
| tsx_builder * | build_tx () |
| tsx_builder * | construct_pending_tx (tools::wallet2::pending_tx &ptx, boost::optional< std::vector< uint8_t >> extra=boost::none) |
| tsx_builder * | clear_current () |
| std::vector< tools::wallet2::pending_tx > | build () |
| std::vector< cryptonote::address_parse_info > | dest_info () |
Protected Attributes | |
| gen_trezor_base * | m_tester |
| uint64_t | m_cur_height |
| std::vector< tools::wallet2::pending_tx > | m_ptxs |
| size_t | m_mixin |
| uint64_t | m_fee |
| tools::wallet2 * | m_from |
| uint32_t | m_account |
| cryptonote::transaction | m_tx |
| std::vector< size_t > | m_selected_transfers |
| std::vector< cryptonote::tx_source_entry > | m_sources |
| std::vector< cryptonote::tx_destination_entry > | m_destinations |
| std::vector< cryptonote::tx_destination_entry > | m_destinations_orig |
| std::vector< cryptonote::address_parse_info > | m_dsts_info |
| std::unordered_set< size_t > | m_integrated |
| std::string | m_payment_id |
| rct::RCTConfig | m_rct_config |
Definition at line 150 of file trezor_tests.h.
|
inline |
Definition at line 152 of file trezor_tests.h.
|
inline |
Definition at line 155 of file trezor_tests.h.
| tsx_builder * tsx_builder::add_destination | ( | const cryptonote::tx_destination_entry & | dst | ) |
Definition at line 1354 of file trezor_tests.cpp.
| tsx_builder * tsx_builder::add_destination | ( | const tools::wallet2 * | wallet, |
| bool | is_subaddr = false, |
||
| uint64_t | amount = 1000 |
||
| ) |
Definition at line 1366 of file trezor_tests.cpp.

| tsx_builder * tsx_builder::add_destination | ( | const var_addr_t | addr, |
| bool | is_subaddr = false, |
||
| uint64_t | amount = 1000 |
||
| ) |
Definition at line 1360 of file trezor_tests.cpp.

| std::vector< tools::wallet2::pending_tx > tsx_builder::build | ( | ) |
Definition at line 1473 of file trezor_tests.cpp.
| tsx_builder * tsx_builder::build_tx | ( | ) |
Definition at line 1391 of file trezor_tests.cpp.

| tsx_builder * tsx_builder::clear_current | ( | ) |
Definition at line 1378 of file trezor_tests.cpp.
| tsx_builder * tsx_builder::compute_sources | ( | boost::optional< size_t > | num_utxo = boost::none, |
| boost::optional< uint64_t > | min_amount = boost::none, |
||
| ssize_t | offset = -1, |
||
| int | step = 1, |
||
| boost::optional< fnc_accept_tx_source_t > | fnc_accept = boost::none |
||
| ) |
Definition at line 1293 of file trezor_tests.cpp.


| tsx_builder * tsx_builder::compute_sources_to_sub | ( | boost::optional< size_t > | num_utxo = boost::none, |
| boost::optional< uint64_t > | min_amount = boost::none, |
||
| ssize_t | offset = -1, |
||
| int | step = 1, |
||
| boost::optional< fnc_accept_tx_source_t > | fnc_accept = boost::none |
||
| ) |
Definition at line 1318 of file trezor_tests.cpp.

| tsx_builder * tsx_builder::compute_sources_to_sub_acc | ( | boost::optional< size_t > | num_utxo = boost::none, |
| boost::optional< uint64_t > | min_amount = boost::none, |
||
| ssize_t | offset = -1, |
||
| int | step = 1, |
||
| boost::optional< fnc_accept_tx_source_t > | fnc_accept = boost::none |
||
| ) |
Definition at line 1333 of file trezor_tests.cpp.

| tsx_builder * tsx_builder::construct_pending_tx | ( | tools::wallet2::pending_tx & | ptx, |
| boost::optional< std::vector< uint8_t >> | extra = boost::none |
||
| ) |
Definition at line 1427 of file trezor_tests.cpp.

|
inline |
Definition at line 159 of file trezor_tests.h.


|
inline |
Definition at line 180 of file trezor_tests.h.
| tsx_builder * tsx_builder::destinations | ( | std::vector< cryptonote::tx_destination_entry > & | dsts | ) |
Definition at line 1348 of file trezor_tests.cpp.
|
inline |
Definition at line 161 of file trezor_tests.h.


|
inline |
Definition at line 163 of file trezor_tests.h.


|
inline |
Definition at line 160 of file trezor_tests.h.


|
inline |
Definition at line 162 of file trezor_tests.h.


|
inline |
Definition at line 174 of file trezor_tests.h.


| tsx_builder * tsx_builder::set_integrated | ( | size_t | idx | ) |
Definition at line 1372 of file trezor_tests.cpp.
| tsx_builder * tsx_builder::sources | ( | std::vector< cryptonote::tx_source_entry > & | sources, |
| std::vector< size_t > & | selected_transfers | ||
| ) |
Definition at line 1286 of file trezor_tests.cpp.
|
protected |
Definition at line 191 of file trezor_tests.h.
|
protected |
Definition at line 184 of file trezor_tests.h.
|
protected |
Definition at line 195 of file trezor_tests.h.
|
protected |
Definition at line 196 of file trezor_tests.h.
|
protected |
Definition at line 197 of file trezor_tests.h.
|
protected |
Definition at line 189 of file trezor_tests.h.
|
protected |
Definition at line 190 of file trezor_tests.h.
|
protected |
Definition at line 198 of file trezor_tests.h.
|
protected |
Definition at line 188 of file trezor_tests.h.
|
protected |
Definition at line 199 of file trezor_tests.h.
|
protected |
Definition at line 185 of file trezor_tests.h.
|
protected |
Definition at line 200 of file trezor_tests.h.
|
protected |
Definition at line 193 of file trezor_tests.h.
|
protected |
Definition at line 194 of file trezor_tests.h.
|
protected |
Definition at line 183 of file trezor_tests.h.
|
protected |
Definition at line 192 of file trezor_tests.h.