Commit Graph
4108 Commits
Author SHA1 Message Date
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
moneromooo-moneroandwowario cf1bc8c98f tx_pool: fix loading with colliding key images
A key image may be present more than once if all but one of the
txes spending that key image are coming from blocks. When loading
a txpool from storage, we must load the one that's not from a
block first to avoid rejection
2018-05-16 22:48:45 +03:00
stoffuandwowario c71e8870db wallet2: store subaddress lookahead settings 2018-05-16 22:46:23 +03:00
moneromooo-moneroandwowario f1ed4a77d1 common: make this build with unbound 1.4.20
Common on currently used distros
2018-05-16 22:44:22 +03:00
cslashmandwowario 7b3aef524b Use 'boost' mutex instead of 'std' mutex 2018-05-16 22:43:27 +03:00
cslashmandwowario 7a79ba183d 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-16 22:43:05 +03:00
stoffuandwowario d3c3efac0c simplewallet: fix help message of sign_transfer 2018-05-16 22:42:11 +03:00
moneromooo-moneroandwowario 8de302627a wallet2: request transactions in slices when scanning for known rings
This avoid massive memory consumption for huge wallets
2018-05-16 22:41:34 +03:00
moneromooo-moneroandwowario f4d38403a0 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-16 22:39:18 +03:00
moneromooo-moneroandwowario ab3c7036c3 wallet2: request transactions in slices when scanning for known rings
This avoid massive memory consumption for huge wallets
2018-05-16 22:36:34 +03:00
moneromooo-moneroandwowario 320db6c7b7 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-16 22:34:05 +03:00
stoffuandwowario 6d16e1abf4 WalletManagerImpl: reuse existing connection to daemon instead of reconnectivng every time 2018-05-16 22:28:28 +03:00
moneromooo-moneroandwowario cfd7928365 wallet2: fix misc issues when the ringdb can't be initialized 2018-05-16 22:27:36 +03:00
stoffuandwowario f7dd0ee122 cryptonote_tx_util: make destinations properly shuffled 2018-05-16 21:47:44 +03:00
cslashmandwowario 6b818bcf5c 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-16 21:47:43 +03:00
cslashmandwowario 0919d2cfd8 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-16 21:47:43 +03:00
cslashmandwowario 4b69054222 Automatic height setup when creating/restoring hw device.
When creating/restoring wallet, if --restore-height option is not used the current estimate
height is used for starting the scan. In other words it is assume we are creating a new account.
2018-05-16 21:47:43 +03:00
moneromooo-moneroandwowario 21d41a11a4 device: fix endianess dependence on subaddress secret key generation
We now force little endianness
2018-05-16 21:47:43 +03:00
moneromooo-moneroandwowario 0043d20939 fix lambda compile error on openbsd 2018-05-16 21:47:43 +03:00
moneromooo-moneroandwowario a98e3b15ac rpc: make get_output_distribution a non-restricted RPC
so that those nodes can still be used for sending transactions
2018-05-16 21:47:43 +03:00
stoffuandwowario ccae806c13 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-16 21:47:42 +03:00
stoffuandwowario 3f5e731d31 wallet2: enable the mitigation only after the fork height 2018-05-16 21:47:42 +03:00
stoffuandwowario c455bbf413 wallet2: fix for loading settings of key reuse mitigation 2018-05-16 21:47:42 +03:00
Mikhail Mitkevichlandwowario c0c97c0c07 import_multisig_info: fix sanity check crash in detach_blockchain 2018-05-16 15:40:23 +03:00
moneromooo-moneroandwowario 2fbbccca6e wallet2: add missing parameters to get_output_histogram 2018-05-16 15:40:09 +03:00
Thaer Khawajaandwowario 2d63dd3c1c Only log an error if fork version is higher AND is not known. 2018-05-16 15:39:54 +03:00
rbrunner7andwowario af38d77020 [RELEASE] Fix broken interactive daemon 'limit' commands plus RPC calls 2018-05-16 15:23:35 +03:00
Gene Petersandwowario d969ac8f8b Adding required library (dependency of boost::this_thread::sleep_for) 2018-05-16 15:23:24 +03:00
moneromooo-moneroandwowario 3b4715c495 ringct: do not show verification errors with default settings 2018-05-16 15:21:02 +03:00
moneromooo-moneroandwowario 9360a0e057 cryptonote: make sure outPk setup always happens 2018-05-16 15:19:58 +03:00
moneromooo-moneroandwowario 68b3bb81cf blockchain: invalidate misc caches when popping blocks
Might be a bit heavy handed, but conservative.
2018-05-16 15:17:29 +03:00
wowario b881f7521f remove payment_id 2018-05-09 23:00:01 +03:00
wowario d00b812953 set static ring size 2018-05-07 23:30:16 +03:00
moneromooo-moneroandMatthew Incognito a5e0a08e8a wallet2: request transactions in slices when scanning for known rings
This avoid massive memory consumption for huge wallets
2018-05-01 11:13:11 +01:00
moneromooo-moneroandMatthew Incognito 1035e47dd0 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-01 11:08:00 +01:00
moneromooo-moneroandMatthew Incognito 4e75860da2 wallet2: fix misc issues when the ringdb can't be initialized 2018-05-01 10:52:47 +01:00
jwandGitHub 022ec18c48 Merge pull request #20 from matthewincognito/stuck-daemon
Fix stuck daemon bug
2018-04-29 09:06:45 -07:00
wowario 4d477d8e12 add checkpoints 2018-04-28 11:22:58 +03:00
stoffuandMatthew Incognito ac0b4b932f cryptonote_protocol_handler.inl: remove span read just now that failed to pass some basic tests
(cherry picked from commit 3880bf396a)
2018-04-28 08:04:48 +01:00
stoffuandMatthew Incognito 70117562d5 cryptonote_protocol_handler.inl: fix return type mismatches (int vs bool)
(cherry picked from commit da249fd5ba)
2018-04-28 08:04:36 +01:00
wowarioandGitHub 4d93e66377 fix memory leak for Windows 2018-04-24 13:09:26 +03:00
wowario adfcdfef02 fix signed unsigned conversion 2018-04-23 19:43:04 +03:00
wowarioandGitHub a571be96f4 Update difficulty.cpp
Changed size_t  to match solvetime
2018-04-23 17:50:53 +03:00
jwandGitHub e8bb8f4984 Merge pull request #13 from matthewincognito/fix-12
Lower number of blocks required to unlock balance
2018-04-20 18:03:14 -07:00
jwinterm 78f1e84139 Set v8 fork height and change version 2018-04-20 17:56:12 -07:00
Matthew Incognito 16feef0522 Lower number of blocks required to unlock balance
Set CRYPTONOTE_DEFAULT_TX_SPENDABLE_AGE to 4
2018-04-20 20:53:10 +01:00
wowario 6f9d70b246 add checkpoints 2018-04-19 21:42:48 +03:00
wowario 3ed6bf8518 silent dns warning 2018-04-19 21:17:43 +03:00
jwandGitHub 66d8024b43 Merge pull request #10 from wownero/monero-specific-blockfix
block 202612 and 685498 fix
2018-04-19 08:36:24 -07:00