aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2018-04-21Build: update CMake and p2p for in-tree miniupnpanonimal1-10/+3
(cherry picked from commit a7366b5feeffaeb65b217b2d6f138e0ab1c90192)
2018-04-19wallet2: increase rpc timeout for get_output_distributionmoneromooo-monero1-1/+1
2018-04-19add top height to get_output_distribution, and cache it for rctmoneromooo-monero3-0/+37
This should cache the vast majority of calls for long running wallets
2018-04-19rpc: add missing perf timer for get_output_distributionmoneromooo-monero1-0/+1
2018-04-19CMake: update new location of in-tree miniupnpcanonimal1-3/+3
(cherry picked from commit b16a282f97d8f6c967e8a0b1ecfd75110f095182)
2018-04-14daemon: read config file before reading any other argsstoffu1-23/+22
2018-04-14device: add a one off override keyword where appropriatemoneromooo-monero2-2/+2
2018-04-13simplewallet: add version commandmoneromooo-monero2-0/+12
2018-04-13daemon: add a version commandmoneromooo-monero3-0/+14
2018-04-12util: log stack trace on crashmoneromooo-monero1-0/+39
2018-04-12wallet2: store subaddress lookahead settingsstoffu1-0/+12
2018-04-12blockchain_blackball: fix build with CLANG 5moneromooo-monero1-1/+2
It doesn't like the explicit NULL dereference (which is fine, honest)
2018-04-12Use 'boost' mutex instead of 'std' mutexcslashm1-4/+4
2018-04-12Fix sub-address tx scan.cslashm6-3/+33
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-04-12wallet2: fix misc issues when the ringdb can't be initializedmoneromooo-monero1-9/+9
2018-04-11tx_pool: fix loading with colliding key imagesmoneromooo-monero1-17/+26
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-04-10common: make this build with unbound 1.4.20moneromooo-monero2-2/+5
Common on currently used distros
2018-04-07simplewallet: fix help message of sign_transferstoffu1-2/+2
2018-04-07wallet2: request transactions in slices when scanning for known ringsmoneromooo-monero1-22/+32
This avoid massive memory consumption for huge wallets
2018-04-07rpc: allow getting pruned blocks from gettransactionsmoneromooo-monero3-8/+27
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-04-07WalletManagerImpl: reuse existing connection to daemon instead of ↵stoffu3-39/+35
reconnectivng every time
2018-04-05wallet2: move segregation height to v7moneromooo-monero1-1/+1
since people seem to really want to use things the wrong way.
2018-03-31Add the possibility to export private view key for fast scan.cslashm7-93/+200
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-03-31Change mutex lock model to avoid dead lock and ensure locks are always released.cslashm5-385/+202
Additional cosmetic fixes: move 'name' as protected remove unnecessary local var Fix debug log
2018-03-31Automatic height setup when creating/restoring hw device.cslashm1-2/+18
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-03-31wallet: warn if not using the default ring sizemoneromooo-monero3-0/+30
2018-03-31simplewallet: warn about key reuse on startupmoneromooo-monero1-1/+1
2018-03-31cryptonote_tx_util: make destinations properly shuffledstoffu1-2/+3
2018-03-28wallet: fix default mixin (4 -> 6)sneurlax1-1/+1
2018-03-28device: fix endianess dependence on subaddress secret key generationmoneromooo-monero1-2/+6
We now force little endianness
2018-03-27fix lambda compile error on openbsdmoneromooo-monero5-7/+7
2018-03-24update block hashes for checkpoints.datRiccardo Spagni1-1/+1
2018-03-23rpc: make get_output_distribution a non-restricted RPCmoneromooo-monero1-1/+1
so that those nodes can still be used for sending transactions
2018-03-22wallet2: set from_height of GET_OUTPUT_DISTRIBUTION correctlystoffu1-1/+1
The previous expression req_t.from_height = X ? Y >= Z : 0; forces the parameter to take the value of either 0 or 1.
2018-03-22wallet2: enable the mitigation only after the fork heightstoffu1-4/+5
2018-03-22p2p: correct port number for seed nodesstoffu1-3/+3
2018-03-22wallet2: fix for loading settings of key reuse mitigationstoffu1-0/+9
2018-03-21wallet: catch exceptions dealing with ringdb and warnmoneromooo-monero3-20/+48
2018-03-18core: fix use of uninitialised datamoneromooo-monero2-2/+4
2018-03-18update checkpointsRiccardo Spagni1-0/+2
2018-03-18update checkpoints.dat to block 1532400Riccardo Spagni1-0/+0
2018-03-18update version to 0.12 Lithium LunaRiccardo Spagni1-2/+2
2018-03-18Move v7 fork to 1546000 to give more update timemoneromooo-monero1-2/+2
2018-03-17simplewallet: new --use-english-language-names flagmoneromooo-monero18-26/+70
On some Windows systems, displaying language names in their own languages freezes the display.
2018-03-17wallet: make the segregation height settablemoneromooo-monero4-9/+87
via user setting first, then DNS TXT record, hardcoded fallback
2018-03-17wallet_rpc_server: add sweep_unmixable as alias for sweep_dustmoneromooo-monero1-0/+1
2018-03-16blockchain: forbid bulletproof types before v8moneromooo-monero1-1/+2
They were already forbidden implicitely, but let's make that explicit for robustness
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-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-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-monero13-7/+282
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 Apostolou12-19/+19
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-14replace invoke_http_json("/json_rpc",...) with ↵stoffu2-146/+104
invoke_http_json_rpc("/json_rpc",methodname,...) to reduce boilerplate
2018-03-14wallet2: check_tx_key() shouldn't require hardware encryptionstoffu1-2/+2
2018-03-14chacha: call prehashed version explicitly as generate_chacha_key_prehashedstoffu5-18/+36
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 #3303stoffu2-10/+1
2018-03-14keypair::generate: always require hw::device to avoid possible mistakestoffu3-8/+2
2018-03-14device: untangle cyclic depenencystoffu24-460/+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-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-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-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-08ringct: 17% improvement in Borromean signature verificationmoneromooo-monero1-9/+36
2018-03-07core: add v7 for 1539500 on mainnetmoneromooo-monero1-0/+3
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 ↵stoffu1-3/+3
versions (and make libwallet_api_tests compilable)
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-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-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-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-15simplewallet: do nothing in on_skip_transaction (wallet2 already logs warnings)stoffu1-8/+0
2018-02-14Use `genesis_tx` parameter in `generate_genesis_block`.Jean 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-02-14simplewallet: reword donate command message for claritySerhack1-1/+1
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-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-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-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