|
Monero
|
#include "include_base_utils.h"#include "file_io_utils.h"#include "cryptonote_basic/blobdatatype.h"#include "cryptonote_basic/cryptonote_basic.h"#include "cryptonote_basic/cryptonote_format_utils.h"#include "wallet/wallet2.h"#include "fuzzer.h"
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::wallet2 * | wallet = 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)) |
| if | ( | ! | cryptonote::get_account_address_from_str_or_urlinfo, cryptonote::TESTNET, "9uVsvEryzpN8WH2t1WWhFFCG5tS8cBNdmJYNRuckLENFimfauV5pZKeS1P2CbxGkSDTUPHXWwiYE5ZGSXDAGbaZgDxobqDN" | ) |
| wallet init | ( | "" | , |
| boost::none | , | ||
| "" | , | ||
| 0 | , | ||
| true | , | ||
| epee::net_utils::ssl_support_t::e_ssl_support_disabled | ) |
| wallet set_subaddress_lookahead | ( | 1 | , |
| 1 | ) |
|
static |
|
static |
| tools::wallet2::message_signature_result_t result = wallet->verify("test", address, std::string((const char*)buf, len)) |
| crypto::secret_key spendkey |
|
static |
|
static |