update donation address
This commit is contained in:
parent
f58de1e817
commit
b6c3926287
|
@ -1940,6 +1940,7 @@ bool simple_wallet::help(const std::vector<std::string> &args/* = std::vector<st
|
||||||
tr(" \"refresh\" - Synchronize wallet with the Wownero network.\n") <<
|
tr(" \"refresh\" - Synchronize wallet with the Wownero network.\n") <<
|
||||||
tr(" \"status\" - Check current status of wallet.\n") <<
|
tr(" \"status\" - Check current status of wallet.\n") <<
|
||||||
tr(" \"version\" - Check software version.\n") <<
|
tr(" \"version\" - Check software version.\n") <<
|
||||||
|
tr(" \"donate [amount]\" - Donate WOW to dev team.\n") <<
|
||||||
tr(" \"help\" - Show simplified help section.\n") <<
|
tr(" \"help\" - Show simplified help section.\n") <<
|
||||||
tr(" \"help_advanced\" - Show advanced help section.\n") <<
|
tr(" \"help_advanced\" - Show advanced help section.\n") <<
|
||||||
tr(" \"save\" - Save wallet.\n") <<
|
tr(" \"save\" - Save wallet.\n") <<
|
||||||
|
@ -2028,8 +2029,10 @@ simple_wallet::simple_wallet()
|
||||||
tr("Send a single output of the given key image to an address without change."));
|
tr("Send a single output of the given key image to an address without change."));
|
||||||
m_cmd_binder.set_handler("donate",
|
m_cmd_binder.set_handler("donate",
|
||||||
boost::bind(&simple_wallet::donate, this, _1),
|
boost::bind(&simple_wallet::donate, this, _1),
|
||||||
tr("donate [index=<N1>[,<N2>,...]] [<priority>] <amount> [<payment_id>]"),
|
tr("donate [index=<N1>[,<N2>,...]] [<priority>] <amount> [<payment_id>]\n\n"
|
||||||
tr("Donate <amount> to the development team (donate.getmonero.org)."));
|
" Development fund:\n"
|
||||||
|
" Address: Wo3MWeKwtA918DU4c69hVSNgejdWFCRCuWjShRY66mJkU2Hv58eygJWDJS1MNa2Ge5M1WjUkGHuLqHkweDxwZZU42d16v94mP\n"
|
||||||
|
" Viewkey: e62e40bfd5ca7e3a7f199602a3c97df511780489e1c1861884b00c28abaea406"));
|
||||||
m_cmd_binder.set_handler("sign_transfer",
|
m_cmd_binder.set_handler("sign_transfer",
|
||||||
boost::bind(&simple_wallet::sign_transfer, this, _1),
|
boost::bind(&simple_wallet::sign_transfer, this, _1),
|
||||||
tr("sign_transfer [export]"),
|
tr("sign_transfer [export]"),
|
||||||
|
@ -5232,7 +5235,7 @@ bool simple_wallet::donate(const std::vector<std::string> &args_)
|
||||||
local_args.push_back(amount_str);
|
local_args.push_back(amount_str);
|
||||||
if (!payment_id_str.empty())
|
if (!payment_id_str.empty())
|
||||||
local_args.push_back(payment_id_str);
|
local_args.push_back(payment_id_str);
|
||||||
message_writer() << tr("Donating ") << amount_str << " to The Monero Project (donate.getmonero.org or "<< MONERO_DONATION_ADDR <<").";
|
message_writer() << tr("Donating ") << amount_str << " WOW to help get some stripers through college.";
|
||||||
transfer_new(local_args);
|
transfer_new(local_args);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
#undef MONERO_DEFAULT_LOG_CATEGORY
|
#undef MONERO_DEFAULT_LOG_CATEGORY
|
||||||
#define MONERO_DEFAULT_LOG_CATEGORY "wallet.simplewallet"
|
#define MONERO_DEFAULT_LOG_CATEGORY "wallet.simplewallet"
|
||||||
// Hardcode Monero's donation address (see #1447)
|
// Hardcode Monero's donation address (see #1447)
|
||||||
constexpr const char MONERO_DONATION_ADDR[] = "44AFFq5kSiGBoZ4NMDwYtN18obc8AemS33DBLWs3H7otXft3XjrpDtQGv7SqSsaBYBb98uNbr2VBBEt7f2wfn3RVGQBEP3A";
|
constexpr const char MONERO_DONATION_ADDR[] = "Wo3MWeKwtA918DU4c69hVSNgejdWFCRCuWjShRY66mJkU2Hv58eygJWDJS1MNa2Ge5M1WjUkGHuLqHkweDxwZZU42d16v94mP";
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \namespace cryptonote
|
* \namespace cryptonote
|
||||||
|
|
Loading…
Reference in New Issue