aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-11-14Merge pull request #2617Riccardo Spagni10-16/+45
7dbf76d0 Fix an object lifetime bug in net load tests (moneromooo-monero)
2017-11-14Merge pull request #2615Riccardo Spagni13-75/+140
10013e94 Protect node privacy by proper filtering in restricted-mode RPC answers (binaryFate)
2017-11-14Merge pull request #2509Riccardo Spagni16-62/+216
ccf53a56 track double spending in the txpool (moneromooo-monero)
2017-11-14Merge pull request #2805Riccardo Spagni1-0/+62
78cf010e Add stoffu's GPG key (stoffu)
2017-11-14Add stoffu's GPG keystoffu1-0/+62
2017-11-09Merge pull request #2694Riccardo Spagni5-16/+17
11e0deef cmake: add dep of version lib on version.cpp (redfish) 35340259 .gitignore: do not ignore cmake source files (redfish)
2017-11-08Protect node privacy by proper filtering in restricted-mode RPC answersbinaryFate13-75/+140
This patch allows to filter out sensitive information for queries that rely on the pool state, when running in restricted mode. This filtering is only applied to data sent back to RPC queries. Results of inline commands typed locally in the daemon are not affected. In practice, when running with `--restricted-rpc`: * get_transaction_pool will list relayed transactions with the fields "last relayed time" and "received time" set to zero. * get_transaction_pool will not list transaction that have do_not_relay set to true, and will not list key images that are used only for such transactions * get_transaction_pool_hashes.bin will not list such transaction * get_transaction_pool_stats will not count such transactions in any of the aggregated values that are computed The implementation does not make filtering the default, so developers should be mindful of this if they add new RPC functionality. Fixes #2590.
2017-11-07Merge pull request #2764Riccardo Spagni1-4/+4
37c3792b wallet2 bugfix: supply missing subaddr_account arg to balance() and unlocked balance() (stoffu)
2017-11-06wallet2 bugfix: supply missing subaddr_account arg to balance() and unlocked ↵stoffu1-4/+4
balance()
2017-11-06track double spending in the txpoolmoneromooo-monero16-62/+216
Transactions in the txpool are marked when another transaction is seen double spending one or more of its inputs. This is then exposed wherever appropriate. Note that being marked with this "double spend seen" flag does NOT mean this transaction IS a double spend and will never be mined: it just means that the network has seen at least another transaction spending at least one of the same inputs, so care should be taken to wait for a few confirmations before acting upon that transaction (ie, mostly of use for merchants wanting to accept unconfirmed transactions).
2017-11-06Merge pull request #2605Riccardo Spagni7-1/+163
b370ef54 Wallet: Descriptions through new commands 'set_description', 'get_description' (rbrunner7)
2017-11-06Merge pull request #2595Riccardo Spagni1-15/+23
8041b4e9 wallet-cli: allow priority argument for sweep_all and donate (stoffu)
2017-11-06Merge pull request #2591Riccardo Spagni4-22/+43
93ad1f87 Fix #2559: more flexible print_tx daemon command (binaryFate)
2017-11-06Merge pull request #2546Riccardo Spagni5-14/+96
b2d416f2 Distinguish "not enough money" and "not enough unlocked money" (binaryFate)
2017-11-06Merge pull request #2483Riccardo Spagni2-0/+145
ff7745bb Edited test readme for accuracy and depth (Cole Lightfighter) c300ae56 Added test documentation & Keccak unit test (Cole Lightfighter) f6119a8e Added test documentation & Keccak unit test (Cole Lightfighter)
2017-11-06Merge pull request #2729Riccardo Spagni1-22/+31
161401dd Fix JSON-RPC response object over ZMQ (Lee Clagett)
2017-11-04wallet-cli: allow priority argument for sweep_all and donatestoffu1-15/+23
2017-11-03Merge pull request #2662Riccardo Spagni10-16/+18
88ebfd64 core_tests: fix for subaddress patch (kenshi84) e373a203 performance_tests: add master spend pubkey to subaddress hashtable (kenshi84)
2017-11-02Merge pull request #2666Riccardo Spagni1-1/+1
8233a24b unit_tests: fix build on windows (moneromooo-monero)
2017-11-01Merge pull request #2689Riccardo Spagni1-0/+8
6a90506a Link against libpgm/libnorm if found, optional libzmq ldependencies (moneromooo-monero)
2017-11-01Merge pull request #2663Riccardo Spagni3-3/+15
4b228dd3 cmake: epee: use var from FindOpenSSL.cmake (redfish) 29497f79 epee: use boost type for SSL error code (redfish)
2017-11-01Merge pull request #2703Riccardo Spagni6-33/+32
d0463312 fix libwallet api test after api change (Jaquee) a46c1eed Wallet2: Don't throw when subaddress label doesn't exist (Jaquee) 086b7db2 Wallet API: default values for account and subaddr index (Jaquee)
2017-10-31Merge pull request #2659Riccardo Spagni1-0/+2
52c13810 blockchain_utilities: Add monero-blockchain-{ex,im}port binaries to default install targets (Bertrand Jacquin)
2017-10-31Merge pull request #2684Riccardo Spagni1-2/+2
66255c0e Problem: Copyright notice is very confusing (Gareth)
2017-10-31Merge pull request #2723Riccardo Spagni10-19/+82
69c37200 RPC Add cross origin resource sharing support (Tim L)
2017-10-31Merge pull request #2711Riccardo Spagni3-96/+100
fab3b722 Add more specific RPC error codes (Michał Sałaban)
2017-10-31Merge pull request #2737Riccardo Spagni1-7/+28
935f7462 blockchain: do not lock the blockchain lock for simple DB getters (moneromooo-monero)
2017-10-31Merge pull request #2718Riccardo Spagni1-2/+2
626e8078 wallet2: fix show_transfers missing multiple incoming outputs (moneromooo-monero)
2017-10-31Merge pull request #2705Riccardo Spagni1-1/+1
44f14638 wallet2: fix tx size estimator for large number of inputs (moneromooo-monero)
2017-10-31Merge pull request #2702Riccardo Spagni1-0/+6
f946bb7b fixed an LMDB issue on OpenBSD (#2699) which leads to a crash in monerod (ston1th)
2017-10-31Merge pull request #2687Riccardo Spagni1-5/+5
969b5a2a net_helper: fix massive slowdown after SSL support (moneromooo-monero)
2017-10-31Merge pull request #2660Riccardo Spagni1-1/+1
4dd05a2f subaddress: change prefix so that it starts with 8 (kenshi84)
2017-10-31Merge pull request #2715Riccardo Spagni1-0/+15
ca87cbd8 wallet2: fix subaddress fields serialization (moneromooo-monero)
2017-10-30RPC Add cross origin resource sharing supportTim L10-19/+82
2017-10-30blockchain: do not lock the blockchain lock for simple DB gettersmoneromooo-monero1-7/+28
It is safe in those cases, though might return slightly out of date information if another thread is busy modifying the blockchain, but it avoids potentially lengthy delays just to get things like the current blockchain height.
2017-10-29fix libwallet api test after api changeJaquee1-8/+8
2017-10-29Wallet2: Don't throw when subaddress label doesn't existJaquee2-11/+11
2017-10-26Fix JSON-RPC response object over ZMQLee Clagett1-22/+31
2017-10-26fixed an LMDB issue on OpenBSD (#2699) which leads to a crash in monerodston1th1-0/+6
2017-10-23wallet2: fix show_transfers missing multiple incoming outputsmoneromooo-monero1-2/+2
2017-10-23wallet2: fix subaddress fields serializationmoneromooo-monero1-0/+15
When loading an older wallet cache, they wouldn't be initialized, leading them to have random(ish) values, and so assigned to some random subaddress.
2017-10-23Add more specific RPC error codesMichał Sałaban3-96/+100
2017-10-22wallet2: fix tx size estimator for large number of inputsmoneromooo-monero1-1/+1
2017-10-22Wallet API: default values for account and subaddr indexJaquee3-14/+13
2017-10-21Link against libpgm/libnorm if found, optional libzmq ldependenciesmoneromooo-monero1-0/+8
2017-10-20cmake: add dep of version lib on version.cppredfish4-15/+17
Also, move cmake source files into cmake/ to keep them together.
2017-10-20.gitignore: do not ignore cmake source filesredfish1-1/+0
2017-10-20net_helper: fix massive slowdown after SSL supportmoneromooo-monero1-5/+5
2017-10-19Problem: Copyright notice is very confusingGareth1-2/+2
Solution: add line break to copyright notice and fix grammar.
2017-10-17cmake: epee: use var from FindOpenSSL.cmakeredfish1-2/+1
This fixes linking when path to openssl is defined manually: cmake -DOPENSSL_ROOT_DIR='/usr/include/openssl-1.0;/usr/lib/openssl-1.0' ... This is useful for building with OpenSSL v1.0 when default system installation is v1.1. The linking error is undefined SSL_load_error_strings symbol. This is due to -L /usr/lib/openssl-1.0 not making it onto the linkline (so -lssl pulls in the default system openssl).
2017-10-17epee: use boost type for SSL error coderedfish2-1/+14
Fixes compile error when building with OpenSSL v1.1: contrib/epee/include/net/net_helper.h: In member function ‘void epee::net_utils::blocked_mode_client::shutdown_ssl()’: contrib/epee/include/net/net_helper.h:579:106: error: ‘SSL_R_SHORT_READ’ was not declared in this scope if (ec.category() == boost::asio::error::get_ssl_category() && ec.value() != ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SHORT_READ)) ^ contrib/epee/include/net/net_helper.h:579:106: note: suggested alternative: ‘SSL_F_SSL_READ’ See boost/asio/ssl/error.hpp. Boost handles differences between OpenSSL versions. cmake: fail if Boost is too old for OpenSSL v1.1
2017-10-17core_tests: fix for subaddress patchkenshi849-16/+17
2017-10-16Wallet: Descriptions through new commands 'set_description', 'get_description'rbrunner77-1/+163
2017-10-16Distinguish "not enough money" and "not enough unlocked money"binaryFate5-14/+96
Fix #1530
2017-10-16unit_tests: fix build on windowsmoneromooo-monero1-1/+1
Reported by iDunk on IRC
2017-10-16performance_tests: add master spend pubkey to subaddress hashtablekenshi841-0/+1
2017-10-16subaddress: change prefix so that it starts with 8kenshi841-1/+1
2017-10-15blockchain_utilities: Add monero-blockchain-{ex,im}port binaries todev/beber/installBertrand Jacquin1-0/+2
default install targets Binaries available to download on https://getmonero.org/downloads/ as embedding monerod, monero-wallet-{cli,rpc} and monero-blockchain-{ex,im}port. This change synchronise download results with a manual build from source
2017-10-15Merge pull request #2601Riccardo Spagni3-4/+4
4d35ad76 Fix compiler warnings with Clang 6.0.0. (Vasil Dimov)
2017-10-15Fix compiler warnings with Clang 6.0.0.Vasil Dimov3-4/+4
monero/src/cryptonote_protocol/block_queue.cpp:208:44: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] static const boost::uuids::uuid uuid0 = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } monero/src/wallet/wallet_rpc_server.cpp:1895:43: error: lambda capture 'wal' is not used [-Werror,-Wunused-lambda-capture] tools::signal_handler::install([&wrpc, &wal](int) { ^ monero/src/cryptonote_protocol/cryptonote_protocol_handler.inl:1616:40: error: lambda capture 'arg' is not used [-Werror,-Wunused-lambda-capture] m_p2p->for_each_connection([this, &arg, &fluffy_arg, &exclude_context, &fullConnections... ^ monero/src/cryptonote_protocol/cryptonote_protocol_handler.inl:1616:46: error: lambda capture 'fluffy_arg' is not used [-Werror,-Wunused-lambda-capture] m_p2p->for_each_connection([this, &arg, &fluffy_arg, &exclude_context, &fullConnections... ^ monero/src/blockchain_utilities/blockchain_export.cpp:181:3: error: bool literal returned from 'main' [-Werror,-Wmain] CHECK_AND_ASSERT_MES(r, false, "Failed to initialize source blockchain storage"); ^ ~~~~~ monero/contrib/epee/include/misc_log_ex.h:180:97: note: expanded from macro 'CHECK_AND_ASSERT_MES' ...fail_ret_val, message) do{if(!(expr)) {LOG_ERROR(message); return fail_ret_val;};}while(0) ^ ~~~~~~~~~~~~ monero/src/blockchain_utilities/blockchain_export.cpp:195:3: error: bool literal returned from 'main' [-Werror,-Wmain] CHECK_AND_ASSERT_MES(r, false, "Failed to export blockchain raw data"); ^ ~~~~~ monero/contrib/epee/include/misc_log_ex.h:180:97: note: expanded from macro 'CHECK_AND_ASSERT_MES' ...fail_ret_val, message) do{if(!(expr)) {LOG_ERROR(message); return fail_ret_val;};}while(0) ^ ~~~~~~~~~~~~
2017-10-15Merge pull request #2658Riccardo Spagni1-1/+4
fddd8d22 performance_tests: fix build after subaddress patch (moneromooo-monero)
2017-10-15performance_tests: fix build after subaddress patchmoneromooo-monero1-1/+4
2017-10-15Merge pull request #2657Riccardo Spagni1-0/+2
52ec0e7f epee: link against ssl/crypto for the new SSL code (moneromooo-monero)
2017-10-15epee: link against ssl/crypto for the new SSL codemoneromooo-monero1-0/+2
2017-10-15Merge pull request #2656Riccardo Spagni2-4/+9
3492de01 fix lightwallet and subaddresses conflict (Jaquee) 329f149e remove reference to cryptonote::null_hash (Jaquee)
2017-10-15fix lightwallet and subaddresses conflictJaquee1-1/+6
2017-10-15remove reference to cryptonote::null_hashJaquee1-3/+3
2017-10-15Merge pull request #2640Riccardo Spagni2-3/+13
22b51e06 db_lmdb: include chain height when failing to find an output key (moneromooo-monero) 5db433b3 blockchain: avoid exceptions in output verification (moneromooo-monero)
2017-10-15Merge pull request #2638Riccardo Spagni1-1/+9
529a6a4a core: guard against a mined block not finding all txes in the pool (moneromooo-monero)
2017-10-15Merge pull request #2613Riccardo Spagni3-9/+13
2051f89f cmake: build tests last (redfish)
2017-10-15Merge pull request #2610Riccardo Spagni2-7/+5
44c1d160 unit_tests: fix compiling on Windows (iDunk5400)
2017-10-15Merge pull request #2608Riccardo Spagni2-10/+23
fe484f30 unit_tests: data dir is now overridden with --data-dir (moneromooo-monero)
2017-10-15Merge pull request #2606Riccardo Spagni2-1/+21
4090e8c6 simplewallet: add get/set for refresh-from-height (moneromooo-monero)
2017-10-15Merge pull request #2604Riccardo Spagni1-3/+10
0a872798 protocol: kick idle peers by dropping them (moneromooo-monero)
2017-10-15Merge pull request #2602Riccardo Spagni4-13/+13
bc1b9333 frob level 1 logs a bit for consistency (moneromooo-monero)
2017-10-15Merge pull request #2600Riccardo Spagni1-1/+4
885c773a cmake: print which stack trace lib is used (redfish)
2017-10-15Merge pull request #2599Riccardo Spagni3-11/+26
b776c725 daemon: use @N syntax to output_histogram for specific amounts (moneromooo-monero)
2017-10-15Merge pull request #2597Riccardo Spagni1-2/+1
c4136134 miner: always update block template when starting (moneromooo-monero)
2017-10-15Merge pull request #2596Riccardo Spagni1-8/+0
06fb9bcf wallet2: fix refresh height calc for new wallets (moneromooo-monero)
2017-10-15Merge pull request #2592Riccardo Spagni2-2/+1
dc19659d Remove network_address_base which has been merged with ipv4_network_address in 8b006877 (Michał Sałaban) 2183ade0 Don't try to create wallet-dir when it's not given, don't crash if wallet-dir already exists. (Michał Sałaban)
2017-10-15Merge pull request #2589Riccardo Spagni5-11/+17
8f0cea63 add a command_line function to check for defaulted options (moneromooo-monero)
2017-10-15Merge pull request #2587Riccardo Spagni1-15/+7
cba34494 rpc: out_peers now works again (moneromooo-monero)
2017-10-15Merge pull request #2586Riccardo Spagni2-32/+46
7b8d3ec6 wallet-cli: add --do-not-relay option (stoffu)
2017-10-15Merge pull request #2583Riccardo Spagni2-3/+7
27fdaaa4 Fix building with -DARCH=default -DNO_AES=ON (moneromooo-monero)
2017-10-15Merge pull request #2582Riccardo Spagni2-0/+46
240f769d tests: add sha256sum unit test (moneromooo-monero)
2017-10-15Merge pull request #2578Riccardo Spagni1-0/+2
e6636577 Add needed dependencies (Emilien Devos)
2017-10-15Merge pull request #2573Riccardo Spagni1-6/+13
7e7acdc3 daemon: catch out of range exceptions too when calling stoll/stoi (moneromooo-monero)
2017-10-15Merge pull request #2571Riccardo Spagni1-2/+1
8028dde7 block_queue: use boost::uuids::nil_uuid where appropriate (moneromooo-monero)
2017-10-15Merge pull request #2570Riccardo Spagni1-2/+2
f139a6ca wallet2: fix backlog being off by 1 (moneromooo-monero)
2017-10-15Merge pull request #2569Riccardo Spagni1-2/+0
b5b4abb8 simplewallet: fix setting default-ring-size to 0 (moneromooo-monero)
2017-10-15Merge pull request #2568Riccardo Spagni8-6/+23
7130cf0c Add tools::on_startup, and warn about glibc 2.25 bug if found (moneromooo-monero)
2017-10-15Merge pull request #2567Riccardo Spagni1-3/+0
54940d8c blockchain_import: remove a few commented out obsolete lines (moneromooo-monero)
2017-10-15Merge pull request #2565Riccardo Spagni2-2/+2
452d4fae tests: fix hashchain unit tests (moneromooo-monero)
2017-10-15Merge pull request #2556Riccardo Spagni1-0/+4
acc186eb README: Add package installation instructions for Void Linux (Helmut Pozimski)
2017-10-15Merge pull request #2109Riccardo Spagni15-123/+1374
97c2e449 wallet2+API: use separate callbacks for lightwallets (Jaquee) d9261867 walletAPI: correct confirmations in txHistory for unsynced wallets (Jaquee) 9442b043 walletAPI: lightwallet exceptions (Jaquee) fc922934 walletAPI: add lightwallet login() and importWalletRequest() (Jaquee) 79207743 walletAPI: init() lightwallet and SSL support (Jaquee) dde5a1fc walletAPI: add tx unlock_time (Jaquee) bba5cbed wallet2: remove obsolete get_num_rct_outputs() call from create_transactions_2 (Jaquee) 7a482f30 wallet2: create_transactions_2 lightwallet support (Jaquee) ce61b818 wallet2: get_outs lightwallet support (Jaquee) 1197cb71 wallet2: commit_tx() lightwallet support (Jaquee) 43b57804 wallet2: refactor is_tx_spendtime_unlocked() (Jaquee) 32e2b003 wallet2: add lightwallet exceptions to common functions (Jaquee) 2e692fc0 wallet2: refresh() lightwallet support (Jaquee) f44d156c my/openmonero API functions (Jaquee) 288d3c75 wallet2: add remove_obsolete_pool_txs() (Jaquee) 2c6aad7e wallet2: add on_pool_tx_removed callback (Jaquee) ff7c30aa wallet2: light wallet member variables (Jaquee) e2a276cb wallet2: add ssl option to init() (Jaquee) a13540be add string_tools::validate_hex() (Jaquee) fd773d88 refactor cryptonote_basic::add_tx_pub_key_to_extra (Jaquee) 8bfa6c2d lightwallet rpc server commands (Jaquee) 76961ddc Serializer: string to integer conversion for MyMonero compatibility (Jaquee) 1cf940f2 epee http_client SSL support (Jaquee) eec10137 CMakeLists.txt - Add openssl include dir (Jaquee)
2017-10-15wallet2+API: use separate callbacks for lightwalletsJaquee3-7/+43
2017-10-15walletAPI: correct confirmations in txHistory for unsynced walletsJaquee1-2/+2
2017-10-15walletAPI: lightwallet exceptionsJaquee1-2/+12
2017-10-15walletAPI: add lightwallet login() and importWalletRequest()Jaquee3-0/+40
2017-10-15walletAPI: init() lightwallet and SSL supportJaquee3-7/+12
2017-10-15walletAPI: add tx unlock_timeJaquee1-4/+0
2017-10-15wallet2: remove obsolete get_num_rct_outputs() call from create_transactions_2Jaquee1-1/+1
2017-10-15wallet2: create_transactions_2 lightwallet supportJaquee1-0/+7
2017-10-15wallet2: get_outs lightwallet supportJaquee2-10/+129
2017-10-15wallet2: commit_tx() lightwallet supportJaquee1-17/+34
2017-10-15wallet2: refactor is_tx_spendtime_unlocked()Jaquee2-3/+9
2017-10-15wallet2: add lightwallet exceptions to common functionsJaquee1-0/+15
2017-10-15wallet2: refresh() lightwallet supportJaquee1-0/+34
2017-10-15my/openmonero API functionsJaquee2-0/+475
2017-10-15wallet2: add remove_obsolete_pool_txs()Jaquee2-22/+31
2017-10-15wallet2: add on_pool_tx_removed callbackJaquee1-0/+1
2017-10-15wallet2: light wallet member variablesJaquee1-1/+15
2017-10-15Merge pull request #2555Riccardo Spagni4-7/+56
a4b4651c dns_utils: allow an optional DNS server IP in DNS_PUBLIC (moneromooo-monero)
2017-10-15Merge pull request #2554Riccardo Spagni3-25/+129
d74336d5 wallet: encrypt (un)signed tx, also optionally save unencrypted raw tx hexstr (stoffu)
2017-10-15wallet2: add ssl option to init()Jaquee2-3/+6
2017-10-15add string_tools::validate_hex()Jaquee1-0/+6
2017-10-15refactor cryptonote_basic::add_tx_pub_key_to_extraJaquee2-3/+15
2017-10-15Merge pull request #2552Riccardo Spagni3-9/+28
69ce33f2 core: fix failure to sync when a tx is already in the pool (moneromooo-monero)
2017-10-15Merge pull request #2550Riccardo Spagni1-3/+3
735fafec simplewallet: allow 1/yes/y as well as true for start_mining options (moneromooo-monero)
2017-10-15Merge pull request #2549Riccardo Spagni1-1/+2
bf2d9113 simplewallet: fix --restore-from-height being ignored (moneromooo-monero)
2017-10-15lightwallet rpc server commandsJaquee1-1/+353
2017-10-15Merge pull request #2538Riccardo Spagni1-1/+1
efb95f96 readme: update Arch/AUR pkg name; post-rebranding (redfish)
2017-10-15Merge pull request #2507Riccardo Spagni1-0/+125
787ff011 add Mishi Choudhary's GPG key (Riccardo Spagni)
2017-10-15Serializer: string to integer conversion for MyMonero compatibilityJaquee1-0/+27
mymonero timestamp conversion
2017-10-15epee http_client SSL supportJaquee4-47/+112
2017-10-15Merge pull request #2528Riccardo Spagni4-3/+1706
551a8ea6 mnemonics: new Lojban word list (Wei Tang)
2017-10-15CMakeLists.txt - Add openssl include dirJaquee1-0/+2
2017-10-15Merge pull request #2469Riccardo Spagni12-12/+182
7adceee6 precomputed block hashes are now in blocks of N (currently 256) (moneromooo-monero)
2017-10-15Merge pull request #2056Riccardo Spagni66-864/+3220
53ad5a0f Subaddresses (kenshi84)
2017-10-14Add tools::on_startup, and warn about glibc 2.25 bug if foundmoneromooo-monero8-6/+23
https://sourceware.org/bugzilla/show_bug.cgi?id=21778
2017-10-12db_lmdb: include chain height when failing to find an output keymoneromooo-monero1-1/+1
To help debugging logs.
2017-10-12blockchain: avoid exceptions in output verificationmoneromooo-monero1-2/+12
This can happen if we get a bad tx, so let's not spam the log.
2017-10-11core: guard against a mined block not finding all txes in the poolmoneromooo-monero1-1/+9
This can happen for several reasons, but mainly if another block was received, which took that tx off the pool.
2017-10-10dns_utils: allow an optional DNS server IP in DNS_PUBLICmoneromooo-monero4-7/+56
tcp://a.b.c.d
2017-10-09Fix an object lifetime bug in net load testsmoneromooo-monero10-16/+45
The commands handler must not be destroyed before the config object, or we'll be accessing freed memory. An earlier attempt at using boost::shared_ptr to control object lifetime turned out to be very invasive, though would be a better solution in theory.
2017-10-08cmake: build tests lastredfish3-9/+13
Keep -Werror for src, contrib and do not pass it for tests/
2017-10-08unit_tests: fix compiling on WindowsiDunk54002-7/+5
2017-10-08Fix #2559: more flexible print_tx daemon commandbinaryFate4-22/+43
2017-10-08unit_tests: data dir is now overridden with --data-dirmoneromooo-monero2-10/+23
rather than a raw string without option
2017-10-08simplewallet: add get/set for refresh-from-heightmoneromooo-monero2-1/+21
2017-10-07protocol: kick idle peers by dropping themmoneromooo-monero1-3/+10
This is safer, as we don't risk break expectations (eg, requesting block hashes and then receiving a late set of blocks). Dropping a connection means another will be attempted in a fresh state. Also bump the kick timeout to 5 minutes, to ensure we only kick really idle peers.
2017-10-07frob level 1 logs a bit for consistencymoneromooo-monero4-13/+13
Level 1 logs map to INFO, so setting log level to 1 should show these. Demote some stuff to DEBUG to avoid spam, though.
2017-10-07Remove network_address_base which has been merged with ipv4_network_address ↵Michał Sałaban1-1/+0
in 8b006877
2017-10-07cmake: print which stack trace lib is usedredfish1-1/+4
To avoid the suprize of stack tracing being enabled but libunwind not being linked in.
2017-10-07daemon: use @N syntax to output_histogram for specific amountsmoneromooo-monero3-11/+26
Makes debugging tx verification easier
2017-10-07miner: always update block template when startingmoneromooo-monero1-2/+1
This fixes using the previous address when starting mining, then stopping and restarting with a different address
2017-10-07wallet2: fix refresh height calc for new walletsmoneromooo-monero1-8/+0
2017-10-07Subaddresseskenshi8466-864/+3220
2017-10-07wallet-cli: add --do-not-relay optionstoffu2-32/+46
2017-10-07wallet: encrypt (un)signed tx, also optionally save unencrypted raw tx hexstrstoffu3-25/+129
2017-10-07Don't try to create wallet-dir when it's not given, don't crash if ↵Michał Sałaban1-1/+1
wallet-dir already exists.
2017-10-06Merge pull request #2548Riccardo Spagni1-0/+1
7d4ef258 rpc: fix getting txpool transactions (moneromooo-monero)
2017-10-06Merge pull request #2542Riccardo Spagni1-1/+1
180a848c wallet2: Missing underflow check on low heights (landergate)
2017-10-06Merge pull request #2541Riccardo Spagni2-1/+3
15e62581 connection_context: initialize m_callback_request_count to 0 (moneromooo-monero) 5fa199c6 copyable_atomic: add a ctor with initial value (moneromooo-monero)
2017-10-06Merge pull request #2540Riccardo Spagni1-1/+1
71c7f8d0 core: fix logging the one time public key on error (moneromooo-monero)
2017-10-06Merge pull request #2539Riccardo Spagni1-1/+10
93ed9321 cmake: add libversion and libcheckpoints to libwallet_merged (redfish)
2017-10-06Merge pull request #2537Riccardo Spagni1-2/+2
269a2a01 blockchain: fix off by one getting blocks (moneromooo-monero)
2017-10-06Merge pull request #2534Riccardo Spagni2-37/+4
4e115a3a core: remove out sorting from v7 rules (moneromooo-monero)
2017-10-06Merge pull request #2530Riccardo Spagni3-5/+5
cbc5508b construct_tx_and_get_tx_key: return sorted sources for print_ring_memebrs to work properly (stoffu)
2017-10-06Merge pull request #2529Riccardo Spagni2-11/+6
bd937139 wallet2: error check for generate_key_image_helper, removed redundant wallet_generate_key_image_helper (stoffu)
2017-10-06Merge pull request #2524Riccardo Spagni1-5/+5
38f2ccbe fix portable binaries build targets (lancillotto)
2017-10-06Merge pull request #2523Riccardo Spagni5-10/+33
540d6fa3 tests: pass data dir as arg (redfish)
2017-10-06Merge pull request #2468Riccardo Spagni4-2/+32
986d03d4 simplewallet: allow to set threshold before warning about tx backlog (selsta)
2017-10-06Merge pull request #2345Riccardo Spagni11-91/+445
8b006877 Upgrades to epee::net_utils::network_address - internal nullptr checks - prevent modifications to network_address (shallow copy issues) - automagically works with any type containing interface functions - removed fnv1a hashing - ipv4_network_address now flattened with no base class (Lee Clagett)
2017-10-06add a command_line function to check for defaulted optionsmoneromooo-monero5-11/+17
2017-10-06Fix building with -DARCH=default -DNO_AES=ONmoneromooo-monero2-3/+7
2017-10-06rpc: out_peers now works againmoneromooo-monero1-15/+7
2017-10-05tests: add sha256sum unit testmoneromooo-monero2-0/+46
2017-10-05Upgrades to epee::net_utils::network_addressLee Clagett11-91/+445
- internal nullptr checks - prevent modifications to network_address (shallow copy issues) - automagically works with any type containing interface functions - removed fnv1a hashing - ipv4_network_address now flattened with no base class
2017-10-04Add needed dependenciesEmilien Devos1-0/+2
2017-10-03daemon: catch out of range exceptions too when calling stoll/stoimoneromooo-monero1-6/+13
And any other exception, just to be safe
2017-10-03block_queue: use boost::uuids::nil_uuid where appropriatemoneromooo-monero1-2/+1
2017-10-03wallet2: fix backlog being off by 1moneromooo-monero1-2/+2
We don't want to count "partly filled" blocks in this case
2017-10-03simplewallet: fix setting default-ring-size to 0moneromooo-monero1-2/+0
It'd be set to the current wallet default instead
2017-10-03blockchain_import: remove a few commented out obsolete linesmoneromooo-monero1-3/+0
2017-10-03tests: fix hashchain unit testsmoneromooo-monero2-2/+2
and relax the not-empty safety check to stay more intuitiuve
2017-10-03wallet2: error check for generate_key_image_helper, removed redundant ↵stoffu2-11/+6
wallet_generate_key_image_helper
2017-10-03construct_tx_and_get_tx_key: return sorted sources for print_ring_memebrs to ↵stoffu3-5/+5
work properly
2017-10-02Merge pull request #2518Riccardo Spagni2-2/+2
6a0fb301 performance_tests: adjust some iterations down a bit (moneromooo-monero)
2017-10-02Merge pull request #2515Riccardo Spagni1-0/+3
c34093db simplewallet: add privacy warning when using an untrusted demon (moneromooo-monero)
2017-10-02Merge pull request #2513Riccardo Spagni2-3/+6
309290d1 Source updates are in a source subdirectory (moneromooo-monero)
2017-10-02Merge pull request #2512Riccardo Spagni10-11/+78
792ba4f0 Log categories can now be added to and removed from (moneromooo-monero) 48f92eb6 easylogging++: add categories getter (moneromooo-monero) f35afe62 epee: factor log level/categories setting (moneromooo-monero)
2017-10-02Merge pull request #2506Riccardo Spagni1-0/+1
c3de19ed json_object: add missing do_not_relay to tx_in_pool serialization (moneromooo-monero)
2017-10-02simplewallet: allow to set threshold before warning about tx backlogselsta4-2/+32
2017-10-02Merge pull request #2504Riccardo Spagni1-6/+15
f182acdd dns_utils: query DNS records in parallel (moneromooo-monero)
2017-10-02Merge pull request #2503Riccardo Spagni1-174/+185
d73162f9 update translation: final changes (lancillotto) 688acacb update translation: typo fix and changes (lancillotto)
2017-10-02Merge pull request #2502Riccardo Spagni1-17/+39
e914153f Include additional instructions for Jessie (Mike C) 7cdb3431 Update Raspberry Pi build instructions (Mike C)
2017-10-02Merge pull request #2495Riccardo Spagni2-6/+47
2540d162 Add -a append option to mdb_load (Howard Chu)
2017-10-02Merge pull request #2491Riccardo Spagni1-7/+20
d5a9edf2 wallet2: fix exception on split txes (moneromooo-monero) 5c5b0fd0 wallet2: print unused indices on a single line (moneromooo-monero)
2017-10-02Merge pull request #2475Riccardo Spagni1-2/+8
f2939bdc epee: keep a ref to a connection we're deleting (moneromooo-monero)
2017-10-02Merge pull request #2470Riccardo Spagni6-52/+218
2e59f6ea rpc: add new RPCs to get and set limits (MaxXor)
2017-10-02Merge pull request #2467Riccardo Spagni1-0/+3
2e82b232 epee: give virtual dtor to network_address_base (moneromooo-monero)
2017-10-02Merge pull request #2561Riccardo Spagni2-2/+30
37c12119 wallet2: fix hash chain trimming when the inner chain becomes empty (moneromooo-monero)
2017-10-02wallet2: fix hash chain trimming when the inner chain becomes emptymoneromooo-monero2-2/+30
It'd prevent further syncing. Recovery of empty hash chains is automatic, but requires a running daemon
2017-10-01Edited test readme for accuracy and depthCole Lightfighter1-122/+61
Removed some erroneous instructions, and added information about different test suites. Signed-off-by: Cole Lightfighter <cole@onicsla.bz>
2017-10-01README: Add package installation instructions for Void LinuxHelmut Pozimski1-0/+4
2017-09-29core: fix failure to sync when a tx is already in the poolmoneromooo-monero3-9/+28
2017-09-29simplewallet: allow 1/yes/y as well as true for start_mining optionsmoneromooo-monero1-3/+3
Also mention those options in the start_mining help line
2017-09-29simplewallet: fix --restore-from-height being ignoredmoneromooo-monero1-1/+2
2017-09-29rpc: fix getting txpool transactionsmoneromooo-monero1-0/+1