Commit Graph
745 Commits
Author SHA1 Message Date
wowario f95fcd6d62 increase ringsize to 10 2018-09-18 01:17:35 +03:00
wowario b97b6380b3 rename to wownero 2018-09-18 01:12:04 +03:00
wowario 1f912c75f1 silent dns warning 2018-09-18 01:00:17 +03:00
jwintermandwowario d78da837ae Initial commit 2018-09-18 00:51:30 +03:00
moneromooo-monero 58f28cadf8 wallet2: ensure outputs are processed only once
This should be proof against any way one might get to multiple
processing, such as generating the same derivation from the
same pubkey, etc
2018-07-08 12:05:04 +01:00
moneromooo-monero 8c331a6d26 wallet2: fix double counting outs if the tx pubkey is duplicated 2018-07-04 10:40:56 +01:00
moneromooo-monero b323d90f67 wallet2: fix read buffer overflow in import_key_images 2018-07-04 10:40:35 +01:00
moneromooo-monero 43a124979a wallet2: fix out of sync account tag cache
This would cause crashes when trying to tag an account that was
just created
2018-07-04 10:40:23 +01:00
stoffuandmoneromooo-monero fbdc30966b wallet2: lower default for subaddress lookahead when restoring with hardware 2018-07-03 11:19:53 +01:00
stoffuandmoneromooo-monero afa669656b wallet: allow unspendable unmixable outputs to be discarded 2018-07-03 11:19:45 +01:00
stoffuandmoneromooo-monero e70d80e820 wallet2: use decoded amount when reporting repeated output key 2018-07-03 11:19:40 +01:00
stoffuandmoneromooo-monero 5e180c73f8 wallet2: use correct fee for split txes 2018-07-03 11:19:36 +01:00
stoffuandmoneromooo-monero 009feaca79 wallet2: fix get_approximate_blockchain_height for stagenet 2018-07-03 11:17:56 +01:00
moneromooo-monero 81e3926304 disable file size sanity check when loading the wallet cache 2018-07-03 11:17:11 +01:00
moneromooo-monero 9e96873f87 wallet2: don't ask for pruned txes yet, we still parse the entire tx 2018-05-31 16:45:43 +01:00
stoffu aabe3eedb8 Fix output shuffling for multisig 2018-05-20 09:40:32 +09:00
moneromooo-monero cc9dd7a64a wallet2: consider 6 outputs or less to be unmixable from v7 2018-05-10 21:19:54 +01:00
Riccardo Spagni a48658017b Merge pull request #3686
d003f07c speedup get_output_histogram for all amounts when min_count > 0 (moneromooo-monero)
df9d59ca wallet2: add missing parameters to get_output_histogram (moneromooo-monero)
2018-04-28 22:38:43 +02:00
Riccardo Spagni 8636599654 Merge pull request #3684
9670c917 import_multisig_info: fix sanity check crash in detach_blockchain (Mikhail Mitkevichl)
2018-04-28 22:38:15 +02:00
Mikhail Mitkevichl 9670c917d1 import_multisig_info: fix sanity check crash in detach_blockchain 2018-04-23 09:20:49 +03:00
moneromooo-monero df9d59caff wallet2: add missing parameters to get_output_histogram 2018-04-22 22:35:58 +01:00
moneromooo-monero 7d0505c85d wallet2: increase rpc timeout for get_output_distribution 2018-04-13 10:55:41 +01:00
moneromooo-monero 96370488c0 add top height to get_output_distribution, and cache it for rct
This should cache the vast majority of calls for long running wallets
2018-04-13 10:55:38 +01:00
Riccardo Spagni 4a9794e033 Merge pull request #3550
58f66073 wallet2: request transactions in slices when scanning for known rings (moneromooo-monero)
2897c269 rpc: allow getting pruned blocks from gettransactions (moneromooo-monero)
2018-04-12 13:44:55 +02:00
Riccardo Spagni a9e2993258 Merge pull request #3607
5eeeec39 wallet2: store subaddress lookahead settings (stoffu)
2018-04-12 13:31:51 +02:00
Riccardo Spagni a4feeb4238 Merge pull request #3574
cdf9ecfd wallet2: fix misc issues when the ringdb can't be initialized (moneromooo-monero)
2018-04-12 13:24:28 +02:00
Riccardo Spagni e89f33634d Merge pull request #3556
d400b4d3 wallet2: move segregation height to v7 (moneromooo-monero)
2018-04-12 13:24:07 +02:00
Riccardo Spagni dd527d9369 Merge pull request #3535
4c6ff21c wallet: warn if not using the default ring size (moneromooo-monero)
2018-04-12 13:22:09 +02:00
stoffu 5eeeec39f6 wallet2: store subaddress lookahead settings 2018-04-11 15:38:55 +09:00
cslashm 8daba22f92 Use 'boost' mutex instead of 'std' mutex 2018-04-10 08:43:06 +02:00
cslashm d481410bff Fix sub-address tx scan.
When additional keys was needed, the TX scan failed because the
derivation data was always recomputed with the main tx_key and not
the corresponding additional one.

