mirror of
https://github.com/wownero/wownero-cpp.git
synced 2026-10-22 01:28:44 +02:00
implement get/set attributes
This commit is contained in:
@@ -1600,6 +1600,14 @@ namespace monero {
|
||||
return wallet2->import_outputs_from_str(blob);
|
||||
}
|
||||
|
||||
void MoneroWallet::setAttribute(const string& key, const string& val) {
|
||||
wallet2->set_attribute(key, val);
|
||||
}
|
||||
|
||||
string MoneroWallet::getAttribute(const string& key) const {
|
||||
return wallet2->get_attribute(key);
|
||||
}
|
||||
|
||||
void MoneroWallet::startMining(boost::optional<uint64_t> numThreads, boost::optional<bool> backgroundMining, boost::optional<bool> ignoreBattery) {
|
||||
cout << "startMining" << endl;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user