aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-03-16Add command line option allowing to restrict the default sub-address ↵stoffu3-1/+84
lookahead in order to avoid so looooong time of set-up when creating a HW based wallet.
2018-03-16Merge pull request #3416Riccardo Spagni1-0/+5
6f54c910 simplewallet: fix restore height prompt that got disabled by #3175 (stoffu)
2018-03-16Merge pull request #3414Riccardo Spagni1-1/+1
524cbdc1 blockchain: fix log message about per-kB fee (stoffu)
2018-03-16Merge pull request #3376Riccardo Spagni1-2/+6
833f9fcf show '<Not set>' for empty wallet description (cryptochangements34)
2018-03-16Merge pull request #3336Riccardo Spagni18-28/+28
57c0b1ed Fix typos in various files (Dimitris Apostolou)
2018-03-16Merge pull request #3322Riccardo Spagni27-35/+2609
eac3a11e wallet: more user friendly print_ring (moneromooo-monero) 79853514 wallet2_api: add key reuse mitigations API (moneromooo-monero) b057a21d wallet2_api: add ring api (moneromooo-monero) d32ef7b0 ringdb: factor ring addition code (moneromooo-monero) a7da8208 wallet2_api: add blackball api (moneromooo-monero) 2ab66ff1 liblmdb: install lmdb library for wallet2_api usage (stoffu) 504428ab ringdb: use the genesis block as a db name (moneromooo-monero) b09e5181 wallet: add a set_ring command (moneromooo-monero) 0590f62a new blockchain_usage tool, reports on output usage (moneromooo-monero) db10dd6d wallet: make ringdb an object with database state (moneromooo-monero) df6fad4c blockchain_utilities: new blockchain_blackball tool (moneromooo-monero) d29ea045 wallet: add an output blackball list to avoid using those in rings (moneromooo-monero) 18eaf194 wallet: key reuse mitigation options (moneromooo-monero) 5f146873 wallet: add shared ring database (moneromooo-monero) 41f727ce add RPC to get a histogram of outputs of a given amount (moneromooo-monero)
2018-03-16wallet: more user friendly print_ringmoneromooo-monero6-14/+100
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-16wallet2_api: add key reuse mitigations APImoneromooo-monero3-0/+27
2018-03-16wallet2_api: add ring apimoneromooo-monero3-0/+46
2018-03-16ringdb: factor ring addition codemoneromooo-monero1-22/+16
2018-03-16wallet2_api: add blackball apimoneromooo-monero4-0/+65
2018-03-16liblmdb: install lmdb library for wallet2_api usagestoffu1-0/+12
2018-03-16ringdb: use the genesis block as a db namemoneromooo-monero4-6/+10
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-16wallet: add a set_ring commandmoneromooo-monero6-1/+124
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-16new blockchain_usage tool, reports on output usagemoneromooo-monero2-0/+289
2018-03-16wallet: make ringdb an object with database statemoneromooo-monero6-170/+187
2018-03-16blockchain_utilities: new blockchain_blackball toolmoneromooo-monero2-0/+460
It scans for known spent outputs and stores their public keys in a database which can then be read by the wallet, which can then avoid using those as fake outs in new transactions. Usage: monero-blockchain-blackball db1 db2... This uses the shared database in ~/.shared-ringdb
2018-03-16wallet: add an output blackball list to avoid using those in ringsmoneromooo-monero6-8/+297
2018-03-16wallet: key reuse mitigation optionsmoneromooo-monero4-16/+209
If a pre-fork output is spent on both Monero and attack chain, any post-fork output can be deduced to be a fake output, thereby decreasing the effective ring size. The segregate-per-fork-outputs option, on by default, allows selecting only pre-fork outputs in this case, so that the same ring can be used when spending it on the other side, which does not decrease the effective ring size. This is intended to be SET when intending to spend Monero on the attack fork, and to be UNSET if not intending to spend Monero on the attack fork (since it leaks the fact that the output being spent is pre-fork). If the user is not certain yet whether they will spend pre-fork outputs on a key reusing fork, the key-reuse-mitigation2 option should be SET instead. If you use this option and intend to spend Monero on both forks, then spend real Monero first.
2018-03-16wallet: add shared ring databasemoneromooo-monero8-7/+700
This maps key images to rings, so that different forks can reuse the rings by key image. This avoids revealing the real inputs like would happen if two forks spent the same outputs with different rings. This database is meant to be shared with all Monero forks which don't bother making a new chain, putting users' privacy at risk in the process. It is placed in a shared data directory by default ($HOME/.shared-ringdb on UNIX like systems). You may use --shared-ringdb-dir to override this location, and should then do so for all Monero forks for them to share the database.
2018-03-16add RPC to get a histogram of outputs of a given amountmoneromooo-monero14-8/+284
2018-03-15show '<Not set>' for empty wallet descriptioncryptochangements341-2/+6
2018-03-16simplewallet: fix restore height prompt that got disabled by #3175stoffu1-0/+5
2018-03-16blockchain: fix log message about per-kB feestoffu1-1/+1
2018-03-15Fix typos in various filesDimitris Apostolou18-28/+28
2018-03-15Merge pull request #3410Riccardo Spagni1-7/+19
c5024c5b simplewallet: add a warning when getting a daemon error in transfer (moneromooo-monero)
2018-03-15Merge pull request #3408Riccardo Spagni2-28/+0
e1b526b3 Remove the `Blockchain::get_all_known_block_ids` function. (Jean Pierre Dudey)
2018-03-15Merge pull request #3403Riccardo Spagni1-1/+1
843f65cb tests/hash: correctly reference crypto HASH_SIZE for less confusion (AnythingTechPro)
2018-03-15Merge pull request #3271Riccardo Spagni7-159/+131
a7266d6d wallet2+cli+rpc: eliminate redundant m_http_client from cli/rpc and delegate calls to wallet2 (stoffu) 71d18656 replace invoke_http_json("/json_rpc",...) with invoke_http_json_rpc("/json_rpc",methodname,...) to reduce boilerplate (stoffu)
2018-03-15simplewallet: add a warning when getting a daemon error in transfermoneromooo-monero1-7/+19
A malicious daemon (or MITM) could attempt to add spurious errors so the wallet tries again, sending another set of fake outs.
2018-03-15wallet2+cli+rpc: eliminate redundant m_http_client from cli/rpc and delegate ↵stoffu5-13/+27
calls to wallet2
2018-03-14Remove the `Blockchain::get_all_known_block_ids` function.Jean Pierre Dudey2-28/+0
This function isn't used in the codebase. Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2018-03-14tests/hash: correctly reference crypto HASH_SIZE for less confusionAnythingTechPro1-1/+1
2018-03-14replace invoke_http_json("/json_rpc",...) with ↵stoffu2-146/+104
invoke_http_json_rpc("/json_rpc",methodname,...) to reduce boilerplate
2018-03-14Merge pull request #3398Riccardo Spagni1-1/+1
c577abab wallet: fix auto low priority so that it takes effect only when saved default is 0 (stoffu)
2018-03-14Merge pull request #3399Riccardo Spagni1-1/+1
1d39b265 wallet2: fix use_fork_rules() when querying version that is defined but not enabled yet (stoffu)
2018-03-14Merge pull request #3395Riccardo Spagni1-1/+4
523371c0 p2p: fix network ID being uninitialised when using exclusive peers (moneromooo-monero)
2018-03-14Merge pull request #3386Riccardo Spagni1-0/+5
9abeff59 wallet2: handle no blocks returned in refresh to mean no new blocks (moneromooo-monero)
2018-03-14Merge pull request #3385Riccardo Spagni1-1/+1
ec41006c node_rpc_proxy: fix target height caching (moneromooo-monero)
2018-03-14Merge pull request #3384Riccardo Spagni1-2/+1
b63ea060 simplewallet: do not call a RPC when displaying the prompt (moneromooo-monero)
2018-03-14Merge pull request #3372Riccardo Spagni1-9/+36
c3e23b2d ringct: 17% improvement in Borromean signature verification (moneromooo-monero)
2018-03-14Merge pull request #3350Riccardo Spagni37-568/+304
4405e4fc wallet2: check_tx_key() shouldn't require hardware encryption (stoffu) 7dfa5e9e chacha: call prehashed version explicitly as generate_chacha_key_prehashed hash: add prehashed version cn_slow_hash_prehashed slow-hash: let cn_slow_hash take 4th parameter for deciding prehashed or not slow-hash: add support for prehashed version for the other 3 platforms (stoffu) b2d23b18 crypto: revert odd namespace changes made in #3303 (stoffu) 8705beaf keypair::generate: always require hw::device to avoid possible mistake (stoffu) 27a196b1 device: untangle cyclic depenency (stoffu) c9b38b47 device: made function prototypes consistent with pre-#3303 codebase (stoffu)
2018-03-14wallet2: check_tx_key() shouldn't require hardware encryptionstoffu1-2/+2
2018-03-14chacha: call prehashed version explicitly as generate_chacha_key_prehashedstoffu6-20/+38
hash: add prehashed version cn_slow_hash_prehashed slow-hash: let cn_slow_hash take 4th parameter for deciding prehashed or not slow-hash: add support for prehashed version for the other 3 platforms
2018-03-14crypto: revert odd namespace changes made in #3303stoffu3-16/+7
2018-03-14keypair::generate: always require hw::device to avoid possible mistakestoffu6-12/+6
2018-03-14device: untangle cyclic depenencystoffu25-463/+189
When #3303 was merged, a cyclic dependency chain was generated: libdevice <- libcncrypto <- libringct <- libdevice This was because libdevice needs access to a set of basic crypto operations implemented in libringct such as scalarmultBase(), while libringct also needs access to abstracted crypto operations implemented in libdevice such as ecdhEncode(). To untangle this cyclic dependency chain, this patch splits libringct into libringct_basic and libringct, where the basic crypto ops previously in libringct are moved into libringct_basic. The cyclic dependency is now resolved thanks to this separation: libcncrypto <- libringct_basic <- libdevice <- libcryptonote_basic <- libringct This eliminates the need for crypto_device.cpp and rctOps_device.cpp. Also, many abstracted interfaces of hw::device such as encrypt_payment_id() and get_subaddress_secret_key() were previously implemented in libcryptonote_basic (cryptonote_format_utils.cpp) and were then called from hw::core::device_default, which is odd because libdevice is supposed to be independent of libcryptonote_basic. Therefore, those functions were moved to device_default.cpp.
2018-03-14device: made function prototypes consistent with pre-#3303 codebasestoffu8-65/+72
2018-03-14Merge pull request #3378Riccardo Spagni1-15/+20
0014a7cc README.md: Updated OpenBSD build instructions (ston1th)
2018-03-14Merge pull request #3377Riccardo Spagni1-1/+1
aa8bef0c fix error message typo in wallet2.cpp (cryptochangements34)
2018-03-14Merge pull request #3381Riccardo Spagni2-16/+50
fcb180f5 systemd,readme: torsocks config for service (redfish)
2018-03-14Merge pull request #3375Riccardo Spagni1-1/+1
733deab2 Adjust to the MSYS2/MinGW static ICU library file renaming (rbrunner7)
2018-03-14Merge pull request #3374Riccardo Spagni1-571/+642
402c7162 Updated Swedish localization (Ordtrogen Översättning)
2018-03-14Merge pull request #3371Riccardo Spagni2-2/+5
84decbea core: add v7 for 1539500 on mainnet (moneromooo-monero)
2018-03-14Merge pull request #3369Riccardo Spagni3-8/+18
1979d53d wallet: fixes and tweaks to the save_watch_only command (moneromooo-monero)
2018-03-14Merge pull request #3360Riccardo Spagni2-54/+54
1ff35fda Wallet API: make nettype non-defaulted to disambiguate from deprecated versions (and make libwallet_api_tests compilable) (stoffu)
2018-03-14Merge pull request #3358Riccardo Spagni1-0/+8
978663d4 Stagenet: successive forks up to v7 (stoffu)
2018-03-14Merge pull request #3355Riccardo Spagni1-0/+1
0bbd521f libwallet_merged: added missing libdevice (stoffu)
2018-03-14Merge pull request #3354Riccardo Spagni1-4/+4
ffe70b8f Make mixin optional with default for rpc transfer (cryptochangements34)
2018-03-14Merge pull request #3353Riccardo Spagni11-139/+211
73dd883d Ledger HW Bug fixes (Cédric)
2018-03-14Merge pull request #3345Riccardo Spagni2-3/+18
e0cda74a wallet2_api: add info/error/warning entry points (moneromooo-monero)
2018-03-14Merge pull request #3337Riccardo Spagni4-3/+17
91d97dd4 fuzz_tests: set small subaddress lookahead for speed (moneromooo-monero) 5f85cc7e wallet2: guard against overflowing of subaddress indices (moneromooo-monero)
2018-03-14Merge pull request #3315Riccardo Spagni4-51/+90
649a1b7a wallet2 / simplewallet: Must opt-in to create '.address.txt' files for new wallets (Leon Klingele)
2018-03-14fuzz_tests: set small subaddress lookahead for speedmoneromooo-monero3-0/+3
2018-03-14wallet2: guard against overflowing of subaddress indicesmoneromooo-monero1-3/+14
2018-03-14wallet2: fix use_fork_rules() when querying version that is defined but not ↵stoffu1-1/+1
enabled yet
2018-03-14wallet: fix auto low priority so that it takes effect only when saved ↵stoffu1-1/+1
default is 0
2018-03-13p2p: fix network ID being uninitialised when using exclusive peersmoneromooo-monero1-1/+4
2018-03-12README.md: Updated OpenBSD build instructionsston1th1-15/+20
* Removed the db package, as it is not required * Added the libiconv package * Updated the boost build instructions (added locale) * Updated cppzmq to version 4.2.3 which does not require the symlink hack anymore added missing hashes for boost patches
2018-03-12Ledger HW Bug fixesCédric11-139/+211
Fix the way the REAL mode is handle: Let create_transactions_2 and create_transactions_from construct the vector of transactions. Then iterate on it and resign. We just need to add 'outs' list in the TX struct for that. Fix default secret keys value when DEBUG_HWDEVICE mode is off The magic value (00...00 for view key and FF..FF for spend key) was not correctly set when DEBUG_HWDEVICE was off. Both was set to 00...00. Add sub-address info in ABP map in order to correctly display destination sub-address on device Fix DEBUG_HWDEVICE mode: - Fix compilation errors. - Fix control device init in ledger device. - Add more log. Fix sub addr control Fix debug Info
2018-03-11wallet2: handle no blocks returned in refresh to mean no new blocksmoneromooo-monero1-0/+5
This is not a possible return from the daemon, but I want this in now so all wallets handle this when the daemon starts doing so.
2018-03-11node_rpc_proxy: fix target height cachingmoneromooo-monero1-1/+1
2018-03-11simplewallet: do not call a RPC when displaying the promptmoneromooo-monero1-2/+1
Speeds up refresh when you have a lot of in/out transactions
2018-03-10systemd,readme: torsocks config for serviceredfish2-16/+50
2018-03-10wallet2 / simplewallet: Must opt-in to create '.address.txt' files for new ↵Leon Klingele4-51/+90
wallets Previously, a file containing the unencrypted Monero address was created by default in the wallet's directory. This file might pose as a privacy risk. The creation of this file is now opt-in and can be enabled by providing --create-address-file
2018-03-09fix error message typo in wallet2.cppcryptochangements341-1/+1
2018-03-09Stagenet: successive forks up to v7stoffu1-0/+8
2018-03-08Adjust to the MSYS2/MinGW static ICU library file renamingrbrunner71-1/+1
In package mingw-w64-x86_64-icu, version 58.2-3, the names of static library files were changed, which leads to changes in CMakeLists.txt as needed for compiling for Windows.
2018-03-08Merge pull request #3368Riccardo Spagni4-4/+9
38657fd0 Bump min ring size from 5 to 7 from v7 (moneromooo-monero)
2018-03-08Merge pull request #3370Riccardo Spagni1-1/+1
04a0cc89 slow-hash: fix uint64 type typo (moneromooo-monero)
2018-03-08Merge pull request #3365Riccardo Spagni1-1/+1
55a65f32 Wallet API: corrected testnet/mainnet ordering (stoffu)
2018-03-08Merge pull request #3362Riccardo Spagni2-7/+4
49c70962 device: remove dependency on readline (stoffu)
2018-03-08Merge pull request #3357Riccardo Spagni1-0/+2
557a6fb6 cn_deserialize: link with device and ringct (moneromooo-monero)
2018-03-08Merge pull request #3356Riccardo Spagni1-1/+1
7c81cc49 Dockerfile: add boost locale (MoroccanMalinois)
2018-03-08Merge pull request #3347Riccardo Spagni1-1/+1
9a6be3da wallet_manager: fixed typo deviuce/device.hpp (stoffu)
2018-03-08Updated Swedish localizationOrdtrogen Översättning1-571/+642
2018-03-08ringct: 17% improvement in Borromean signature verificationmoneromooo-monero1-9/+36
2018-03-07core: add v7 for 1539500 on mainnetmoneromooo-monero2-2/+5
2018-03-07wallet: fixes and tweaks to the save_watch_only commandmoneromooo-monero3-8/+18
- save the new keys file as FOO-watchonly.keys, not FOO.keys-watchonly - catch any exception (eg, I/O errors) and error out - print the new keys filename in simplewallet
2018-03-07Bump min ring size from 5 to 7 from v7moneromooo-monero4-4/+9
2018-03-07slow-hash: fix uint64 type typomoneromooo-monero1-1/+1
2018-03-07Wallet API: corrected testnet/mainnet orderingstoffu1-1/+1
2018-03-07device: remove dependency on readlinestoffu2-7/+4
2018-03-06Wallet API: make nettype non-defaulted to disambiguate from deprecated ↵stoffu2-54/+54
versions (and make libwallet_api_tests compilable)
2018-03-06Merge pull request #3253Riccardo Spagni9-17/+107
e136bc6b tweaks to the monerov1 cryptonight algorithm (Lee Clagett) d58c9ec9 slow-hash: optimized version (SChernykh) 608fd6f1 Monero Cryptonight variants, and add one for v7 (moneromooo-monero)
2018-03-05cn_deserialize: link with device and ringctmoneromooo-monero1-0/+2
2018-03-05Dockerfile: add boost localeMoroccanMalinois1-1/+1
2018-03-05tweaks to the monerov1 cryptonight algorithmLee Clagett2-21/+57
2018-03-05slow-hash: optimized versionSChernykh1-4/+4
2018-03-05Monero Cryptonight variants, and add one for v7moneromooo-monero9-17/+71
This is the first variant of many, with the intent to improve Monero's resistance to ASICs and encourage mining decentralization.
2018-03-06libwallet_merged: added missing libdevicestoffu1-0/+1
2018-03-05Make mixin optional with default for rpc transfercryptochangements341-4/+4
2018-03-05Merge pull request #3261Riccardo Spagni0-0/+0
73ca4724 Use `genesis_tx` parameter in `generate_genesis_block`. (Jean Pierre Dudey)
2018-03-05Merge pull request #3298Riccardo Spagni1-9/+3
f2bb8085 Fix #3297 use the password_prompter helper (Howard Chu)
2018-03-05Merge pull request #3304Riccardo Spagni1-373/+444
6d4da1fc Update French translation (Guillaume LE VAILLANT)
2018-03-05Merge pull request #3312Riccardo Spagni1-1/+1
399120dd simplewallet: set seed language when restoring from english-old seed (stoffu)
2018-03-05Merge pull request #3313Riccardo Spagni7-10/+158
43026822 Wallet2 + CLI wallet: UTF-8 support for filenames and paths under Windows (rbrunner7)
2018-03-05Merge pull request #3343Riccardo Spagni2-4/+44
3d452367 allow using ring size instead of mixin for rpc transfer (cryptochangements34)
2018-03-05Merge pull request #3348Riccardo Spagni2-20/+0
c95dddd2 remove unused function keyImageV (h908714124)
2018-03-05Merge pull request #3346Riccardo Spagni2-3/+3
25ea307d Fix invalid device unique_ptr cast (MoroccanMalinois)
2018-03-05Merge pull request #3338Riccardo Spagni1-0/+2
51219457 core: fix sending to the source address with a short payment id (moneromooo-monero)
2018-03-05Merge pull request #3332Riccardo Spagni1-3/+14
6b40ea93 simplewallet: fix print_ring_members printing wrong heights (moneromooo-monero)
2018-03-05Merge pull request #3316Riccardo Spagni1-1/+1
18057b20 Updating Boost download URL. (Tadeas Moravec)
2018-03-05Merge pull request #3314Riccardo Spagni1-0/+4
71bff546 wallet api: when restoring from EnglishOld, set language to English (stoffu)
2018-03-05Merge pull request #3308Riccardo Spagni1-1/+4
6f8779d2 blockchain: fix random sync failures (moneromooo-monero)
2018-03-05Merge pull request #3307Riccardo Spagni1-1/+2
223d7d0c db_lmdb: fix free space reporting (moneromooo-monero)
2018-03-05Merge pull request #3301Riccardo Spagni1-2/+3
34a2a085 rctSigs - loop invariant code removed from the loop (Dusan Klinec)
2018-03-05Merge pull request #3277Riccardo Spagni63-417/+726
0e7ad2e2 Wallet API: generalize 'bool testnet' to 'NetworkType nettype' (stoffu) af773211 Stagenet (stoffu) cc9a0bee command_line: allow args to depend on more than one args (stoffu) 55f8d917 command_line::get_arg: remove 'required' for dependent args as they're always optional (stoffu) 450306a0 command line: allow has_arg to handle arg_descriptor<bool,false,true> #3318 (stoffu) 9f9e095a Use `genesis_tx` parameter in `generate_genesis_block`. #3261 (Jean Pierre Dudey)
2018-03-05Merge pull request #3273Riccardo Spagni1-13/+16
f3b74e75 Fix refresh height estimation (Howard Chu)
2018-03-05Merge pull request #3259Riccardo Spagni3-1/+6
6d900a40 removed systemd private tempdir (ston1th) 496055d1 monerod: do not log to tmpdir in daemon mode (ston1th)
2018-03-05Merge pull request #3156Riccardo Spagni19-28/+28
fbcc91c2 Correct spelling mistakes. (Edward Betts)
2018-03-05Correct spelling mistakes.Edward Betts19-28/+28
2018-03-05allow using ring size instead of mixin for rpc transfercryptochangements342-4/+44
2018-03-05Wallet API: generalize 'bool testnet' to 'NetworkType nettype'stoffu5-42/+103
2018-03-05remove unused function keyImageVh9087141242-20/+0
2018-03-05wallet_manager: fixed typo deviuce/device.hppstoffu1-1/+1
2018-03-05Stagenetstoffu58-357/+566
2018-03-05command_line: allow args to depend on more than one argsstoffu1-9/+57
2018-03-05command_line::get_arg: remove 'required' for dependent args as they're ↵stoffu1-3/+3
always optional
2018-03-05command line: allow has_arg to handle arg_descriptor<bool,false,true> #3318stoffu1-4/+4
2018-03-05Use `genesis_tx` parameter in `generate_genesis_block`. #3261Jean Pierre Dudey2-11/+2
* src/cryptnote_config.h: The constant `config::testnet::GENESIS_TX` was changed to be the same as `config::GENESIS_TX` (the mainnet's transaction) because the mainnet's transaction was being used for both networks. * src/cryptonote_core/cryptonote_tx_utils.cpp: The `generate_genesis_block` function was ignoring the `genesis_tx` parameter, and instead it was using the `config::GENESIS_TX` constant. That's why the testnet genesis transaction was changed. Also five lines of unused code were removed. Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2018-03-04Fix invalid device unique_ptr castMoroccanMalinois2-3/+3
2018-03-04wallet2_api: add info/error/warning entry pointsmoneromooo-monero2-3/+18
2018-03-04Merge pull request #3303Riccardo Spagni53-223/+4130
e745c1e3 Code modifications to integrate Ledger HW device into monero-wallet-cli. (cslashm)
2018-03-04Code modifications to integrate Ledger HW device into monero-wallet-cli.cslashm53-223/+4130
The basic approach it to delegate all sensitive data (master key, secret ephemeral key, key derivation, ....) and related operations to the device. As device has low memory, it does not keep itself the values (except for view/spend keys) but once computed there are encrypted (with AES are equivalent) and return back to monero-wallet-cli. When they need to be manipulated by the device, they are decrypted on receive. Moreover, using the client for storing the value in encrypted form limits the modification in the client code. Those values are transfered from one C-structure to another one as previously. The code modification has been done with the wishes to be open to any other hardware wallet. To achieve that a C++ class hw::Device has been introduced. Two initial implementations are provided: the "default", which remaps all calls to initial Monero code, and the "Ledger", which delegates all calls to Ledger device.
2018-03-02core: fix sending to the source address with a short payment idmoneromooo-monero1-0/+2
It would fail to send, thinking it needs a destination address, since the destination matches the change address in this case.
2018-03-02simplewallet: fix print_ring_members printing wrong heightsmoneromooo-monero1-3/+14
And also use uint64_t instead of int for heights where appropriate
2018-02-25Updating Boost download URL.Tadeas Moravec1-1/+1
Boost does not use Sourceforge anymore. Instead, their download links point to dl.bintray.com. Earlier today Sourceforge was down, and later the Boost downloaded file checksum did not match, which further reinforces the need to change the URL.
2018-02-25wallet api: when restoring from EnglishOld, set language to Englishstoffu1-0/+4
2018-02-25Wallet2 + CLI wallet: UTF-8 support for filenames and paths under Windowsrbrunner77-10/+158
2018-02-25simplewallet: set seed language when restoring from english-old seedstoffu1-1/+1
2018-02-23removed systemd private tempdirston1th1-1/+0
2018-02-23monerod: do not log to tmpdir in daemon modeston1th2-0/+6
The logging to /tmp/bitmonero.daemon.stdout.stderr caused segfaults if the /tmp mount was full (#2851). Now the daemon is only logging to /tmp/bitmonero.daemon.stdout.stderr in the debug builds.
2018-02-23blockchain: fix random sync failuresmoneromooo-monero1-1/+4
When a block is added as part of a chunk (when syncing historical blocks), a block may end up already in the blockchain if it was added to the queue before being added to the chain (though it's not clear how that could happen, but it's an implementation detail) and thus may not be added to the chain when add_block is called. This would cause m_blocks_txs_check to not be cleared, causing it to get out of sync at next call, and thus wrongfully reject the next block.
2018-02-23db_lmdb: fix free space reportingmoneromooo-monero1-1/+2
reported by Brad Richards
2018-02-22Update French translationGuillaume LE VAILLANT1-373/+444
2018-02-21rctSigs - loop invariant code removed from the loopDusan Klinec1-2/+3
2018-02-20Merge pull request #3245Riccardo Spagni2-17/+28
54c256bc unit_tests.serialization: refactored with ASSERT_EQ_MAP (stoffu) e6a60938 unit_tests: added gtest utility ASSERT_EQ_MAP for easily testing key-value map (stoffu)
2018-02-20Merge pull request #3256Riccardo Spagni1-2/+2
df5273de wallet2: fix auto_low_priority field name typo on load (moneromooo-monero)
2018-02-20Merge pull request #3295Riccardo Spagni1-12/+12
6514f0ed db_lmdb: fix return code mixup in for_all_* (moneromooo-monero)
2018-02-20Merge pull request #3294Riccardo Spagni1-1/+1
fd57e13a simplewallet: typo in generate-from-multisig-keys (stoffu)
2018-02-20Merge pull request #3293Riccardo Spagni1-1/+1
4a78a99f cryptonote_core: change wording of fork warning message (moneromooo-monero)
2018-02-20Merge pull request #3292Riccardo Spagni3-14/+31
b372ec43 ITS#8324 More for Win32 NTDLL junk (Howard Chu)
2018-02-20Merge pull request #3290Riccardo Spagni1-0/+1
1d28c0d8 p2p: restore m_testnet assignment lost during rebase (whythat)
2018-02-20Merge pull request #3289Riccardo Spagni1-3/+6
4789f859 wipeable_string: don't try to wipe an empty buffer (moneromooo-monero)
2018-02-20Merge pull request #3288Riccardo Spagni1-0/+1
10f78f63 p2p: need libcryptonote_core due to arg_testnet_on being used (stoffu)
2018-02-20Merge pull request #3266Riccardo Spagni1-1/+1
bb19386b README.md: bump minimum cmake version to 3.2.0 (iDunk5400)
2018-02-20Merge pull request #3263Riccardo Spagni1-1/+1
d4e728c9 simplewallet: reword donate command message for clarity (Serhack)
2018-02-20Merge pull request #3260Riccardo Spagni1-1/+0
b2d4bb9b Remove `voting_version` parameter documentation. (Jean Pierre Dudey)
2018-02-20Merge pull request #3257Riccardo Spagni1-8/+0
da25757b simplewallet: do nothing in on_skip_transaction (wallet2 already logs warnings) (stoffu)
2018-02-20Merge pull request #3255Riccardo Spagni1-11/+5
3962bcb2 Closes #2886: really ignore battery checking (Timothy D. Prime)
2018-02-20Merge pull request #3254Riccardo Spagni1-1/+1
37ee966c add reference to localization workgroup in README.i18n.md (erciccione)
2018-02-20Merge pull request #3247Riccardo Spagni4-19/+55
89ad162a wallet2: remove unused m_subaddresses_inv (moneromooo-monero) f2c4c399 wallet2: speed up subaddress generation (by about a third) (moneromooo-monero)
2018-02-20Merge pull request #3246Riccardo Spagni1-5/+15
3c33e131 wallet2: don't store invalid key image when watch-only (stoffu) 0133b348 wallet2: don't throw when spent amount is inconsistent (stoffu)
2018-02-20Merge pull request #3243Riccardo Spagni1-2/+2
2bc8c3db epee get_ns_count: cast to uint64_t before multiplying 10^9 to avoid overflow (stoffu)
2018-02-20Merge pull request #3235Riccardo Spagni2-3/+5
6866ed46 Add default value to max_height, otherwise it's 0 (Michał Sałaban)
2018-02-20Fix #3297 use the password_prompter helperHoward Chu1-9/+3
2018-02-19db_lmdb: fix return code mixup in for_all_*moneromooo-monero1-12/+12
2018-02-19simplewallet: typo in generate-from-multisig-keysstoffu1-1/+1
2018-02-18cryptonote_core: change wording of fork warning messagemoneromooo-monero1-1/+1
An udpate may or may not be available now, but should be soon if not. This will prevent too many people freaking out.
2018-02-18ITS#8324 More for Win32 NTDLL junkHoward Chu3-14/+31
Use GetProcAddress at runtime, avoid buildtime NTDLL link issues
2018-02-18p2p: restore m_testnet assignment lost during rebasewhythat1-0/+1
2018-02-18wipeable_string: don't try to wipe an empty buffermoneromooo-monero1-3/+6
memset_s doesn't like it
2018-02-18p2p: need libcryptonote_core due to arg_testnet_on being usedstoffu1-0/+1
2018-02-17Merge pull request #3275Riccardo Spagni4-4488/+9704
de397e3f refresh language files (erciccione) 264a8756 fix build error removing <> from payment_id (erciccione)
2018-02-17Merge pull request #3276Riccardo Spagni1-0/+1
ed6c68db crypto: add missing include (WIN32) (iDunk5400)
2018-02-17Merge pull request #3249Riccardo Spagni4-6/+24
a4b50a6f handle ^D and ^C while password prompting (Jethro Grassie)
2018-02-17Merge pull request #3274Riccardo Spagni1-0/+1
dfabc005 memwipe: add missing #include <stdio.h> (stoffu)
2018-02-17Merge pull request #3170Riccardo Spagni15-105/+113
b3b2d4d2 options: add testnet option dependencies (whythat) c5f55bb4 common: implement dynamic option dependencies mechanism (whythat) 05a12ccc options: remove testnet-* options (whythat) c33cb60e common: implement dependent option descriptor (whythat)
2018-02-17Merge pull request #3191Riccardo Spagni1-2/+10
3607d467 core: add --no-fluffy-blocks, and enable fluffy blocks by default (moneromooo-monero)
2018-02-17Merge pull request #3211Riccardo Spagni1-2/+2
7c1a607c txpool: Don't bail out when blob_size == tx_size_limit (Leon Klingele)
2018-02-16options: add testnet option dependencieswhythat5-19/+45
2018-02-16common: implement dynamic option dependencies mechanismwhythat1-14/+11
2018-02-16options: remove testnet-* optionswhythat14-89/+34
2018-02-16crypto: add missing include (WIN32)iDunk54001-0/+1
2018-02-16wallet2: remove unused m_subaddresses_invmoneromooo-monero2-6/+2
2018-02-16wallet2: speed up subaddress generation (by about a third)moneromooo-monero4-16/+56
2018-02-17memwipe: add missing #include <stdio.h>stoffu1-0/+1
2018-02-16refresh language fileserciccione4-4488/+9704
2018-02-16fix build error removing <> from payment_iderciccione3-10/+10
2018-02-16txpool: Don't bail out when blob_size == tx_size_limitLeon Klingele1-2/+2
Previously, when blob_size == tx_size_limit, the "m_too_big" property was set and the transaction was rejected. This should not have been the case.
2018-02-16common: implement dependent option descriptorwhythat1-5/+45
2018-02-16Fix refresh height estimationHoward Chu1-13/+16
Since commit b0426d4c refresh height for a newly created wallet connected to a sync'd daemon was off by a month. Now we only use the 1 month safety margin if we're unable to talk to a daemon.
2018-02-16core: add --no-fluffy-blocks, and enable fluffy blocks by defaultmoneromooo-monero1-2/+10
2018-02-16Merge pull request #3196Riccardo Spagni1-1/+2
eda9fb5b p2p: fix testnet/mainnet port mixup (moneromooo-monero)
2018-02-16Merge pull request #3199Riccardo Spagni1-12/+22
30ce8c59 cn_deserialize: check for raw tx_extra (moneromooo-monero)
2018-02-16Merge pull request #3226Riccardo Spagni21-33/+72
e4646379 keccak: fix mdlen bounds sanity checking (moneromooo-monero) 2e3e90ac pass large parameters by const ref, not value (moneromooo-monero) 61defd89 blockchain: sanity check number of precomputed hash of hash blocks (moneromooo-monero) 9af6b2d1 ringct: fix infinite loop in unused h2b function (moneromooo-monero) 8cea8d0c simplewallet: double check a new multisig wallet is multisig (moneromooo-monero) 9b98a6ac threadpool: catch exceptions in dtor, to avoid terminate (moneromooo-monero) 24803ed9 blockchain_export: fix buffer overflow in exporter (moneromooo-monero) f3f7da62 perf_timer: rewrite to make it clear there is no division by zero (moneromooo-monero) c6ea3df0 performance_tests: remove add_arg call stray extra param (moneromooo-monero) fa6b4566 fuzz_tests: fix an uninitialized var in setup (moneromooo-monero) 03887f11 keccak: fix sanity check bounds test (moneromooo-monero) ad11db91 blockchain_db: initialize m_open in base class ctor (moneromooo-monero) bece67f9 miner: restore std::cout precision after modification (moneromooo-monero) 1aabd14c db_lmdb: check hard fork info drop succeeded (moneromooo-monero)
2018-02-16Merge pull request #3252Riccardo Spagni1-0/+3
f689a77e Fix #602 Turn on socket keepalive (Howard Chu)
2018-02-16Merge pull request #3248Riccardo Spagni1-0/+4
d6a0ae96 blockchain: don't try to use hash check array after it's freed (moneromooo-monero)
2018-02-16Merge pull request #3232Riccardo Spagni1-1/+1
b81e276c connection_context: initialize m_last_request_time to current time (moneromooo-monero)