#include <is_out_to_acc.h>
Definition at line 52 of file is_out_to_acc.h.
◆ init()
| bool test_is_out_to_acc_precomp::init |
( |
| ) |
|
|
inline |
Definition at line 57 of file is_out_to_acc.h.
58 {
60 return false;
62 return true;
63 }
crypto::public_key m_tx_pub_key
cryptonote::account_base m_bob
bool generate_key_derivation(const public_key &key1, const secret_key &key2, key_derivation &derivation)
◆ test()
| bool test_is_out_to_acc_precomp::test |
( |
| ) |
|
|
inline |
Definition at line 64 of file is_out_to_acc.h.
65 {
66 const cryptonote::txout_to_key& tx_out = boost::get<cryptonote::txout_to_key>(
m_tx.vout[0].target);
67 std::unordered_map<crypto::public_key, cryptonote::subaddress_index> subaddresses;
68 subaddresses[
m_bob.get_keys().m_account_address.m_spend_public_key] = {0,0};
69 std::vector<crypto::key_derivation> additional_derivations;
72 }
cryptonote::transaction m_tx
boost::optional< subaddress_receive_info > is_out_to_acc_precomp(const std::unordered_map< crypto::public_key, subaddress_index > &subaddresses, const crypto::public_key &out_key, const crypto::key_derivation &derivation, const std::vector< crypto::key_derivation > &additional_derivations, size_t output_index, hw::device &hwdev)
device & get_device(const std::string &device_descriptor)
◆ loop_count
| const size_t test_is_out_to_acc_precomp::loop_count = 1000 |
|
static |
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/tests/performance_tests/is_out_to_acc.h