Electroneum
Loading...
Searching...
No Matches
test_wallet2_expand_subaddresses< Major, Minor > Class Template Reference

#include <subaddress_expand.h>

Inheritance diagram for test_wallet2_expand_subaddresses< Major, Minor >:
Collaboration diagram for test_wallet2_expand_subaddresses< Major, Minor >:

Public Member Functions

bool init ()
bool test ()
Public Member Functions inherited from single_tx_test_base
bool init ()

Static Public Attributes

static const size_t loop_count = 1
static const size_t major = Major
static const size_t minor = Minor

Additional Inherited Members

Protected Attributes inherited from single_tx_test_base
cryptonote::account_base m_bob
cryptonote::transaction m_tx
crypto::public_key m_tx_pub_key
std::vector< crypto::public_keym_additional_tx_pub_keys

Detailed Description

template<size_t Major, size_t Minor>
class test_wallet2_expand_subaddresses< Major, Minor >

Definition at line 39 of file subaddress_expand.h.

Member Function Documentation

◆ init()

template<size_t Major, size_t Minor>
bool test_wallet2_expand_subaddresses< Major, Minor >::init ( )
inline

Definition at line 46 of file subaddress_expand.h.

47 {
49 return false;
50 wallet.set_subaddress_lookahead(1, 1);
52 wallet.generate("", "", spendkey, true, false);
53 wallet.set_subaddress_lookahead(major, minor);
54 return true;
55 }
Here is the call graph for this function:

◆ test()

template<size_t Major, size_t Minor>
bool test_wallet2_expand_subaddresses< Major, Minor >::test ( )
inline

Definition at line 57 of file subaddress_expand.h.

58 {
59 wallet.expand_subaddresses({1, 0});
60 return true;
61 }

Member Data Documentation

◆ loop_count

template<size_t Major, size_t Minor>
const size_t test_wallet2_expand_subaddresses< Major, Minor >::loop_count = 1
static

Definition at line 42 of file subaddress_expand.h.

◆ major

template<size_t Major, size_t Minor>
const size_t test_wallet2_expand_subaddresses< Major, Minor >::major = Major
static

Definition at line 43 of file subaddress_expand.h.

◆ minor

template<size_t Major, size_t Minor>
const size_t test_wallet2_expand_subaddresses< Major, Minor >::minor = Minor
static

Definition at line 44 of file subaddress_expand.h.


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/subaddress_expand.h