Monero
Loading...
Searching...
No Matches
signature.cpp File Reference
Include dependency graph for signature.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)
 if (!cryptonote::get_account_address_from_str_or_url(info, cryptonote::TESTNET, "9uVsvEryzpN8WH2t1WWhFFCG5tS8cBNdmJYNRuckLENFimfauV5pZKeS1P2CbxGkSDTUPHXWwiYE5ZGSXDAGbaZgDxobqDN"))

Variables

static tools::wallet2wallet = NULL
static cryptonote::account_public_address address = info.address
static tools::wallet2 local_wallet (cryptonote::TESTNET)
static const char *const spendkey_hex = "0b4f47697ec99c3de6579304e5f25c68b07afbe55b71d99620bf6cbf4e45a80f"
crypto::secret_key spendkey
cryptonote::address_parse_info info
tools::wallet2::message_signature_result_t result = wallet->verify("test", address, std::string((const char*)buf, len))

Function Documentation

◆ generate()

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

◆ if()

if ( ! cryptonote::get_account_address_from_str_or_urlinfo, cryptonote::TESTNET, "9uVsvEryzpN8WH2t1WWhFFCG5tS8cBNdmJYNRuckLENFimfauV5pZKeS1P2CbxGkSDTUPHXWwiYE5ZGSXDAGbaZgDxobqDN")

◆ 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

◆ address

address = info.address
static

◆ info

◆ local_wallet

◆ result

tools::wallet2::message_signature_result_t result = wallet->verify("test", address, std::string((const char*)buf, len))

◆ spendkey

◆ spendkey_hex

const char* const spendkey_hex = "0b4f47697ec99c3de6579304e5f25c68b07afbe55b71d99620bf6cbf4e45a80f"
static

◆ wallet

wallet = NULL
static