mirror of
https://github.com/wownero/wownero-cpp.git
synced 2026-10-17 15:21:30 +02:00
compiling for java
This commit is contained in:
@@ -1325,8 +1325,6 @@ namespace monero {
|
||||
return get_subaddresses_aux(account_idx, subaddress_indices, transfers);
|
||||
}
|
||||
|
||||
// get_subaddresses
|
||||
|
||||
monero_subaddress monero_wallet_core::create_subaddress(const uint32_t account_idx, const string& label) {
|
||||
MTRACE("create_subaddress(" << account_idx << ", " << label << ")");
|
||||
|
||||
|
||||
@@ -108,7 +108,7 @@ namespace monero {
|
||||
* @param daemon_connection is connection information to a daemon (default = an unconnected wallet)
|
||||
* @param language is the wallet and mnemonic's language (default = "English")
|
||||
*/
|
||||
static monero_wallet_core* create_wallet_random(const string& path, const string& password, const monero_network_type network_type, const monero_rpc_connection& daemon_connection = monero_rpc_connection, const string& language = "English");
|
||||
static monero_wallet_core* create_wallet_random(const string& path, const string& password, const monero_network_type network_type, const monero_rpc_connection& daemon_connection, const string& language = "English");
|
||||
|
||||
/**
|
||||
* Create a wallet from an existing mnemonic phrase.
|
||||
@@ -195,7 +195,6 @@ namespace monero {
|
||||
monero_account get_account(const uint32_t account_idx, bool include_subaddresses) const;
|
||||
monero_account create_account(const string& label = "");
|
||||
vector<monero_subaddress> get_subaddresses(const uint32_t account_idx, const vector<uint32_t>& subaddress_indices) const;
|
||||
monero_subaddress get_subaddress(const uint32_t account_idx, const uint32_t subaddress_idx) const;
|
||||
monero_subaddress create_subaddress(uint32_t account_idx, const string& label = "");
|
||||
vector<shared_ptr<monero_tx_wallet>> get_txs() const;
|
||||
vector<shared_ptr<monero_tx_wallet>> get_txs(const monero_tx_query& query) const;
|
||||
|
||||
@@ -258,6 +258,16 @@ namespace monero {
|
||||
return subaddresses;
|
||||
}
|
||||
|
||||
string monero_wallet_keys::sign(const string& msg) const {
|
||||
cout << "monero_wallet_keys::sign()" << endl;
|
||||
throw runtime_error("monero_wallet_keys::sign() not implemented");
|
||||
}
|
||||
|
||||
bool monero_wallet_keys::verify(const string& msg, const string& address, const string& signature) const {
|
||||
cout << "monero_wallet_keys::verify()" << endl;
|
||||
throw runtime_error("monero_wallet_keys::verify() not implemented");
|
||||
}
|
||||
|
||||
void monero_wallet_keys::close(bool save) {
|
||||
if (save) throw runtime_error("MoneroWalletKeys does not support saving");
|
||||
// no pointers to destroy
|
||||
|
||||
@@ -120,7 +120,6 @@ namespace monero {
|
||||
monero_integrated_address decode_integrated_address(const string& integrated_address) const;
|
||||
monero_account get_account(const uint32_t account_idx, bool include_subaddresses) const;
|
||||
vector<monero_subaddress> get_subaddresses(const uint32_t account_idx, const vector<uint32_t>& subaddress_indices) const;
|
||||
monero_subaddress get_subaddress(const uint32_t account_idx, const uint32_t subaddress_idx) const;
|
||||
string sign(const string& msg) const;
|
||||
bool verify(const string& msg, const string& address, const string& signature) const;
|
||||
void close(bool save = false);
|
||||
|
||||
Reference in New Issue
Block a user