aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
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 Spagni1-3/+14
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-14wallet2: guard against overflowing of subaddress indicesmoneromooo-monero1-3/+14
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-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-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 #3347Riccardo Spagni1-1/+1
9a6be3da wallet_manager: fixed typo deviuce/device.hpp (stoffu)
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-05cn_deserialize: link with device and ringctmoneromooo-monero1-0/+2
2018-03-05tweaks to the monerov1 cryptonight algorithmLee Clagett1-16/+52
2018-03-05slow-hash: optimized versionSChernykh1-4/+4
2018-03-05Monero Cryptonight variants, and add one for v7moneromooo-monero6-14/+56
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 #3298Riccardo Spagni1-9/+3
f2bb8085 Fix #3297 use the password_prompter helper (Howard Chu)
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 Spagni5-8/+74
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 #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 Spagni52-379/+688
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 Spagni2-0/+6
6d900a40 removed systemd private tempdir (ston1th) 496055d1 monerod: do not log to tmpdir in daemon mode (ston1th)
2018-03-05Correct spelling mistakes.Edward Betts13-22/+22
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-05Stagenetstoffu47-319/+528
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-04Code modifications to integrate Ledger HW device into monero-wallet-cli.cslashm37-191/+4029
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-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 Windowsrbrunner75-8/+74
2018-02-25simplewallet: set seed language when restoring from english-old seedstoffu1-1/+1
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-21rctSigs - loop invariant code removed from the loopDusan Klinec1-2/+3
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 #3290Riccardo Spagni1-0/+1
1d28c0d8 p2p: restore m_testnet assignment lost during rebase (whythat)
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 #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 #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 #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-18p2p: restore m_testnet assignment lost during rebasewhythat1-0/+1
2018-02-18p2p: need libcryptonote_core due to arg_testnet_on being usedstoffu1-0/+1
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 #3170Riccardo Spagni14-103/+112
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-16options: add testnet option dependencieswhythat5-19/+45
2018-02-16common: implement dynamic option dependencies mechanismwhythat1-14/+11
2018-02-16options: remove testnet-* optionswhythat13-87/+33
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-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 Spagni14-18/+56
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 #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)
2018-02-16Merge pull request #3231Riccardo Spagni2-2/+10
84a8b2da Don't create readtxn until after txn_safe gate check (Howard Chu)
2018-02-16Merge pull request #3229Riccardo Spagni1-0/+9
928c1825 cryptonote_protocol: guard against all threads in standby (moneromooo-monero)
2018-02-16Merge pull request #3225Riccardo Spagni2-10/+20
71806327 dns: change default DNS to a worldwide selection (moneromooo-monero)
2018-02-16Merge pull request #3221Riccardo Spagni1-0/+2
2e584dcb p2p: do not try to connect to peers in offline mode (moneromooo-monero)
2018-02-16Merge pull request #3217Riccardo Spagni1-2/+0
fde4489e wipeable_string: call memwipe directly (moneromooo-monero)
2018-02-16Merge pull request #3214Riccardo Spagni3-1/+3
214d251c wallet: suggest the use of sweep_unmixable when not_enough_outs_to_mix is thrown (stoffu)
2018-02-16Merge pull request #3210Riccardo Spagni1-1/+8
39992134 txpool: Properly bail out when outputs_amount == inputs_amount (Leon Klingele)
2018-02-16Merge pull request #3207Riccardo Spagni3-8/+17
a99ef176 wallet-rpc: take subaddress account as arg for get_transfer_by_txid (stoffu) 77125096 wallet-rpc: rename *_INDEX_OUTOFBOUND into *_INDEX_OUT_OF_BOUNDS (stoffu)
2018-02-16Merge pull request #3205Riccardo Spagni4-6/+115
bc61ae69 tx_pool: add a max pool size, settable with --max-txpool-size (moneromooo-monero) 3b4e6b35 txpool: increase unmined tx expiry to three days (moneromooo-monero)
2018-02-16Merge pull request #3197Riccardo Spagni2-0/+12
f90c76be Return appropriate error code when there's no connection to daemon (Michał Sałaban) 3cb65b3f Return appropriate error code when not enough money for tx (Michał Sałaban)
2018-02-16Merge pull request #3187Riccardo Spagni3-7/+33
851bd057 call _exit instead of abort in release mode (moneromooo-monero)
2018-02-16Merge pull request #3181Riccardo Spagni4-6/+6
e3f0980a daemon: don't drop RPC with busy error when running offline (moneromooo-monero)
2018-02-16Merge pull request #3180Riccardo Spagni4-5/+24
1dfed567 Fixed #if instead of #ifdef (Matt Little) 7c442453 Support building cncrypto lib with msvc (Matt Little)
2018-02-16Merge pull request #3175Riccardo Spagni3-1/+9
3be98036 wallet-cli: Do not ask for scan_from_height if it explicitly is set to zero. (Maximilian Lupke)
2018-02-16Merge pull request #3171Riccardo Spagni2-10/+14
402c9eef cryptonote_tx_utils: fixed logic bug in get_destination_view_key_pub (stoffu)
2018-02-16Merge pull request #3165Riccardo Spagni4-5/+370
7539603f Bootstrap daemon (stoffu)
2018-02-16Merge pull request #3163Riccardo Spagni13-32/+185
628b78ae Fix in_peers/out_peers RPC operations (Erik de Castro Lopo) ece9bcf5 rpc_client: Fix error handling (Erik de Castro Lopo) 8f30350d Fix method name in invoke_http_json_rpc (Erik de Castro Lopo) 32c0f908 Allow the number of incoming connections to be limited (Erik de Castro Lopo) d609a2c1 Rename delete_connections to delete_out_connections (Erik de Castro Lopo) b927c0fc Rename connections_count to max_out_connection_count (Erik de Castro Lopo)
2018-02-16Merge pull request #3161Riccardo Spagni1-1/+1
78a2e15b daemon: exit with 0 when successful (moneromooo-monero)
2018-02-16Merge pull request #3094Riccardo Spagni7-33/+33
a85dbb3f Fixed typos and wording tweaks (Maxithi)
2018-02-15simplewallet: do nothing in on_skip_transaction (wallet2 already logs warnings)stoffu1-8/+0
2018-02-14simplewallet: reword donate command message for claritySerhack1-1/+1
2018-02-14Merge pull request #3138Riccardo Spagni2-13/+12
19ff243f wallets: reorg 61 more days on testnet (moneromooo-monero) c70f03ca blockchain: move bulletproofs to v8 (moneromooo-monero)
2018-02-14Merge pull request #2959Riccardo Spagni1-56/+47
3f1a3fac bulletproofs: more robust challenge computation (moneromooo-monero)
2018-02-13Remove `voting_version` parameter documentation.Jean Pierre Dudey1-1/+0
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2018-02-13wallet2: fix auto_low_priority field name typo on loadmoneromooo-monero1-2/+2
2018-02-12Closes #2886: really ignore battery checkingTimothy D. Prime1-11/+5
Move option test first.
2018-02-12wallet2: don't store invalid key image when watch-onlystoffu1-1/+1
2018-02-10handle ^D and ^C while password promptingJethro Grassie4-6/+24
2018-02-10blockchain: don't try to use hash check array after it's freedmoneromooo-monero1-0/+4
It's freed when we've synced past its end, but we might still find an old chain somewhere
2018-02-10wallet2: don't throw when spent amount is inconsistentstoffu1-4/+14
2018-02-08dns: change default DNS to a worldwide selectionmoneromooo-monero2-10/+20
DNSSEC aware servers picked from https://wiki.ipfire.org/dns/public-servers
2018-02-08wallet: suggest the use of sweep_unmixable when not_enough_outs_to_mix is thrownstoffu3-1/+3
2018-02-07tx_pool: add a max pool size, settable with --max-txpool-sizemoneromooo-monero4-5/+114
2018-02-07keccak: fix mdlen bounds sanity checkingmoneromooo-monero1-1/+2
found by h908714124
2018-02-05Add default value to max_height, otherwise it's 0Michał Sałaban2-3/+5
2018-02-04connection_context: initialize m_last_request_time to current timemoneromooo-monero1-1/+1
This prevents spurious early peer drops
2018-02-02cryptonote_protocol: guard against all threads in standbymoneromooo-monero1-0/+9
2018-02-02pass large parameters by const ref, not valuemoneromooo-monero2-2/+2
Coverity 136394 136397 136409 136526 136529 136533 175302
2018-02-02blockchain: sanity check number of precomputed hash of hash blocksmoneromooo-monero1-1/+6
Coverity 142951
2018-02-02ringct: fix infinite loop in unused h2b functionmoneromooo-monero1-0/+1
Coverity 146775
2018-02-02simplewallet: double check a new multisig wallet is multisigmoneromooo-monero1-1/+5
Coverity 182493
2018-02-02threadpool: catch exceptions in dtor, to avoid terminatemoneromooo-monero2-1/+20
If an exception is thrown, it is ignored. While this may hide a bug, this should only be system exceptions in boost, which is pretty unlikely. Morever, wait should be called manually before the dtor anyway. Add an error message if the dtor has to wait in case some such cases creep in so they get fixed. Coverity 182538
2018-02-02blockchain_export: fix buffer overflow in exportermoneromooo-monero1-1/+1
Coverity 182550
2018-02-02perf_timer: rewrite to make it clear there is no division by zeromoneromooo-monero1-4/+3
It could have happened if epee::misc_utils::get_ns_count is buggy, at a push Coverity 182561
2018-02-02keccak: fix sanity check bounds testmoneromooo-monero1-1/+1
Nothing calls this with those inputs
2018-02-02blockchain_db: initialize m_open in base class ctormoneromooo-monero3-3/+7
It's cleaner this way, since it's a base class field Coverity 136568
2018-02-02miner: restore std::cout precision after modificationmoneromooo-monero1-1/+2
Coverity 136462
2018-02-02db_lmdb: check hard fork info drop succeededmoneromooo-monero1-2/+6
Coverity 136364
2018-02-01txpool: increase unmined tx expiry to three daysmoneromooo-monero1-1/+1
2018-02-01p2p: do not try to connect to peers in offline modemoneromooo-monero1-0/+2
2018-02-01call _exit instead of abort in release modemoneromooo-monero3-7/+33
Avoids cores being created, as they're nowadays often piped to some call home system
2018-02-01txpool: Properly bail out when outputs_amount == inputs_amountLeon Klingele1-1/+8
Previously, when outputs_amount == inputs_amount, the "m_overspend" property was set, whereas "m_fee_too_low" would have been the correct property to set. This is unlikely to ever occur and just something I've noticed while reading through the code.
2018-01-31Don't create readtxn until after txn_safe gate checkHoward Chu2-2/+10
2018-01-31bulletproofs: more robust challenge computationmoneromooo-monero1-56/+47
Changes from sarang, from a recommendation by an anonymous reviewer
2018-01-31ringct: pseudoOuts moved to prunable in the simple bulletproof casemoneromooo-monero3-14/+72
Saves 64 bytes non prunable data per typical tx This breaks v7 consensus, will require a testnet reorg from v6
2018-01-31wallets: reorg 61 more days on testnetmoneromooo-monero1-2/+3
2018-01-31blockchain: move bulletproofs to v8moneromooo-monero2-11/+9
and set v7 height to 1057027 on testnet (one block earlier) This is to easily dump current nodes since we're going to change the v7 rules with this.
2018-01-31wipeable_string: call memwipe directlymoneromooo-monero1-2/+0
since the original reason for the indirect call (that memwipe was not in contrib) is now gone
2018-01-31wallet-rpc: take subaddress account as arg for get_transfer_by_txidstoffu2-4/+13
2018-01-31wallet-rpc: rename *_INDEX_OUTOFBOUND into *_INDEX_OUT_OF_BOUNDSstoffu2-4/+4
2018-01-30Bootstrap daemonstoffu4-5/+370
2018-01-29Fixed typos and wording tweaksMaxithi7-33/+33
2018-01-29cryptonote_tx_utils: fixed logic bug in get_destination_view_key_pubstoffu2-10/+14
2018-01-29Return appropriate error code when there's no connection to daemonMichał Sałaban2-0/+6
2018-01-29Fix in_peers/out_peers RPC operationsErik de Castro Lopo1-2/+2
Original implementations could never have worked.
2018-01-29rpc_client: Fix error handlingErik de Castro Lopo1-8/+8
Previous code was unable to distingush between a connection error and a communication error.
2018-01-29Allow the number of incoming connections to be limitedErik de Castro Lopo12-7/+160
It was already possible to limit outgoing connections. One might want to do this on home network connections with high bandwidth but low usage caps.
2018-01-29Rename delete_connections to delete_out_connectionsErik de Castro Lopo3-3/+3
This rename is needed so that delete_in_connections can be added.
2018-01-29Rename connections_count to max_out_connection_countErik de Castro Lopo3-13/+13
This is needed so that a max_in_connection_count can be added.
2018-01-28Merge pull request #3186Riccardo Spagni1-1/+1
7ed62e63 cryptonote_protocol: fix std::move usage on different types (moneromooo-monero)
2018-01-28cn_deserialize: check for raw tx_extramoneromooo-monero1-12/+22
2018-01-28Return appropriate error code when not enough money for txMichał Sałaban2-0/+6
2018-01-28p2p: fix testnet/mainnet port mixupmoneromooo-monero1-1/+2
2018-01-27Merge pull request #3188Riccardo Spagni1-0/+1
fbc0a6dd Bugfix : Missing i18n import in simplewallet (Neozaru)
2018-01-28wallet: automatically use low priority if safe (no backlog & recent blocks ↵stoffu7-18/+136
not full)
2018-01-28simplewallet: bug fix for backlog estimatestoffu1-4/+1
2018-01-28wallet2: split estimate_backlog to allow for raw fee levelsmoneromooo-monero2-9/+27
2018-01-27Merge pull request #3116Riccardo Spagni1-1/+1
269ba252 wallet2::import_blockchain fix import loop (Jaquee)
2018-01-27Merge pull request #3145Riccardo Spagni1-6/+6
fd1dfac5 p2p: don't lookup seed IPs if using an exclusive peer (moneromooo-monero) b50182ae p2p: don't connect to seeds if using an exclusive peer (moneromooo-monero)
2018-01-27Merge pull request #3144Riccardo Spagni4-2/+21
42f86624 rpc: expose recent median block size in getinfo (moneromooo-monero)
2018-01-27Merge pull request #3143Riccardo Spagni1-0/+6
ba6d2975 cryptonote_core: add --disable-dns-checkpoints flag (moneromooo-monero)
2018-01-27Merge pull request #3142Riccardo Spagni1-7/+0
a9cae0ab Wallet API: remove unused enum Priority from UnsignedTransaction (stoffu)
2018-01-27Merge pull request #3141Riccardo Spagni3-55/+43
3160a930 wallet2: remove {set|get}_default_decimal_point and use the same funcs under cryptonote:: instead (stoffu) 7d1088d3 wallet2: make scan_output const and omit keys arg (stoffu) bc1ee2c2 wallet2: make member functions const when possible (stoffu)
2018-01-27Merge pull request #3136Riccardo Spagni1-1/+1
e0404d35 rpc: default do_not_relay to false in sendrawtransaction (moneromooo-monero)
2018-01-27Merge pull request #3121Riccardo Spagni1-1/+1
6fbb0b06 cmake: set API header install path to what Qt wallet expects (redfish)
2018-01-27Merge pull request #3120Riccardo Spagni2-9/+80
6cf56682 perf_timer: add faster x86_64 timers, and pause/resume (moneromooo-monero) 411da337 perf_timer: use std::unique_ptr instead of new/delete (moneromooo-monero)
2018-01-27Merge pull request #3119Riccardo Spagni3-0/+157
c4f43779 crypto: add a ge_p3_identity constant (moneromooo-monero) 13b4c90e crypto: add scalar mult functions returning ge_p3 instead of ge_p2 (moneromooo-monero)
2018-01-27Merge pull request #3118Riccardo Spagni4-0/+49
ca336c62 simplewallet: check file overwrite when exporting stuff (stoffu)
2018-01-27Merge pull request #3114Riccardo Spagni1-0/+4
fb5c971c Allow retrieving spend key via RPC (Michał Sałaban)
2018-01-27Merge pull request #3113Riccardo Spagni3-4/+15
ffc2e570 wallet rpc: show fees when querying incoming transfers (stoffu)
2018-01-27Merge pull request #3104Riccardo Spagni5-12/+110
939629e8 Wallet API: all recover options with password (m2049r)
2018-01-27Merge pull request #3102Riccardo Spagni1-3/+3
3050a4f0 simplewallet: fix typo get_tx_proof_out to get_tx_proof (stoffu)
2018-01-27Fixed #if instead of #ifdefMatt Little1-3/+3
2018-01-26Readd copyright starting datexmr-eric37-37/+37
2018-01-26Update 2018 copyrightxmr-eric271-271/+271
2018-01-26Bugfix : Missing i18n import in simplewalletNeozaru1-0/+1
2018-01-26cryptonote_protocol: fix std::move usage on different typesmoneromooo-monero1-1/+1
2018-01-26Wallet API: remove unused enum Priority from UnsignedTransactionstoffu1-7/+0
2018-01-26wallet2: remove {set|get}_default_decimal_point and use the same funcs under ↵stoffu3-14/+2
cryptonote:: instead
2018-01-26wallet2: make scan_output const and omit keys argstoffu2-6/+6