Commit Graph
5933 Commits
Author SHA1 Message Date
wowario 269bfca622 Build: resolve merge conflicts 2018-05-24 14:36:15 +03:00
moneromooo-moneroandwowario f2e6a11703 wallet: catch exceptions dealing with ringdb and warn 2018-05-24 13:29:12 +03:00
stoffuandwowario b964e723dd wallet2: fix for loading settings of key reuse mitigation 2018-05-24 13:25:49 +03:00
stoffuandwowario da5dfaa1b6 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-05-24 13:23:49 +03:00
cslashmandwowario f602fb8260 Change mutex lock model to avoid dead lock and ensure locks are always released.
Additional cosmetic fixes:
 move 'name' as protected
 remove unnecessary local var
 Fix debug log
2018-05-24 13:18:35 +03:00
cslashmandwowario 709a0557d2 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-05-24 13:15:14 +03:00
stoffuandwowario ebbf84900d cryptonote_tx_util: make destinations properly shuffled 2018-05-24 13:14:01 +03:00
cslashmandwowario 9f57f09264 Change mutex lock model to avoid dead lock and ensure locks are always released.
Additional cosmetic fixes:
 move 'name' as protected
 remove unnecessary local var
 Fix debug log
2018-05-24 13:12:24 +03:00
cslashmandwowario f2cd4a45a7 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-05-24 13:07:57 +03:00
moneromooo-moneroandwowario 00b0f8dce4 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-05-24 13:03:31 +03:00
moneromooo-moneroandwowario 234296d376 wallet2: request transactions in slices when scanning for known rings
This avoid massive memory consumption for huge wallets
2018-05-24 13:02:35 +03:00
moneromooo-moneroandwowario a89545dacf 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-05-24 13:01:43 +03:00
cslashmandwowario 0fc422b684 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-05-24 12:57:49 +03:00
anonimalandwowario c0234f9031 Build: add miniupnp submodule
Though we only need miniupnpc, rebasing and maintaining a miniupnpc-only
repo is unrealistic.