Moreover this patch avoid perf decreasing when not using HW device.
2018-04-09 16:53:13 +02:00
moneromooo-monero 58f6607382 wallet2: request transactions in slices when scanning for known rings
This avoid massive memory consumption for huge wallets
2018-04-07 08:42:02 +01:00
moneromooo-monero 2897c269de rpc: allow getting pruned blocks from gettransactions
and get them pruned in find_and_save_rings, since it does not need
the pruned data in the first place.

Also set decode_to_json to false where missing, we don't need this
either.
2018-04-07 08:41:59 +01:00
moneromooo-monero cdf9ecfd0f wallet2: fix misc issues when the ringdb can't be initialized 2018-04-06 20:34:28 +01:00
moneromooo-monero d400b4d360 wallet2: move segregation height to v7
since people seem to really want to use things the wrong way.
2018-04-05 12:50:48 +01:00
moneromooo-monero 4c6ff21cc6 wallet: warn if not using the default ring size 2018-03-31 15:47:42 +01:00
Riccardo Spagni 9fce7614c1 Merge pull request #3503
8ff2cc75 fix lambda compile error on openbsd (moneromooo-monero)
2018-03-29 17:04:12 +02:00
cslashm 0f3ff8ce2c Add the possibility to export private view key for fast scan.
On client startup the device asks for authorization to export the private view key.
If user agree, the client hold the private view key allowing a fast blockchain scan.
If the user does not agree, the blockchain scan is fully done via the device.
2018-03-28 14:02:36 +02:00
moneromooo-monero 8ff2cc751d fix lambda compile error on openbsd 2018-03-27 14:49:54 +01:00
Riccardo Spagni 4396ff8501 Merge pull request #3474
eaa8bfe7 wallet2: set from_height of GET_OUTPUT_DISTRIBUTION correctly The previous expression (stoffu)
0a619f78 wallet2: enable the mitigation only after the fork height (stoffu)
2018-03-22 18:24:11 +02:00
Riccardo Spagni 8ce0cfc73a Merge pull request #3469
0098ed33 wallet2: fix for loading settings of key reuse mitigation (stoffu)
2018-03-22 18:23:13 +02:00
stoffu eaa8bfe7c0 wallet2: set from_height of GET_OUTPUT_DISTRIBUTION correctly
The previous expression

    req_t.from_height = X ? Y >= Z : 0;

forces the parameter to take the value of either 0 or 1.
2018-03-22 20:02:25 +09:00
stoffu 0a619f789b wallet2: enable the mitigation only after the fork height 2018-03-22 20:02:14 +09:00
stoffu 0098ed338c wallet2: fix for loading settings of key reuse mitigation 2018-03-22 12:10:46 +09:00
moneromooo-monero 5730049178 wallet: catch exceptions dealing with ringdb and warn 2018-03-21 14:29:49 +00:00
moneromooo-monero 1e393f4bb7 wallet: make the segregation height settable
via user setting first, then DNS TXT record, hardcoded fallback
2018-03-17 14:56:31 +00:00
Riccardo Spagni 0f27fc57ac Merge pull request #3336
57c0b1ed Fix typos in various files (Dimitris Apostolou)
2018-03-16 18:08:07 +02:00
moneromooo-monero eac3a11ed3 wallet: more user friendly print_ring
It can now take a txid (to display rings for all its inputs),
and will print rings in a format that set_ring understands
2018-03-16 12:07:45 +00:00
moneromooo-monero 504428ab4a ringdb: use the genesis block as a db name
This will avoid careless forkers polluting the shared database
even if they make their own chain. They'll then automatically
start using another subdb, and any key-reusing fork of those
forks will reuse their subdbs.
2018-03-16 10:32:54 +00:00
moneromooo-monero b09e5181cc wallet: add a set_ring command
This is so one can set rings for spent key images in case the
attackers don't merge the ring matching patch set.
2018-03-16 10:32:51 +00:00