aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-05-01unit_tests: fix build after get_output_distribution signature changemoneromooo-monero1-1/+1
2018-04-29Merge pull request #3730Riccardo Spagni1-0/+2
bb8c0f62 README.md: mention building deps with -fPIC for static builds (moneromooo-monero)
2018-04-29Merge pull request #3723Riccardo Spagni1-8/+11
16b20229 cryptonote_protocol_handler.inl: remove span read just now that failed to pass some basic tests (stoffu) 409bf2d6 cryptonote_protocol_handler.inl: fix return type mismatches (int vs bool) (stoffu)
2018-04-29README.md: mention building deps with -fPIC for static buildsmoneromooo-monero1-0/+2
2018-04-29cryptonote_protocol_handler.inl: remove span read just now that failed to ↵stoffu1-0/+3
pass some basic tests
2018-04-29cryptonote_protocol_handler.inl: fix return type mismatches (int vs bool)stoffu1-8/+8
2018-04-28Merge pull request #3711Riccardo Spagni4-15/+9
c0e22ebc [RELEASE] Fix broken interactive daemon 'limit' commands plus RPC calls (rbrunner7)
2018-04-28Merge pull request #3712Riccardo Spagni1-0/+1
4b89d877 Adding required library (dependency of boost::this_thread::sleep_for) (Gene Peters)
2018-04-28Merge pull request #3707Riccardo Spagni2-2/+4
76817605 epee: Drop deprecated Boost.Thread header (Jan Beich)
2018-04-28Merge pull request #3704Riccardo Spagni1-1/+6
e2b72da4 mlog: fix setting no logs (moneromooo-monero)
2018-04-28Merge pull request #3696Riccardo Spagni1-1/+1
b1a9e97b slow-hash: fix memory leak for Windows /karbowanec#41 (aivve)
2018-04-28Merge pull request #3690Riccardo Spagni5-1/+15
80dc5d21 Only log an error if fork version is higher AND is not known. (Thaer Khawaja)
2018-04-28Merge pull request #3686Riccardo Spagni7-10/+19
d003f07c speedup get_output_histogram for all amounts when min_count > 0 (moneromooo-monero) df9d59ca wallet2: add missing parameters to get_output_histogram (moneromooo-monero)
2018-04-28Merge pull request #3684Riccardo Spagni1-1/+6
9670c917 import_multisig_info: fix sanity check crash in detach_blockchain (Mikhail Mitkevichl)
2018-04-28Merge pull request #3668Riccardo Spagni98-12626/+17
c6774215 Build: remove UPnP definition from snap (anonimal) 1e20d705 Build: update CMake and p2p for in-tree miniupnp (anonimal) 9e1f8bfa CMake: update new location of in-tree miniupnpc (anonimal) c7b66d3d Build: add miniupnp submodule (anonimal) e9622166 Build: remove in-tree miniupnpc (anonimal)
2018-04-28Merge pull request #3666Riccardo Spagni1-2/+2
5ef4bf05 simplewallet: fix help message of sign_transfer (stoffu)
2018-04-28Merge pull request #3665Riccardo Spagni3-39/+35
e561a0c3 WalletManagerImpl: reuse existing connection to daemon instead of reconnectivng every time (stoffu)
2018-04-28Merge pull request #3664Riccardo Spagni1-23/+22
0299d36e daemon: read config file before reading any other args (stoffu)
2018-04-28Merge pull request #3634Riccardo Spagni2-2/+2
26dc764a device: add a one off override keyword where appropriate (moneromooo-monero)
2018-04-28Merge pull request #3631Riccardo Spagni5-0/+26
fe427170 simplewallet: add version command (moneromooo-monero) 41b95ad4 daemon: add a version command (moneromooo-monero)
2018-04-28Merge pull request #3625Riccardo Spagni1-0/+39
9dc67af1 util: log stack trace on crash (moneromooo-monero)
2018-04-28Merge pull request #3584Riccardo Spagni3-1/+39
7d0505c8 wallet2: increase rpc timeout for get_output_distribution (moneromooo-monero) 96370488 add top height to get_output_distribution, and cache it for rct (moneromooo-monero) bc4d53be rpc: add missing perf timer for get_output_distribution (moneromooo-monero)
2018-04-26Adding required library (dependency of boost::this_thread::sleep_for)Gene Peters1-0/+1
2018-04-26[RELEASE] Fix broken interactive daemon 'limit' commands plus RPC callsrbrunner74-15/+9
2018-04-25epee: Drop deprecated Boost.Thread headerJan Beich2-2/+4
In file included from src/cryptonote_basic/hardfork.cpp:33: In file included from src/blockchain_db/blockchain_db.h:42: In file included from src/cryptonote_basic/hardfork.h:31: contrib/epee/include/syncobj.h:37:10: fatal error: 'boost/thread/v2/thread.hpp' file not found #include <boost/thread/v2/thread.hpp> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/rpc/daemon_handler.cpp:29: In file included from src/rpc/daemon_handler.h:36: In file included from src/p2p/net_node.h:41: In file included from contrib/epee/include/net/levin_server_cp2.h:32: In file included from contrib/epee/include/net/abstract_tcp_server2.h:324: contrib/epee/include/net/abstract_tcp_server2.inl:44:10: fatal error: 'boost/thread/v2/thread.hpp' file not found #include <boost/thread/v2/thread.hpp> // TODO ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ contrib/epee/include/math_helper.h: In member function 'bool epee::math_helper::average<val, default_base>::set_base()': contrib/epee/include/syncobj.h:227:56: error: 'sleep_for' is not a member of 'boost::this_thread' #define CRITICAL_REGION_LOCAL(x) {boost::this_thread::sleep_for(boost::chrono::milliseconds(epee::debug::g_test_dbg_lock_sleep()));} epee::critical_region_t<decltype(x)> critical_region_var(x) ^ contrib/epee/include/syncobj.h:227:56: note: in definition of macro 'CRITICAL_REGION_LOCAL' #define CRITICAL_REGION_LOCAL(x) {boost::this_thread::sleep_for(boost::chrono::milliseconds(epee::debug::g_test_dbg_lock_sleep()));} epee::critical_region_t<decltype(x)> critical_region_var(x) ^~~~~~~~~ contrib/epee/include/syncobj.h:227:56: note: suggested alternative: 'sleep' #define CRITICAL_REGION_LOCAL(x) {boost::this_thread::sleep_for(boost::chrono::milliseconds(epee::debug::g_test_dbg_lock_sleep()));} epee::critical_region_t<decltype(x)> critical_region_var(x) ^ contrib/epee/include/syncobj.h:227:56: note: in definition of macro 'CRITICAL_REGION_LOCAL' #define CRITICAL_REGION_LOCAL(x) {boost::this_thread::sleep_for(boost::chrono::milliseconds(epee::debug::g_test_dbg_lock_sleep()));} epee::critical_region_t<decltype(x)> critical_region_var(x) ^~~~~~~~~
2018-04-25mlog: fix setting no logsmoneromooo-monero1-1/+6
2018-04-24slow-hash: fix memory leak for Windows /karbowanec#41aivve1-1/+1
2018-04-23Build: remove UPnP definition from snapanonimal1-1/+0
2018-04-23Build: update CMake and p2p for in-tree miniupnpanonimal3-49/+13
2018-04-23CMake: update new location of in-tree miniupnpcanonimal2-5/+5
2018-04-23Build: add miniupnp submoduleanonimal2-0/+4
Though we only need miniupnpc, rebasing and maintaining a miniupnpc-only repo is unrealistic.
2018-04-23Only log an error if fork version is higher AND is not known.Thaer Khawaja5-1/+15
2018-04-23import_multisig_info: fix sanity check crash in detach_blockchainMikhail Mitkevichl1-1/+6
2018-04-22speedup 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-22wallet2: add missing parameters to get_output_histogrammoneromooo-monero1-0/+3
2018-04-19Build: remove in-tree miniupnpcanonimal92-12576/+0
Will be replaced by a submodule.
2018-04-19simplewallet: fix help message of sign_transferstoffu1-2/+2
2018-04-19WalletManagerImpl: reuse existing connection to daemon instead of ↵stoffu3-39/+35
reconnectivng every time
2018-04-19daemon: 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-13wallet2: increase rpc timeout for get_output_distributionmoneromooo-monero1-1/+1
2018-04-13add 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-12util: log stack trace on crashmoneromooo-monero1-0/+39
2018-04-12rpc: add missing perf timer for get_output_distributionmoneromooo-monero1-0/+1
2018-04-12Merge pull request #3619Riccardo Spagni1-1/+2
3edef51d blockchain_blackball: fix build with CLANG 5 (moneromooo-monero)
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-12Merge pull request #3550Riccardo Spagni3-29/+58
58f66073 wallet2: request transactions in slices when scanning for known rings (moneromooo-monero) 2897c269 rpc: allow getting pruned blocks from gettransactions (moneromooo-monero)
2018-04-12Merge pull request #3607Riccardo Spagni1-0/+12
5eeeec39 wallet2: store subaddress lookahead settings (stoffu)
2018-04-12Merge pull request #3610Riccardo Spagni1-17/+26
178c11f4 tx_pool: fix loading with colliding key images (moneromooo-monero)
2018-04-12Merge pull request #3601Riccardo Spagni2-2/+5
91a61fea common: make this build with unbound 1.4.20 (moneromooo-monero)
2018-04-12Merge pull request #3574Riccardo Spagni1-9/+9
cdf9ecfd wallet2: fix misc issues when the ringdb can't be initialized (moneromooo-monero)
2018-04-12Merge pull request #3556Riccardo Spagni1-1/+1
d400b4d3 wallet2: move segregation height to v7 (moneromooo-monero)
2018-04-12Merge pull request #3535Riccardo Spagni3-0/+30
4c6ff21c wallet: warn if not using the default ring size (moneromooo-monero)
2018-04-12Merge pull request #3533Riccardo Spagni1-1/+1
2012cbe9 simplewallet: warn about key reuse on startup (moneromooo-monero)
2018-04-12Merge pull request #3531Riccardo Spagni1-2/+3
eb59f7c5 cryptonote_tx_util: make destinations properly shuffled (stoffu)
2018-04-12Merge pull request #3515Riccardo Spagni1-1/+1
89250054 wallet: fix default mixin (4 -> 6) (sneurlax)
2018-04-12Merge pull request #3591Riccardo Spagni6-7/+37
8daba22f Use 'boost' mutex instead of 'std' mutex (cslashm) d481410b Fix sub-address tx scan. (cslashm)
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-11wallet2: store subaddress lookahead settingsstoffu1-0/+12
2018-04-10common: make this build with unbound 1.4.20moneromooo-monero2-2/+5
Common on currently used distros
2018-04-10Use 'boost' mutex instead of 'std' mutexcslashm1-4/+4
2018-04-09Fix 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-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-06wallet2: fix misc issues when the ringdb can't be initializedmoneromooo-monero1-9/+9
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-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-29Merge pull request #3512Riccardo Spagni1-2/+6
a71e4dab device: fix endianess dependence on subaddress secret key generation (moneromooo-monero)
2018-03-29Merge pull request #3503Riccardo Spagni5-7/+7
8ff2cc75 fix lambda compile error on openbsd (moneromooo-monero)
2018-03-29Merge pull request #3478Riccardo Spagni8-473/+413
0f3ff8ce Add the possibility to export private view key for fast scan. (cslashm) da5de484 Change mutex lock model to avoid dead lock and ensure locks are always released. (cslashm) 4c0545cc Automatic height setup when creating/restoring hw device. (cslashm)
2018-03-28wallet: fix default mixin (4 -> 6)sneurlax1-1/+1
2018-03-28Add 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-28Change 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-28Automatic 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-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-24Merge pull request #3493v0.12.0.0Riccardo Spagni1-1/+1
32bd639b update block hashes for checkpoints.dat (Riccardo Spagni)
2018-03-24update block hashes for checkpoints.datRiccardo Spagni1-1/+1
2018-03-23Merge pull request #3486Riccardo Spagni1-1/+1
1834127c rpc: make get_output_distribution a non-restricted RPC (moneromooo-monero)
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-22Merge pull request #3474Riccardo Spagni1-5/+6
eaa8bfe7 wallet2: set from_height of GET_OUTPUT_DISTRIBUTION correctly The previous expression (stoffu) 0a619f78 wallet2: enable the mitigation only after the fork height (stoffu)
2018-03-22Merge pull request #3472Riccardo Spagni1-3/+3
5f664793 p2p: correct port number for seed nodes (stoffu)
2018-03-22Merge pull request #3469Riccardo Spagni1-0/+9
0098ed33 wallet2: fix for loading settings of key reuse mitigation (stoffu)
2018-03-22Merge pull request #3467Riccardo Spagni2-3/+5
1d79c14d Revert bb19386b (Howard Chu) 522be96f Fix generating version.cpp (Howard Chu)
2018-03-22Merge pull request #3465Riccardo Spagni1-3/+4
e520cc06 change wording in hard fork description section (Gingeropolous)
2018-03-22Merge pull request #3462Riccardo Spagni3-20/+48
57300491 wallet: catch exceptions dealing with ringdb and warn (moneromooo-monero)
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-21Revert bb19386bHoward Chu1-1/+1
The requirement for CMake 3.2.0 was introduced erroneously in commit e29282d2081709e126b1fb67f49e9d4a666794da and is no longer present
2018-03-21Fix generating version.cppHoward Chu1-2/+4
Also removes BYPRODUCT dependency on CMake 3.2
2018-03-21change wording in hard fork description sectionGingeropolous1-3/+4
changed wording in hard fork section because reasons. Added prospective slot of next hardfork to communicate that more are coming because it never stops. its everywhere and all at the same time.
2018-03-21wallet: catch exceptions dealing with ringdb and warnmoneromooo-monero3-20/+48
2018-03-19Merge pull request #3441Riccardo Spagni2-2/+4
d4d1afd6 core: fix use of uninitialised data (moneromooo-monero)
2018-03-19Merge pull request #3432Riccardo Spagni1-0/+10
bb07d8d7 README: add instructions for cloning / submodules (anonimal)
2018-03-18core: fix use of uninitialised datamoneromooo-monero2-2/+4
2018-03-18README: add instructions for cloning / submodulesanonimal1-0/+10
2018-03-18Merge pull request #3429Riccardo Spagni3-2/+4
428fb45f update checkpoints (Riccardo Spagni) 3fedd51d update checkpoints.dat to block 1532400 (Riccardo Spagni) 83dbc5be update version to 0.12 Lithium Luna (Riccardo Spagni)
2018-03-18Merge pull request #2133Riccardo Spagni421-225533/+4
efe70a15 Unbound: add git submodule for unbound (anonimal) 84c5a9ba Unbound: remove unbound from in-tree source (anonimal)
2018-03-18Unbound: add git submodule for unboundanonimal2-0/+4
2018-03-18Unbound: remove unbound from in-tree sourceanonimal419-225533/+0
We'll instead use a git submodule to pull from our unbound repo.
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-18Merge pull request #3426Riccardo Spagni18-26/+70
8ea3c4d5 simplewallet: new --use-english-language-names flag (moneromooo-monero)
2018-03-18Merge pull request #3419Riccardo Spagni4-9/+87
1e393f4b wallet: make the segregation height settable (moneromooo-monero)
2018-03-18Merge pull request #3424Riccardo Spagni2-3/+3
bb20f104 Move v7 fork to 1546000 to give more update time (moneromooo-monero)
2018-03-18Move v7 fork to 1546000 to give more update timemoneromooo-monero2-3/+3
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-17Merge pull request #3421Riccardo Spagni1-0/+1
9732a37e wallet_rpc_server: add sweep_unmixable as alias for sweep_dust (moneromooo-monero)
2018-03-17Merge pull request #3418Riccardo Spagni1-1/+2
20a00266 blockchain: forbid bulletproof types before v8 (moneromooo-monero)
2018-03-17Merge pull request #3412Riccardo Spagni3-1/+84
b86f1e5d Add command line option allowing to restrict the default sub-address lookahead in order to avoid so looooong time of set-up when creating a HW based wallet. (stoffu)
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-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)