(cherry picked from commit 3c40eb768c292a4dec79d7dffd6685fd37940a2a)
2018-05-24 12:42:50 +03:00
anonimalandwowario 140cf4bfd4 CMake: update new location of in-tree miniupnpc
(cherry picked from commit b16a282f97d8f6c967e8a0b1ecfd75110f095182)
2018-05-24 12:41:16 +03:00
anonimalandwowario 17ae192dbf Build: update CMake and p2p for in-tree miniupnp
(cherry picked from commit a7366b5feeffaeb65b217b2d6f138e0ab1c90192)
2018-05-24 12:38:58 +03:00
anonimalandwowario d5c86e1abe CMake: update new location of in-tree miniupnpc 2018-05-24 12:33:31 +03:00
stoffuandwowario 9f39259029 blockchain: pop top if block version disagrees with the ideal fork version 2018-05-24 12:28:17 +03:00
stoffuandwowario cefad3cea8 Wallet API: allow log path to be non-default & console output to be configurable 2018-05-24 12:28:17 +03:00
moneromooo-moneroandwowario e303fd1e1d chacha: fix build with GCC 8.1 2018-05-24 12:28:16 +03:00
moneroexamplesandwowario 7572b3578f crypto: more places needing fixing for GCC 8.1 2018-05-24 12:28:16 +03:00
moneromooo-moneroandwowario ed9f2d782c version.cmake: fix configuring version.cpp without git 2018-05-24 12:28:16 +03:00
moneromooo-moneroandwowario b713b0ae43 daemon: request unpruned transactions for print_tx
instead of uninitialized
2018-05-24 12:28:16 +03:00
stoffuandwowario 0aa0b8347e Fix output shuffling for multisig 2018-05-24 12:28:16 +03:00
cslashmandwowario 95dea60f41 Fix PCSC discovery under Windows/MSYS
Fix PCSC compilation under windows
2018-05-24 12:28:16 +03:00
jwandGitHub bcc2f65b22 Merge pull request #32 from wowario/mixin
Refactor v9 mixin condition
2018-05-18 20:29:27 -07:00
wowario 9919ee66a2 refactor mixin condition 2018-05-18 10:54:37 +03:00
jwandGitHub 94fc2c514d Merge pull request #31 from wowario/art
add WOW ASCII art
2018-05-17 20:02:30 -07:00
jwandGitHub 0548011ca5 Merge pull request #30 from wowario/mixin
static mixin (protocol level)
2018-05-17 20:02:01 -07:00
jwandGitHub 3b1028e576 Merge pull request #29 from wowario/release-v0.2.1.0
Upstream merge for releasev0.2.1.0
2018-05-17 19:52:48 -07:00
wowario bcf485d9a7 add WOW ASCII art 2018-05-18 03:13:25 +03:00
wowario fe94ba558c static mixin 2018-05-17 18:38:36 +03:00
wowario dbece784e4 up version to v0.2.1.0 2018-05-17 00:35:20 +03:00
moneromooo-moneroandwowario f6d5ada824 README.md: mention building deps with -fPIC for static builds 2018-05-17 00:21:04 +03:00
anonimalandwowario 9864284750 Build: update CMake and p2p for in-tree miniupnp 2018-05-17 00:08:19 +03:00
anonimalandwowario 2971e639b7 CMake: update new location of in-tree miniupnpc 2018-05-17 00:06:45 +03:00
anonimalandwowario 0b6cd8d6d3 Build: add miniupnp submodule
Though we only need miniupnpc, rebasing and maintaining a miniupnpc-only
repo is unrealistic.
2018-05-17 00:04:26 +03:00
moneromooo-moneroandwowario 23d1007327 speedup get_output_histogram for all amounts when min_count > 0
This skips the vast majority of "dust" output amounts with just
one instance on the chain. Clocks in at 0.15% of the original
time on testnet.
2018-05-16 23:59:48 +03:00
anonimalandwowario 3857034289 Build: update CMake and p2p for in-tree miniupnp
(cherry picked from commit a7366b5feeffaeb65b217b2d6f138e0ab1c90192)
2018-05-16 23:57:56 +03:00
anonimalandwowario 035bf5a93b CMake: update new location of in-tree miniupnpc
(cherry picked from commit b16a282f97d8f6c967e8a0b1ecfd75110f095182)
2018-05-16 23:55:56 +03:00
anonimalandwowario 252687f99c Build: add miniupnp submodule
Though we only need miniupnpc, rebasing and maintaining a miniupnpc-only
repo is unrealistic.

(cherry picked from commit 3c40eb768c292a4dec79d7dffd6685fd37940a2a)
2018-05-16 23:51:48 +03:00
anonimalandwowario 06016d67f0 Build: remove in-tree miniupnpc
Will be replaced by a submodule.
2018-05-16 23:28:38 +03:00
stoffuandwowario 4b93bf5be9 daemon: read config file before reading any other args 2018-05-16 23:26:55 +03:00
moneromooo-moneroandwowario cb3853d7a3 device: add a one off override keyword where appropriate 2018-05-16 23:26:10 +03:00
moneromooo-moneroandwowario 3903d03a93 simplewallet: add version command 2018-05-16 23:20:17 +03:00
moneromooo-moneroandwowario dac20e337a daemon: add a version command 2018-05-16 23:17:17 +03:00
moneromooo-moneroandwowario b63635f38d wallet2: increase rpc timeout for get_output_distribution 2018-05-16 23:11:46 +03:00
moneromooo-moneroandwowario b9eda26091 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-05-16 23:11:19 +03:00
moneromooo-moneroandwowario 3aa058c9d9 util: log stack trace on crash 2018-05-16 23:10:14 +03:00
moneromooo-moneroandwowario 29954e88f3 rpc: add missing perf timer for get_output_distribution 2018-05-16 22:54:57 +03:00