moneromooo-monero
1a367d6a22
simplewallet: lock console on inactivity
5 years ago
moneromooo-monero
21f6c80fcd
rpc: move a leftover light wallet RPC out of daemon RPC
5 years ago
luigi1111
8f6f674753
Merge pull request #5609
...
1dc3b1a
wallet: add --extra-entropy command line flag (moneromooo-monero)
5 years ago
moneromooo-monero
c4da1a25c3
wallet2: fix unset_ring tx retrieval checks
5 years ago
moneromooo-monero
894cc81e83
wallet2: fix cold signing losing tx keys
5 years ago
Tadeas Moravec
63186a01ce
Wallet: Option to export data to ASCII
...
New CLI wallet variable: export-format with options "binary" (the default),
or "ascii". "Binary" behaves as before, "ascii" forces the wallet to convert
data to ASCII using base64.
Reading files from the disk tries to auto detect what format has been
used (using a magic string added when exporting the data).
Implements https://github.com/monero-project/monero/issues/2859
5 years ago
moneromooo-monero
1dc3b1a516
wallet: add --extra-entropy command line flag
...
It lets the user add custom entropy to the PRNG.
It does this by hashing the new data and xoring the resulting
hash with the PRNG state.
5 years ago
luigi1111
65e937168e
Merge pull request #5722
...
8be5fea
simplewallet: optional all flag to export_outputs/export_key_images (moneromooo-monero)
5 years ago
luigi1111
f205d28e96
Merge pull request #5727
...
7b9a420
Replace std::random_shuffle with std::shuffle (tomsmeding)
5 years ago
moneromooo-monero
839fc6256b
reject setting lookahead major or minor to 0
5 years ago
luigi1111
1a259a1c70
Merge pull request #5672
...
b2bfcab
wallet2: fix change subaddress mixup when sending pre rct outputs (moneromooo-monero)
5 years ago
luigi1111
739b02ef38
Merge pull request #5662
...
64fb0f8
device: tx_key caching fixed, store recovered txkey (ph4r05)
5 years ago
Tom Smeding
7b9a420787
Replace std::random_shuffle with std::shuffle
...
According to [1], std::random_shuffle is deprecated in C++14 and removed
in C++17. Since std::shuffle is available since C++11 as a replacement
and monero already requires C++11, this is a good replacement.
A cryptographically secure random number generator is used in all cases
to prevent people from perhaps copying an insecure std::shuffle call
over to a place where a secure one would be warranted. A form of
defense-in-depth.
[1]: https://en.cppreference.com/w/cpp/algorithm/random_shuffle
5 years ago
luigi1111
2258551ef9
Merge pull request #5487
...
df83ed7
consensus: from v12, enforce >= 2 outputs (moneromooo-monero)
5 years ago
luigi1111
c4071a00fb
Merge pull request #5600
...
dd58057
Remember RPC version on initial connect (hyc)
5 years ago
luigi1111
8ae2681e08
Merge pull request #5594
...
f074b6b
device: show address on device display (ph4r05)
5 years ago
luigi1111
7138f9d347
Merge pull request #5514
...
e4d100b
wallet2: don't wait a day before using new version fees (moneromooo-monero)
5 years ago
luigi1111
407683a38c
Merge pull request #5513
...
bc94ba4
wallet: distinguish between empty and absent attributes (moneromooo-monero)
5 years ago
luigi1111
e3de4aa68b
Merge pull request #5502
...
25a7cfd
add a few checks where it seems appropriate (moneromooo-monero)
1a66a86
remove unused code (moneromooo-monero)
5 years ago
moneromooo-monero
8be5fea1de
simplewallet: optional all flag to export_outputs/export_key_images
5 years ago
moneromooo-monero
b2bfcab618
wallet2: fix change subaddress mixup when sending pre rct outputs
5 years ago
Dusan Klinec
f074b6b571
device: show address on device display
...
- Trezor: support for device address display (subaddress, integrated address)
- Wallet::API support added
- Simplewallet:
- address device [<index>]
- address new <label> // shows address on device also
- integrated_address [device] <payment_id|address> // new optional "device" arg to display also on the device
5 years ago
Dusan Klinec
64fb0f872a
device: tx_key caching fixed, store recovered txkey
5 years ago
Howard Chu
dd58057126
Remember RPC version on initial connect
...
Don't keep asking for it on an intact connection
Wallet is too chatty over the wire
5 years ago
Riccardo Spagni
14d3295649
Merge pull request #5561
...
9bfa4c20
Fix allow any cert mode in wallet rpc when configured over rpc (Lee Clagett)
3544596f
Add ssl_options support to monerod's rpc mode. (Lee Clagett)
c9aaccf3
Fix configuration bug; wallet2 --daemon-ssl-allow-any-cert now works. (Lee Clagett)
5 years ago
Lee Clagett
c9aaccf346
Fix configuration bug; wallet2 --daemon-ssl-allow-any-cert now works.
5 years ago
moneromooo-monero
915f59e3c0
wallet: add unlock_time details to show_transfers
...
also add a note when receiving the tx, because the user
might not notice the "XXX blocks to unlock" in the balance.
5 years ago
moneromooo-monero
615f287aec
wallet: fix certificate fingerprint length check
...
Fixed by crCr62U0
5 years ago
Riccardo Spagni
97cb1c9436
Merge pull request #5508
...
1c44e658
wallet2: reject standalone short payment IDs in monero: URI API (moneromooo-monero)
5 years ago
Riccardo Spagni
ebb1c03e8c
Merge pull request #5501
...
b4ca72dd
wallet2: fix infinite loop picking outputs in corner case (moneromooo-monero)
5 years ago
moneromooo-monero
e4d100b062
wallet2: don't wait a day before using new version fees
...
30 blocks should be more than enough to drain the txpool of
transactions made with the old fee scheme
5 years ago
moneromooo-monero
bc94ba4d14
wallet: distinguish between empty and absent attributes
5 years ago
Riccardo Spagni
77f9bfa4d5
Merge pull request #5493
...
5e0da6fb
change SSL certificate fingerprint whitelisting from SHA1 to SHA-256 (moneromooo-monero)
5 years ago
Riccardo Spagni
efd2412e77
Merge pull request #5489
...
64983fce
wallet2: default to trying to keep 5 outputs of 2+ monero (moneromooo-monero)
5 years ago
moneromooo-monero
1c44e65863
wallet2: reject standalone short payment IDs in monero: URI API
5 years ago
moneromooo-monero
1a66a86f94
remove unused code
5 years ago
moneromooo-monero
b4ca72dde9
wallet2: fix infinite loop picking outputs in corner case
...
If we have fewer outputs available on the chain than what we
require, but the output we're spending already has a ring,
it would loop picking outputs randomly, but never find enough.
Also tune logs for better debugging this kind of thing.
5 years ago
moneromooo-monero
5e0da6fb68
change SSL certificate fingerprint whitelisting from SHA1 to SHA-256
...
SHA1 is too close to bruteforceable
5 years ago
Riccardo Spagni
581994b61c
Merge pull request #5486
...
4be18df3
tx_sanity_check: relax uniqueness check a bit (moneromooo-monero)
b386ae57
wallet2: add missing "sanity check failed" reason message (moneromooo-monero)
5 years ago
Riccardo Spagni
2e2ee3d823
Merge pull request #5485
...
c519d1df
wallet2: fix wrong change being recorded in sweep_all (moneromooo-monero)
5 years ago
moneromooo-monero
64983fcee4
wallet2: default to trying to keep 5 outputs of 2+ monero
...
In the case where previously a second unneeded output would be
added to a transaction. This should help *some* of the cases
where outputs are slowly being consolidated, leading to the
whole balance being locked when sending monero.
5 years ago
moneromooo-monero
df83ed74e4
consensus: from v12, enforce >= 2 outputs
5 years ago
moneromooo-monero
b386ae5725
wallet2: add missing "sanity check failed" reason message
5 years ago
moneromooo-monero
c519d1df34
wallet2: fix wrong change being recorded in sweep_all
...
leading to the sanity check triggering
5 years ago
Dusan Klinec
97e1c9278c
wallet: fix key image computation signaling to the device
5 years ago
moneromooo-monero
588e670089
simplewallet: fix output representation offset
5 years ago
moneromooo-monero
35e0a968bd
wallet2: "output lineup" fake out selection
...
Based on python code by sarang:
https://github.com/SarangNoether/skunkworks/blob/outputs/outputs/simulate.py
5 years ago
Riccardo Spagni
c8ce4217cf
Merge pull request #5445
...
b18f0b10
wallet: new --offline option (moneromooo-monero)
5 years ago
Riccardo Spagni
1f01070a0c
Merge pull request #5434
...
ccb996af
rpc: new sanity check on relayed transactions (moneromooo-monero)
5 years ago
Riccardo Spagni
8966ac314c
Merge pull request #5422
...
2c221d1b
wallet2: update estimate_rct_tx_size for smaller rct proofs (moneromooo-monero)
5 years ago
Riccardo Spagni
96696d1e75
Merge pull request #5418
...
374f388d
wallet_rpc_server: add a all flag to export_outputs (moneromooo-monero)
5 years ago
moneromooo-monero
b18f0b1051
wallet: new --offline option
...
It will avoid connecting to a daemon (so useful for cold signing
using a RPC wallet), and not perform DNS queries.
5 years ago
Riccardo Spagni
8bf0a3f123
Merge pull request #5396
...
b40392fb
wallet2: add --no-dns flag (moneromooo-monero)
5 years ago
Riccardo Spagni
98f4c8af98
Merge pull request #5395
...
15f27c80
wallet2: support multi out txes without change in sanity check (moneromooo-monero)
5 years ago
Riccardo Spagni
89b8ecfc7c
Merge pull request #5392
...
a2195b9b
crypto: replace rand<T>()%N idiom with unbiased rand_idx(N) (stoffu)
5 years ago
Riccardo Spagni
37aea526a9
Merge pull request #5355
...
c68fe787
device/trezor: add button pressed request (Dusan Klinec)
827f52ad
wallet: API changes to enable passphrase entry (Dusan Klinec)
5 years ago
moneromooo-monero
ccb996afc6
rpc: new sanity check on relayed transactions
...
This will weed out some transactions with silly rings
5 years ago
moneromooo-monero
2c221d1b6c
wallet2: update estimate_rct_tx_size for smaller rct proofs
5 years ago
Riccardo Spagni
5db72d12b4
Merge pull request #5388
...
0be5b2ee
simplewallet: new unset_ring command (moneromooo-monero)
5 years ago
Riccardo Spagni
5c02316598
Merge pull request #5382
...
c12b43cb
wallet: add number of blocks required for the balance to fully unlock (moneromooo-monero)
3f1e9e84
wallet2: set confirmations to 0 for pool txes in proofs (moneromooo-monero)
36c037ec
wallet_rpc_server: error out on getting the spend key from a hot wallet (moneromooo-monero)
cd1eaff2
wallet_rpc_server: always fill out subaddr_indices in get_transfers (moneromooo-monero)
5 years ago
Riccardo Spagni
3a4008f0fc
Merge pull request #5374
...
a2561653
wallet: new option to start background mining (moneromooo-monero)
5 years ago
moneromooo-monero
9f8dc4ce51
simplewallet: new net_stats command
...
displays total sent and received bytes
5 years ago
moneromooo-monero
374f388de2
wallet_rpc_server: add a all flag to export_outputs
...
if we don't want to export new outputs only
5 years ago
Lee Clagett
2e578b8214
Enabling daemon-rpc SSL now requires non-system CA verification
...
If `--daemon-ssl enabled` is set in the wallet, then a user certificate,
fingerprint, or onion/i2p address must be provided.
5 years ago
Dusan Klinec
c68fe7873b
device/trezor: add button pressed request
5 years ago
Lee Clagett
d58f368289
Require manual override for user chain certificates.
...
An override for the wallet to daemon connection is provided, but not for
other SSL contexts. The intent is to prevent users from supplying a
system CA as the "user" whitelisted certificate, which is less secure
since the key is controlled by a third party.
5 years ago
Lee Clagett
21eb1b0725
Pass SSL arguments via one class and use shared_ptr instead of reference
5 years ago
Lee Clagett
1f5ed328aa
Change default SSL to "enabled" if user specifies fingerprint/certificate
...
Currently if a user specifies a ca file or fingerprint to verify peer,
the default behavior is SSL autodetect which allows for mitm downgrade
attacks. It should be investigated whether a manual override should be
allowed - the configuration is likely always invalid.
5 years ago
Lee Clagett
a3b0284837
Change SSL certificate file list to OpenSSL builtin load_verify_location
...
Specifying SSL certificates for peer verification does an exact match,
making it a not-so-obvious alias for the fingerprints option. This
changes the checks to OpenSSL which loads concatenated certificate(s)
from a single file and does a certificate-authority (chain of trust)
check instead. There is no drop in security - a compromised exact match
fingerprint has the same worse case failure. There is increased security
in allowing separate long-term CA key and short-term SSL server keys.
This also removes loading of the system-default CA files if a custom
CA file or certificate fingerprint is specified.
5 years ago
Riccardo Spagni
c7e536db23
Merge pull request #5350
...
050bb337
wallet2: factor the watchonly/multisig/etc fields on creation (moneromooo-monero)
5 years ago
Riccardo Spagni
cd8fe937ad
Merge pull request #5347
...
d45b85e1
wallet2: skip derivation precalc for blocks we know we'll skip (moneromooo-monero)
5 years ago
Riccardo Spagni
4ac78e1612
Merge pull request #5346
...
c84ea299
cryptonote_basic: some more minor speedups (moneromooo-monero)
e40eb2ad
cryptonote_basic: speedup calculate_block_hash (moneromooo-monero)
547a9708
cryptonote: block parsing + hash calculation speedup (moneromooo-monero)
11604b6d
blockchain: avoid unneeded block copy (moneromooo-monero)
8461df04
save some database calls when getting top block hash and height (moneromooo-monero)
3bbc3661
Avoid repeated (de)serialization when syncing (moneromooo-monero)
5 years ago
Riccardo Spagni
9e72f785d6
Merge pull request #5343
...
cafa15b9
wallet2: set confirmations to 0 for pool txes in proofs (moneromooo-monero)
5 years ago
moneromooo-monero
a2561653cb
wallet: new option to start background mining
...
The setup-background-mining option can be used to select
background mining when a wallet loads. The user will be asked
the first time the wallet is created.
5 years ago
moneromooo-monero
b40392fb02
wallet2: add --no-dns flag
5 years ago
stoffu
a2195b9b7f
crypto: replace rand<T>()%N idiom with unbiased rand_idx(N)
5 years ago
moneromooo-monero
15f27c80b9
wallet2: support multi out txes without change in sanity check
5 years ago
moneromooo-monero
0be5b2ee78
simplewallet: new unset_ring command
...
Useful when debugging, though not much for users
5 years ago
moneromooo-monero
c12b43cb5a
wallet: add number of blocks required for the balance to fully unlock
5 years ago
moneromooo-monero
3f1e9e84c0
wallet2: set confirmations to 0 for pool txes in proofs
...
It makes more sense than (uint64_t)-1, which is going to look
like very much confirmed when not checking in_pool
5 years ago
Riccardo Spagni
b6726aaa6c
Merge pull request #5319
...
f825055d
wallet_rpc_server: error out on getting the spend key from a hot wallet (moneromooo-monero)
67aa4adc
wallet_rpc_server: add a set_daemon RPC (moneromooo-monero)
705acbac
wallet2: init some variables to default values if loading old wallets (moneromooo-monero)
f82bc29e
wallet_rpc_server: always fill out subaddr_indices in get_transfers (moneromooo-monero)
01efdc6a
wallet_rpc_server: set confirmations to 0 for pending/pool txes (moneromooo-monero)
5 years ago
moneromooo-monero
67aa4adcfc
wallet_rpc_server: add a set_daemon RPC
5 years ago
moneromooo-monero
705acbac4d
wallet2: init some variables to default values if loading old wallets
5 years ago
Riccardo Spagni
286dec012d
Merge pull request #5333
...
18faa6da
wallet: add freeze/thaw/frozen commands (moneromooo-monero)
5 years ago
Riccardo Spagni
b8ab510f23
Merge pull request #5332
...
7c440915
Add get_tx_proof support, needed for new sanity check (cslashm)
98fdcb2a
Add support for V11 protocol with BulletProofV2 and short amount. New scheme key destination contrfol Fix dummy decryption in debug mode (cslashm)
3a981a33
Add application version compatibility check. (cslashm)
5 years ago
Riccardo Spagni
3b52940471
Merge pull request #5349
...
f1a3796a
wallet2: fix tx sanity check change test for the sweep_all case (moneromooo-monero)
5 years ago
Riccardo Spagni
8b57e33789
Merge pull request #5305
...
4500236f
wallet2: make use_fork_rules handle chain heights lower than leeway (moneromooo-monero)
5 years ago
Riccardo Spagni
30a3a73609
Merge pull request #5303
...
0a6cb30d
wallet: flush output cache upon reorg (moneromooo-monero)
5 years ago
Riccardo Spagni
4a06b3ee62
Merge pull request #5298
...
8fd7452b
wallet: move light wallet RPC out of core RPC (moneromooo-monero)
5 years ago
Riccardo Spagni
f13d38350a
Merge pull request #5297
...
a8b98a0b
wallet: fix memory only wallets (moneromooo-monero)
5 years ago
Riccardo Spagni
6cb0a26d9d
Merge pull request #5292
...
328d291f
wallet2: set seed language when creating from json (moneromooo-monero)
5 years ago
Riccardo Spagni
a6b798e72f
Merge pull request #5291
...
a52366c1
wallet2: fix generation from json when restore height is not set (moneromooo-monero)
5 years ago
cslashm
7c44091541
Add get_tx_proof support, needed for new sanity check
...
Enhance debug info
5 years ago
moneromooo-monero
050bb337d7
wallet2: factor the watchonly/multisig/etc fields on creation
...
There's half a dozen calls, and it's easy to miss some when
adding a new field.
5 years ago
moneromooo-monero
f1a3796a43
wallet2: fix tx sanity check change test for the sweep_all case
5 years ago
moneromooo-monero
d45b85e170
wallet2: skip derivation precalc for blocks we know we'll skip
5 years ago
moneromooo-monero
547a9708de
cryptonote: block parsing + hash calculation speedup
...
This saves a duplicate serialization step
5 years ago
moneromooo-monero
a8b98a0bd7
wallet: fix memory only wallets
...
at least when using restore_deterministic_wallet
5 years ago
Lee Clagett
7acfa9f3cc
Added socks proxy (tor/i2pd/kovri) support to wallet
5 years ago
moneromooo-monero
cafa15b904
wallet2: set confirmations to 0 for pool txes in proofs
...
It makes more sense than (uint64_t)-1, which is going to look
like very much confirmed when not checking in_pool
5 years ago