Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MMS: Test PR against master, with diff display problem #1

Merged
merged 41 commits into from
Jun 28, 2024
Merged
Changes from 2 commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
3dba7f2
protocol: option to pad transaction relay to the next kB
moneromooo-monero Nov 2, 2018
9b5efad
simplewallet: enable donation on testnet/stagenet for easier testing
stoffu Nov 23, 2018
2be31b4
blockchain_blackball: spot when all outputs of an amount are spent
moneromooo-monero Nov 24, 2018
e98ae34
core: fix adding new pre-hoh block when a tx is already in the pool
moneromooo-monero Nov 26, 2018
7cc27b3
Revert "easylogging++: make the logger handle early/late logging"
moneromooo-monero Nov 11, 2018
721aacd
easylogging++: faster access to logging
moneromooo-monero Nov 11, 2018
5ca4994
rpc: speed up the common get_output_distribution case while syncing
moneromooo-monero Nov 7, 2018
756684b
blockchain: avoid unnecessary DB lookups when syncing
moneromooo-monero Nov 10, 2018
17b4572
Outputs where all amounts are known spent can now be pruned
moneromooo-monero Nov 24, 2018
a48f2da
blockchain_prune_known_spent_data: blackball file is now optional
moneromooo-monero Nov 27, 2018
dc1c125
add command pop_blocks
Jasonhcwong Nov 25, 2018
318cc78
device/trezor: passphrase entry on host
ph4r05 Nov 11, 2018
ac66541
ringct: fix dummy bulletproofs on ledger in fake mode
moneromooo-monero Nov 30, 2018
aba9a9c
daemon: stop miner before we bring the whole thing down
moneromooo-monero Nov 30, 2018
0c5dd31
cryptonote: add a set_null for transaction_prefix
moneromooo-monero Nov 30, 2018
4d71d46
mlocker: remove early page size log
moneromooo-monero Nov 30, 2018
9b69a0a
daemon: print monero version at startup when calling a detached daemon
moneromooo-monero Nov 30, 2018
ab783b1
easylogging++: ensure logger is initialized before main
moneromooo-monero Nov 30, 2018
4f74a31
http -> https
rex4539 Nov 24, 2018
6456cb4
Bulletproof: Initialize members in default construtor.
tmoravec Dec 1, 2018
d21dad7
device: enable to use multiple independent device wallets
ph4r05 Nov 11, 2018
9cf636a
device/trezor: ask for KI sync on first refresh
ph4r05 Nov 12, 2018
65b9bca
device/trezor: python2 compatibility - bundle dependencies
ph4r05 Nov 29, 2018
d71f89e
device/trezor: device/trezor: correct device initialization, status c…
ph4r05 Nov 28, 2018
dde1e69
Merge pull request #4787
fluffypony Dec 12, 2018
0b31baf
Merge pull request #4839
fluffypony Dec 12, 2018
5123749
Merge pull request #4840
fluffypony Dec 12, 2018
c73ac91
Merge pull request #4897
fluffypony Dec 12, 2018
85262ca
Merge pull request #4899
fluffypony Dec 12, 2018
2dd6fe4
Merge pull request #4900
fluffypony Dec 12, 2018
d855f9b
Merge pull request #4901
fluffypony Dec 12, 2018
0fccc78
Merge pull request #4903
fluffypony Dec 12, 2018
4556f0e
Merge pull request #4908
fluffypony Dec 12, 2018
83684ea
Merge pull request #4909
fluffypony Dec 12, 2018
e19a205
Merge pull request #4920
fluffypony Dec 12, 2018
e9aa886
Merge pull request #4921
fluffypony Dec 12, 2018
fe3c8c9
Merge pull request #4923
fluffypony Dec 12, 2018
51874e5
Merge pull request #4924
fluffypony Dec 12, 2018
5e9225e
Merge pull request #4925
fluffypony Dec 12, 2018
6bc0c7e
Merge pull request #4927
fluffypony Dec 12, 2018
1ebcd7b
MMS (Multisig Messaging System): Initial version
rbrunner7 Oct 28, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 21 additions & 8 deletions src/simplewallet/simplewallet.cpp
Original file line number Diff line number Diff line change
@@ -6008,12 +6008,6 @@ bool simple_wallet::sweep_below(const std::vector<std::string> &args_)
//----------------------------------------------------------------------------------------------------
bool simple_wallet::donate(const std::vector<std::string> &args_)
{
if(m_wallet->nettype() != cryptonote::MAINNET)
{
fail_msg_writer() << tr("donations are not enabled on the testnet or on the stagenet");
return true;
}

std::vector<std::string> local_args = args_;
if(local_args.empty() || local_args.size() > 5)
{
@@ -6035,11 +6029,30 @@ bool simple_wallet::donate(const std::vector<std::string> &args_)
amount_str = local_args.back();
local_args.pop_back();
// push back address, amount, payment id
local_args.push_back(MONERO_DONATION_ADDR);
std::string address_str;
if (m_wallet->nettype() != cryptonote::MAINNET)
{
// if not mainnet, convert donation address string to the relevant network type
address_parse_info info;
if (!cryptonote::get_account_address_from_str(info, cryptonote::MAINNET, MONERO_DONATION_ADDR))
{
fail_msg_writer() << tr("Failed to parse donation address: ") << MONERO_DONATION_ADDR;
return true;
}
address_str = cryptonote::get_account_address_as_str(m_wallet->nettype(), info.is_subaddress, info.address);
}
else
{
address_str = MONERO_DONATION_ADDR;
}
local_args.push_back(address_str);
local_args.push_back(amount_str);
if (!payment_id_str.empty())
local_args.push_back(payment_id_str);
message_writer() << (boost::format(tr("Donating %s %s to The Monero Project (donate.getmonero.org or %s).")) % amount_str % cryptonote::get_unit(cryptonote::get_default_decimal_point()) % MONERO_DONATION_ADDR).str();
if (m_wallet->nettype() == cryptonote::MAINNET)
message_writer() << (boost::format(tr("Donating %s %s to The Monero Project (donate.getmonero.org or %s).")) % amount_str % cryptonote::get_unit(cryptonote::get_default_decimal_point()) % MONERO_DONATION_ADDR).str();
else
message_writer() << (boost::format(tr("Donating %s %s to %s.")) % amount_str % cryptonote::get_unit(cryptonote::get_default_decimal_point()) % address_str).str();
transfer(local_args);
return true;
}