Commit Graph
5969 Commits
Author SHA1 Message Date
wowario b2b9da7fbb update donation address 2018-06-04 19:46:59 +03:00
jwandGitHub 80cb158b4b Merge pull request #43 from wowario/file_names
change file names
2018-06-01 17:25:07 -07:00
jwandGitHub 4b8a12d735 Merge pull request #42 from wowario/upstream_merge
Upstream merge
2018-06-01 17:24:49 -07:00
jwandGitHub f37ba2afec Merge pull request #41 from wowario/get_spend_proof
wallet2: don't ask for pruned txes yet
2018-06-01 17:24:31 -07:00
anonimalandwowario fd2094ed32 rapidjson: remove outdated in-tree, use submodule
Includes ~2 years worth of fixes including security and build.

Note: this pulls directly from master, not a release branch/tag. See
https://github.com/Tencent/rapidjson/issues/1265

(cherry picked from commit 8a6c081df7)
2018-06-01 22:48:13 +03:00
moneromooo-moneroandwowario 3bd9d61c33 rpc: the cache is still for non cumulative on that branch 2018-06-01 21:59:19 +03:00
moneromooo-moneroandwowario 36deb5d509 rpc: convert distribution to cumulative after caching
This avoids double conversion on a later cache hit
2018-06-01 21:59:19 +03:00
moneromooo-moneroandwowario 7b033b1670 http_protocol_handler: limit the number of starting newlines 2018-06-01 21:59:19 +03:00
moneromooo-moneroandwowario e59faed04e abstract_tcp_server2: timeout on RPC connections 2018-06-01 21:59:19 +03:00
moneromooo-moneroandwowario 8df3cdb4ac http_protocol_handler: speedup newline discarding 2018-06-01 21:59:19 +03:00
moneromooo-moneroandwowario 0803ea2401 console_handler: fix start_default_console use of prompt parameter
It had not been updated to the function type change
2018-06-01 21:59:19 +03:00
cslashmandwowario b50014071e Fix CMAKE config for PCSC in order to avoid msys DLL dependencies 2018-06-01 21:59:19 +03:00
wowario e21e09fa87 change file names 2018-06-01 17:44:41 +03:00
wowario cdb20d58b5 remove whitespace 2018-06-01 13:03:54 +03:00
moneromooo-moneroandwowario 2fffd60e35 protocol: do not switch to unsafe sync mode for just a few blocks 2018-06-01 12:33:14 +03:00
stoffuandwowario 195e309465 Fix output shuffling for multisig 2018-06-01 12:25:54 +03:00
moneromooo-moneroandwowario d78fe99ac6 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-06-01 11:47:54 +03:00
moneromooo-moneroandwowario 1c35363d47 wallet2: fix misc issues when the ringdb can't be initialized 2018-06-01 11:46:24 +03:00
moneromooo-moneroandwowario 57c006d6f1 core: fix automatic safe db sync mode switching 2018-06-01 11:46:24 +03:00
stoffuandwowario 10321fb7c2 wallet2: store subaddress lookahead settings 2018-06-01 09:02:38 +03:00
cslashmandwowario caf9354e2f Use 'boost' mutex instead of 'std' mutex 2018-06-01 09:02:09 +03:00
cslashmandwowario 67a6dbc19f 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-06-01 09:01:43 +03:00
moneromooo-moneroandwowario 7ebca508e1 wallet2: request transactions in slices when scanning for known rings
This avoid massive memory consumption for huge wallets
2018-06-01 08:48:04 +03:00
wowario 8ec79e0cef bump minor version for pruned blocks 2018-06-01 07:16:28 +03:00
moneromooo-moneroandwowario de7a690d59 wallet2: don't ask for pruned txes yet, we still parse the entire tx 2018-06-01 06:49:35 +03:00
jwandGitHub 1977bc6e2e Merge pull request #39 from wowario/release-v0.2.1.0
Merge branch 'master' into release-v0.2.1.0
2018-05-27 07:10:57 -07:00
jwandGitHub 865ae628d4 Merge pull request #38 from wowario/ftl_check_window
Tighten future time limit and timestamp check window
2018-05-27 07:10:38 -07:00
jwandGitHub ad05a5c602 Merge pull request #37 from wowario/reset_testnet
testnet v9
2018-05-27 07:09:40 -07:00
wowario b8636dd448 Merge branch 'master' into release-v0.2.1.0 2018-05-26 15:47:11 +03:00
wowario 54fe6c3b09 adjust FTL, timestamp check window 2018-05-26 09:46:16 +03:00
wowario 4209b715eb testnet v9 2018-05-26 09:15:19 +03:00
jwandGitHub 0d47bf6574 Merge pull request #36 from wowario/upstream_merge
Upstream merge
2018-05-24 13:40:55 -07:00
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