aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2018-06-26wallet2: use std::move on containers where appropriatemoneromooo-monero1-4/+4
2018-06-13mlog: --max-log-files to set the max number of rotated log filesstoffu3-2/+10
2018-06-09simplewallet: set_ring can now take a file with ringsmoneromooo-monero1-2/+110
2018-06-08db_lmdb: warn about slowness when running off a spinning diskmoneromooo-monero3-0/+75
2018-06-06blockchain: fix deadlock with the difficulty cachemoneromooo-monero1-8/+12
2018-06-06wallet: do not log by default if we're not asked to log to consolemoneromooo-monero1-0/+4
This means monero-wallet-rpc still does, but the user level program does not.
2018-06-06ringct: remove an unnecessary scalarmultBase in zeroCommitmoneromooo-monero2-4/+2
2018-06-05use deterministic viewkey if not suppliedcryptochangements341-20/+34
2018-06-05util: consider Tor/I2P addresses to be non localmoneromooo-monero1-0/+7
2018-06-05simplewallet: add optional trusted/untrusted argument to set_daemonmoneromooo-monero1-1/+28
Otherwise the previous daemon's trustedness would carry over. If not specified, the local address check is performed again.
2018-06-04blockchain: pop forked blocks only when DB is not read-onlystoffu1-1/+1
2018-06-04Fixes #3645: error on freebsd lambda return values forced to std::stringS1-1/+1
2018-06-03protocol: drop (and increase fails) if most blocks hashes are invalidmoneromooo-monero1-3/+3
2018-06-03wallet-rpc: watch-only and cold wallet features addedDusan Klinec7-98/+495
- unsigned_txset, signed_txset in transfer / submit_transfer / sign_transfer - export_outputs, import_outputs Squashed commits: [f4d9f3d4] wallet-rpc: do_not_relay removed from submit_transfer [5b16a86f] wallet-rpc: review-fix - method signature changes, renaming [b7fbb10a] wallet-rpc: naming fixes (unsigned vs signed), consts renamed [8c7d2727] wallet-rpc: sign_transfer added [481d024a] wallet2: sign_tx splitted to work with strings and structs, more granular [2a474db9] wallet-rpc: wallet2::load_unsigned_tx split to load from str, file [b1e3a018] wallet-rpc: review fix, load_tx_from_str variable rename [1f6373be] wallet-rpc: review fix: save_tx_to_{str,file} [2a08eafc] wallet-rpc: review comments fixes - redundant this removed from wallet2.cpp - load_tx_from_str, load_tx_from_file [43498052] wallet-rpc: submit_transfer added [9c45d1ad] wallet-rpc: watch_only check, return unsigned_txset [62831396] wallet2: added string variants to load_tx, save_tx - analogously to save_multisig_tx - required for monero-wallet-rpc to support watch-only wallet
2018-06-02blockchain: demote a hash-of-hashes validation warning to debugmoneromooo-monero1-1/+1
This data comes from untrusted peers, and validation failures are therefore normal.
2018-06-02update checkpoints.dat for point releaseRiccardo Spagni2-1/+1
2018-06-02bump version for 0.12.2 point releaseRiccardo Spagni1-1/+1
2018-06-02tx_pool: hold off parsing a tx blob till we actually need itmoneromooo-monero2-12/+35
2018-06-01blockchain: return error when requesting non existent outputmoneromooo-monero1-6/+13
avoids RPC thread dying, causing the wallet to timeout
2018-06-01rpc: the cache is still for non cumulative on that branchmoneromooo-monero1-0/+7
2018-06-01simplewallet.sign_transfer: rename export to export_raw, add help messagestoffu1-4/+4
2018-05-31rpc: convert distribution to cumulative after cachingmoneromooo-monero1-6/+7
This avoids double conversion on a later cache hit
2018-05-31wallet2: don't ask for pruned txes yet, we still parse the entire txmoneromooo-monero1-1/+1
2018-05-31daemon: fix readline interfering with std::cerr usagemoneromooo-monero1-0/+3
Once readline is initialized, std::cerr's operator<< will output a 0xff byte for unknown reasons.
2018-05-31wallet: fix shared ring db pathstoffu2-6/+12
2018-05-30rpc: fix get_output_distribution cache for the cumulative casemoneromooo-monero1-0/+7
The distribution was not converted to cumulative after a cache hit
2018-05-30blockchain_blackball: also blackball N N-sized duplicate ringsmoneromooo-monero1-5/+48
These are unlikely to happen at random, but Wijaya et al made a paper about it, so people might try it on purpose now (and it turns out it's easy to add anyway)
2018-05-30blockchain_blackball: add incremental modemoneromooo-monero1-19/+102
2018-05-30blockchain_utilities: do not link against unneeded p2p libmoneromooo-monero1-4/+0
2018-05-30hardfork: fix get_next_version()stoffu1-3/+3
2018-05-30hardfork: fix get_earliest_ideal_height_for_version() to support ↵stoffu1-4/+8
non-existent versions
2018-05-28disable file size sanity check when loading the wallet cachemoneromooo-monero1-1/+1
2018-05-28protocol: do not switch to unsafe sync mode for just a few blocksmoneromooo-monero1-1/+2
2018-05-28core: fix automatic safe db sync mode switchingmoneromooo-monero2-5/+7
2018-05-28tx_pool: remove old comment from fill_block_template()stoffu1-4/+0
2018-05-26fix build with GCC 8.1.0moneromooo-monero3-2/+4
2018-05-26p2p: warn when no incoming connections are seen for a whilemoneromooo-monero2-0/+16
2018-05-23db_lmdb: save pruned and prunable tx data separatelymoneromooo-monero15-90/+457
This bumps DB version to 2, migration code will run for v1 DBs
2018-05-23update checkpointsRiccardo Spagni2-1/+1
2018-05-23update checkpoints for point releaseRiccardo Spagni1-1/+1
2018-05-23bump version for point releaseRiccardo Spagni1-1/+1
2018-05-23Fix PCSC compilation under windowscslashm2-0/+14
PR3843 based on release-v0.12 => rebased on master
2018-05-21speed up get_output_distribution (and precalc common case)moneromooo-monero9-23/+182
2018-05-20simplewallet: use correct unit for fee commandstoffu1-1/+1
2018-05-20core: remove threadpool dependency from headermoneromooo-monero2-6/+3
2018-05-20threadpool: allow constructing an object, and misc tweaksmoneromooo-monero2-9/+13
use unsigned int to avoid having to range check negative numbers, use const where possible, don't needlessly create empty objects, use std::move where possible
2018-05-20Fix output shuffling for multisigstoffu3-11/+13
2018-05-19daemon: request unpruned transactions for print_txmoneromooo-monero1-0/+1
instead of uninitialized
2018-05-18core: lock incoming tx lock when checking the txpool and chainmoneromooo-monero1-0/+1
This gets rid of an innocuous race trying to add the same tx twice to the txpool
2018-05-17object_sizes: add a few useful typesmoneromooo-monero1-0/+5
2018-05-15simple-wallet-cli: Add warnings about inaccurate balances to to watch-only ↵jcktm3-0/+11
wallet
2018-05-13Use median timestamp if current time renders a block invalid.Thaer Khawaja2-6/+15
2018-05-13crypto: more places needing fixing for GCC 8.1moneroexamples1-10/+10
2018-05-13chacha: fix build with GCC 8.1moneromooo-monero1-2/+2
2018-05-12Fix TypoRafficer1-1/+1
2018-05-10wallet2: consider 6 outputs or less to be unmixable from v7moneromooo-monero1-2/+2
2018-05-09blockchain: avoid exception if asked for a block we do not havemoneromooo-monero1-8/+11
This can happen if a peer tries to obtain the next span from other peers if that span is needed for not downloaded yet. Also if the peer maliciously requests a non existent block hash.
2018-05-09blockchain: invalidate misc caches when popping blocksmoneromooo-monero1-0/+6
Might be a bit heavy handed, but conservative.
2018-05-07cryptonote: make sure outPk setup always happensmoneromooo-monero2-33/+37
2018-05-06check_spend_proofitssteven1-2/+3
My intention is to mitigate #3761 by returning "bad signature", rather than throwing an error, as the error is triggered inappropriately in the case of checking a different txid than the one used to create the signature, which causes issues for monerophp: https://github.com/monero-integrations/monerophp/issues/72 & my temp fix: https://github.com/monero-integrations/monerophp/pull/74
2018-05-06handle optional miner params bettercryptochangements342-2/+22
2018-05-06blockchain: pop top if block version disagrees with the ideal fork versionstoffu1-0/+47
2018-05-05add .load() to make Boost 1.67 happy with its new is_integral checkTeutone1-1/+1
2018-05-04ringct: do not show verification errors with default settingsmoneromooo-monero1-4/+6
2018-05-04Wallet API: allow log path to be non-default & console output to be configurablestoffu2-3/+4
2018-04-29Ensure m_timestamps has the correct number for computing difficulty.Thaer Khawaja1-1/+1
2018-04-29p2p: fix fallback seed node usagemoneromooo-monero2-3/+11
Those were added to the seed nodes list even when they had already been added. Moreover, the current index was not reset after they were added, typically causing previous seeds to be used, and some of those fallback seeds to not be tried.
2018-04-28daemon: print peer state in sync_infomoneromooo-monero1-1/+1
It's often relevant
2018-04-28connection_context: remove "state_" prefix from state namesmoneromooo-monero1-5/+5
It's redundant and makes it easier to print them in columns
2018-04-28cryptonote_protocol_handler.inl: remove span read just now that failed to ↵stoffu1-0/+3
pass some basic tests
2018-04-28cryptonote_protocol_handler.inl: fix return type mismatches (int vs bool)stoffu1-8/+8
2018-04-25Adding required library (dependency of boost::this_thread::sleep_for)Gene Peters1-0/+1
2018-04-25Fix broken interactive daemon 'limit' commands plus RPC callsrbrunner74-15/+9
2018-04-25Wallet: added methods to sign and verify arbitrary message with multisig ↵naughtyfox5-0/+113
public signer's key (libwallet & wallet api)
2018-04-25cn_deserialize: dump additional tx pubkeysmoneromooo-monero1-0/+3
2018-04-25mnemonics: add some logs to help debug failuresmoneromooo-monero1-2/+26
2018-04-24slow-hash: fix memory leak for Windows /karbowanec#41aivve1-1/+1
2018-04-23blockchain: log in DEBUG when a block is found, and wheremoneromooo-monero1-3/+3
Eases up debugging
2018-04-23speedup get_output_histogram for all amounts when min_count > 0moneromooo-monero6-10/+16
This skips the vast majority of "dust" output amounts with just one instance on the chain. Clocks in at 0.15% of the original time on testnet.
2018-04-23wallet2: add missing parameters to get_output_histogrammoneromooo-monero1-0/+3
2018-04-22Only log an error if fork version is higher AND is not known.Thaer Khawaja3-1/+13
2018-04-22wallet cli/rpc: terminate execution with code 0 when --help or --version is ↵stoffu5-10/+36
given
2018-04-21import_multisig_info: fix sanity check crash in detach_blockchainMikhail Mitkevichl1-1/+6
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-15Improve 'show_transfers' date formattingRyan Ronnander1-8/+5
Change the wallet's 'show_transfers' command to always output the transaction date with timestamp (24 hour UTC).
2018-04-15handle improper log levelscryptochangements341-2/+18
2018-04-14daemon: read config file before reading any other argsstoffu1-23/+22
2018-04-14wallet_rpc_server: add a get_version RPCmoneromooo-monero3-0/+37
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-13WalletApi: publicMultisigSignerKey methodnaughtyfox3-0/+17
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-11unit_tests: add ringdb unit testsmoneromooo-monero2-4/+15
2018-04-10common: make this build with unbound 1.4.20moneromooo-monero2-2/+5
Common on currently used distros
2018-04-10crypto: fix initialization order issue with random mutexmoneromooo-monero2-10/+15
2018-04-08Add a space in mining to testnet/stagenet stringcryptochangements341-1/+1
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-05Core RPC: optionally add POW hash to block_header_responsestoffu4-8/+25
2018-04-05wallet2: move segregation height to v7moneromooo-monero1-1/+1
since people seem to really want to use things the wrong way.
2018-04-03blockchain_usage: don't divide by 0 when there is nothing to processmoneromooo-monero1-3/+10
Coverity 184942
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-30blockchain: add scope guard to waiter for threaded txv1 verificationstoffu1-0/+1
2018-03-28wallet: fix default mixin (4 -> 6)sneurlax1-1/+1
2018-03-28WalletApi: getMultisigInfo entry for gui walletsnaughtyfox7-2/+308
WalletApi: makeMultisig call introduced WalletApi: finalizeMultisig call introduced WalletApi: new calls exportMultisigImages and importMultisigImages WalletApi: method to return multisig wallet creation state WalletApi: create multisig transaction, sign multisig transaction, commit transaction and get multisig data are added WalletApi: identation and style fixes
2018-03-28Refactored: work with wallet api statuses to make setting and getting ↵naughtyfox3-255/+175
operations atomic along with error strings WalletApi: added method statusWithErrorString to atomically retrieve error with error string
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-24exit if specified wallet file doesn't existcryptochangements341-0/+11
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-22simplewallet: add --untrusted-daemon optionmoneromooo-monero2-25/+34
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-21don't show error twice when starting simplewalletcryptochangements341-1/+1
2018-03-21wallet: catch exceptions dealing with ringdb and warnmoneromooo-monero3-20/+48
2018-03-21core: add get_earliest_ideal_height_for_version()stoffu3-0/+19
2018-03-19blockchain: cache difficulty for next blockmoneromooo-monero2-3/+22
Takes about 10 ms, which takes pretty much all of the get_info RPC, which is called pretty often from wallets. Also add a new lock so we don't need to lock the blockchain lock, which will avoid blocking for a long time when calling the getinfo RPC while syncing. Users of get_difficulty_for_next_block who need the lock will have locked it already.
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-14wallet2: Update function parameter documentationLeon Klingele2-31/+41
This completes and fixes various parameters docs
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.