Monero
Loading...
Searching...
No Matches
cold-transaction.cpp File Reference
Include dependency graph for cold-transaction.cpp:

Functions

wallet init ("", boost::none, "", 0, true, epee::net_utils::ssl_support_t::e_ssl_support_disabled)
wallet set_subaddress_lookahead (1, 1)
wallet generate ("", "", spendkey, true, false)

Variables

static tools::wallet2wallet = NULL
static tools::wallet2 local_wallet
static const char *const spendkey_hex = "f285d4ac9e66271256fc7cde0d3d6b36f66efff6ccd766706c408e86f4997a0d"
crypto::secret_key spendkey
tools::wallet2::unsigned_tx_set exported_txs
binary_archive< falsear {{buf, len}}
std::vector< tools::wallet2::pending_txptx
bool success = wallet->sign_tx(exported_txs, "/tmp/cold-transaction-test-signed", ptx)

Function Documentation

◆ generate()

wallet generate ( "" ,
"" ,
spendkey ,
true ,
false  )

◆ init()

wallet init ( "" ,
boost::none ,
"" ,
0 ,
true ,
epee::net_utils::ssl_support_t::e_ssl_support_disabled  )

◆ set_subaddress_lookahead()

wallet set_subaddress_lookahead ( 1 ,
1  )

Variable Documentation

◆ ar

binary_archive<false> ar {{buf, len}}

◆ exported_txs

◆ local_wallet

tools::wallet2 local_wallet
static

◆ ptx

std::vector<tools::wallet2::pending_tx> ptx

◆ spendkey

◆ spendkey_hex

const char* const spendkey_hex = "f285d4ac9e66271256fc7cde0d3d6b36f66efff6ccd766706c408e86f4997a0d"
static

◆ success

bool success = wallet->sign_tx(exported_txs, "/tmp/cold-transaction-test-signed", ptx)

◆ wallet

wallet = NULL
static