aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-11-27utils: initialize easylogging++ in on_startupmoneromooo-monero1-0/+2
It will be reinitialized later once we know about log file and other command line configuration
2017-11-27use memwipe in a few relevant placesmoneromooo-monero2-4/+8
2017-11-27add a memwipe functionmoneromooo-monero3-0/+153
It's meant to avoid being optimized out memory_cleanse lifted from bitcoin
2017-11-25Merge pull request #2827Riccardo Spagni2-2/+7
fdf0acbf Tools, daemonizer: fix building on Windows (iDunk5400)
2017-11-25Merge pull request #2825Riccardo Spagni1-1/+1
ac5cd865 simplewallet: fix typo in incoming monero message (moneromooo-monero)
2017-11-25Merge pull request #2824Riccardo Spagni13-39/+102
51895fd7 split wallet and wallet_api (moneromooo-monero)
2017-11-25Merge pull request #2823Riccardo Spagni3-27/+47
0d149f70 Add out-of-bound exceptions and handle them in RPC (Michał Sałaban)
2017-11-25Merge pull request #2822Riccardo Spagni1-1/+1
93c33985 simplewallet: translate ring size 0 to mixin 0 (default values) (moneromooo-monero)
2017-11-25Merge pull request #2807Riccardo Spagni2-2/+2
61712384 daemon & simplewallet: don't set max-concurrency when unspecified (stoffu)
2017-11-25Merge pull request #2806Riccardo Spagni1-1/+3
da706b61 Fix false GCC warning '‘*((void*)& subaddr_account +4)’ may be used unitialized' (binaryFate)
2017-11-25Merge pull request #2800Riccardo Spagni1-102/+94
0b726be7 wallet2: minimize the number of construct_tx calls (moneromooo-monero) 9d505d26 wallet2: cleanup some debug logs (moneromooo-monero)
2017-11-25Merge pull request #2797Riccardo Spagni1-10/+14
7e387fb1 wallet2: only add a dummy 0 output if there's one output otherwise (moneromooo-monero)
2017-11-25Merge pull request #2796Riccardo Spagni1-5/+7
b42ee213 Wallet: update ring size in outdated error msgs with set_default_ring_size (binaryFate)
2017-11-25Merge pull request #2784Riccardo Spagni2-4/+4
54a4c1cb cryptonote: do not overwrite const data (moneromooo-monero)
2017-11-25Merge pull request #2368Riccardo Spagni10-0/+473
b0b7e0f0 Spend proof without txkey (stoffu)
2017-11-25Merge pull request #2794Riccardo Spagni4-0/+38
43f27c7d core: warn when free disk space is low (moneromooo-monero)
2017-11-25Merge pull request #2792Riccardo Spagni1-5/+107
47c0948a Implement missing miner functions on FreeBSD (Vasil Dimov) fdb5bd16 Remove unused variables and fix typos in comments (Vasil Dimov)
2017-11-25Merge pull request #2788Riccardo Spagni8-3/+302
9739da1e wallet_rpc_server: new relay_tx command (moneromooo-monero) 01dc8297 wallet: transfer RPC can now return tx metadata (pending_tx) (moneromooo-monero) 83fa9047 serialization: add std::set and std::unordered_set serialization (moneromooo-monero)
2017-11-25Merge pull request #2785Riccardo Spagni2-19/+80
2d1ccc1b mnemonics: support for arbitrary (if multiple of 4 bytes) length data (moneromooo-monero)
2017-11-24wallet_rpc_server: new relay_tx commandmoneromooo-monero4-0/+72
It takes a full tx+metadata hex string as input
2017-11-24wallet: transfer RPC can now return tx metadata (pending_tx)moneromooo-monero4-3/+100
2017-11-24serialization: add std::set and std::unordered_set serializationmoneromooo-monero2-0/+130
2017-11-22cryptonote: do not overwrite const datamoneromooo-monero2-4/+4
2017-11-21Spend proof without txkeystoffu10-0/+473
2017-11-21fix for tx proof: use exception instead of error_str when signature gen failedstoffu7-36/+14
2017-11-20Merge pull request #2783Riccardo Spagni1-0/+4
416a7933 Print msg upon success for commands that were silent (binaryFate)
2017-11-20Merge pull request #2768Riccardo Spagni2-5/+10
ef941855 Wallet RPC: Add prompt-for-password flag (Tim L)
2017-11-18Tx proof (revised):stoffu13-527/+871
- refactoring: proof generation/checking code was moved from simplewallet.cpp to wallet2.cpp - allow an arbitrary message to be signed together with txid - introduce two types (outbound & inbound) of tx proofs; with the same syntax, inbound is selected when <address> belongs to this wallet, outbound otherwise. see GitHub thread for more discussion - wallet RPC: added get_tx_key, check_tx_key, get_tx_proof, check_tx_proof - wallet API: moved WalletManagerImpl::checkPayment to Wallet::checkTxKey, added Wallet::getTxProof/checkTxProof - get_tx_key/check_tx_key: handle additional tx keys by concatenating them into a single string
2017-11-16split wallet and wallet_apimoneromooo-monero13-39/+102
This speeds up building a lot when wallet2.h (or something it includes) changes, since all the API includes wallet2.h
2017-11-16daemon & simplewallet: don't set max-concurrency when unspecifiedstoffu2-2/+2
2017-11-15Tools, daemonizer: fix building on WindowsiDunk54002-2/+7
2017-11-15Wallet RPC: Add prompt-for-password flagTim L2-5/+10
2017-11-15wallet2: minimize the number of construct_tx callsmoneromooo-monero1-95/+90
2017-11-15wallet2: cleanup some debug logsmoneromooo-monero1-7/+4
2017-11-15simplewallet: fix typo in incoming monero messagemoneromooo-monero1-1/+1
2017-11-15Add out-of-bound exceptions and handle them in RPCMichał Sałaban3-27/+47
2017-11-15simplewallet: translate ring size 0 to mixin 0 (default values)moneromooo-monero1-1/+1
Avoids turning it to a huge number
2017-11-15simplewallet: wrong ns for input_line in sweep_single (fix #2634)stoffu3-4/+3
2017-11-15Merge pull request #2778Riccardo Spagni1-9/+8
c957795b fix output_stream_header memory leak (MaxXor)
2017-11-15Merge pull request #2773Riccardo Spagni1-13/+12
ffe5b857 Correct totals computation (Michał Sałaban)
2017-11-15Merge pull request #2772Riccardo Spagni1-1/+1
5d92c7cc wallet2: typo fix in error message (moneromooo-monero)
2017-11-15Merge pull request #2771Riccardo Spagni2-4/+16
e3e838d0 kaccak: remove unused return value (moneromooo-monero) 4877aca2 keccak: some paranoid "can't happen" checks (moneromooo-monero)
2017-11-15Merge pull request #2634Riccardo Spagni7-0/+438
b738f4b5 wallet: add sweep_single command (stoffu)
2017-11-15Merge pull request #2628Riccardo Spagni1-42/+19
7cb303a4 wallet2: simplify incoming tx processing code (moneromooo-monero)
2017-11-15wallet: add sweep_single commandstoffu7-0/+438
2017-11-15wallet2 bugfix: loading old m_unconfirmed_paymentsstoffu1-3/+2
2017-11-14More missed readline dependencies thru scoped_message_writerHoward Chu2-5/+2
2017-11-14Fix 383ff4f68943c5d998fba8caa20aee481583f214Howard Chu1-1/+1
Missed a crypto::null_pkey in PR#2629
2017-11-14Fix e89994e98f85be95d68c7bf471fcadf9aabbc93aHoward Chu1-1/+1
Missed an input_line() change
2017-11-14Fix 437421ce42f1deaa7ec3f28c0c17aff519f1230dHoward Chu1-1/+1
Missing an error argument for an exception
2017-11-14Merge pull request #2789Riccardo Spagni1-1/+1
b0416f07 checkpoints: add a testnet checkpoint at 1000000 (moneromooo-monero)
2017-11-14Merge pull request #2765Riccardo Spagni1-3/+3
fc85d7a9 simplewallet: fix in show_transfer passing wrong arg to wallet2::get_payments etc (stoffu)
2017-11-14CMake: include RPC when building GUI depsanonimal1-33/+30
2017-11-14Merge pull request #2692Riccardo Spagni2-136/+2
0f2c2d4c rpc: remove obsolete busy core checks (moneromooo-monero)
2017-11-14Merge pull request #2739Riccardo Spagni1-10/+17
99f398a2 wallet2: avoid growing the short history when refreshing in a loop (moneromooo-monero)
2017-11-14Merge pull request #2736Riccardo Spagni23-290/+312
0d9c0db9 Do not build against epee_readline if it was not built (Howard Chu) 178014c9 split off readline code into epee_readline (moneromooo-monero) a9e14a19 link against readline only for monerod and wallet-wallet-{rpc,cli} (moneromooo-monero) 437421ce wallet: move some scoped_message_writer calls from the libs (moneromooo-monero) e89994e9 wallet: rejig to avoid prompting in wallet2 (moneromooo-monero) ec5135e5 move input_line from command_line to simplewallet (moneromooo-monero) 082db75f move cryptonote command line options to cryptonote_core (moneromooo-monero)
2017-11-14Merge pull request #2644Riccardo Spagni3-1/+10
a17efcb0 make this build on SunOS/Solaris (Pavel Maryanov)
2017-11-14Merge pull request #2636Riccardo Spagni1-338/+101
ad03f778 simplewallet: factor transfer related exception handling (moneromooo-monero)
2017-11-14Merge pull request #2629Riccardo Spagni19-45/+42
383ff4f6 remove "using namespace std" from headers (moneromooo-monero)
2017-11-14rpc: remove obsolete busy core checksmoneromooo-monero2-136/+2
2017-11-14wallet2: avoid growing the short history when refreshing in a loopmoneromooo-monero1-10/+17
2017-11-14Do not build against epee_readline if it was not builtHoward Chu3-3/+3
2017-11-14split off readline code into epee_readlinemoneromooo-monero3-0/+5
2017-11-14link against readline only for monerod and wallet-wallet-{rpc,cli}moneromooo-monero2-0/+2
2017-11-14wallet: move some scoped_message_writer calls from the libsmoneromooo-monero6-86/+86
2017-11-14wallet: rejig to avoid prompting in wallet2moneromooo-monero8-78/+97
wallet2 is a library, and should not prompt for stdin. Instead, pass a function so simplewallet can prompt on stdin, and a GUI might display a window, etc.
2017-11-14move input_line from command_line to simplewalletmoneromooo-monero3-20/+13
It was only used there, and this removes one part of the common dependency on libreadline
2017-11-14move cryptonote command line options to cryptonote_coremoneromooo-monero10-108/+111
Those have no reason to be in a generic module
2017-11-14make this build on SunOS/SolarisPavel Maryanov3-1/+10
2017-11-14simplewallet: factor transfer related exception handlingmoneromooo-monero1-338/+101
This ensures they don't go out of sync when adding/changing them, and makes the code easier to deal with.
2017-11-14remove "using namespace std" from headersmoneromooo-monero19-45/+42
It's nasty, and actually breaks on Solaris, where if.h fails to build due to: struct map *if_memmap;
2017-11-15simplewallet: fix in show_transfer passing wrong arg to ↵stoffu1-3/+3
wallet2::get_payments etc
2017-11-14Merge pull request #2756Riccardo Spagni4-0/+0
0bf09154 Fix file permission issue (Tim L)
2017-11-14Merge pull request #2755Riccardo Spagni1-2/+2
d70515fc Used declared default refresh status as default rather than it's current value (Maxime THIEBAUT)
2017-11-14Merge pull request #2753Riccardo Spagni2-0/+4
fa514082 RPC: get_info add rpc_connections_count (Tim L)
2017-11-14Merge pull request #2752Riccardo Spagni1-1/+1
68c01782 updates: add a special case for "install-" build tags on windows (moneromooo-monero)
2017-11-14Merge pull request #2750Riccardo Spagni1-6/+6
424852a6 Fix 'sweep_all' command when called with no args (Leon Klingele)
2017-11-14Merge pull request #2749Riccardo Spagni1-4/+0
f732e723 Disguise password length in prompt (Leon Klingele)
2017-11-14Merge pull request #2747Riccardo Spagni1-2/+3
37e1fd94 simplewallet: mark the active account in print_accounts (moneromooo-monero)
2017-11-14Merge pull request #2745Riccardo Spagni3-3/+0
6cf33446 Remove wallet dependency on p2p (moneromooo-monero)
2017-11-14Merge pull request #2742Riccardo Spagni2-2/+8
7c7d3672 Increase LMDB maxreaders if large number of threads in use (Howard Chu) 6738753b Use max_concurrency as-is (Howard Chu)
2017-11-14Merge pull request #2738Riccardo Spagni1-0/+57
4a17f0c2 rpc: add performance timers (moneromooo-monero)
2017-11-14Merge pull request #2735Riccardo Spagni2-1/+4
a524b750 rpc: added miner_tx_hash to resp of getblock (stoffu)
2017-11-14Merge pull request #2727Riccardo Spagni1-1/+14
9d6c6c5d wallet2: do not bother downloading block hashes below last checkpoint (moneromooo-monero)
2017-11-14wallet2: simplify incoming tx processing codemoneromooo-monero1-42/+19
2017-11-14Merge pull request #2624Riccardo Spagni4-16/+39
2677ade5 simplewallet: forbid 0 ring size (moneromooo-monero) da8b60cb simplewallet: reject attempts to use too low mixin early (moneromooo-monero)
2017-11-14Merge pull request #2701Riccardo Spagni2-2/+4
867b67c4 Wallet API: override update subdir when built from src (Jaquee)
2017-11-14Merge pull request #2697Riccardo Spagni2-24/+49
d269bff2 wallet2: use a vector, not a list, for selected_transfers (moneromooo-monero)
2017-11-14Merge pull request #2696Riccardo Spagni1-0/+7
937e7f8a Initialize openssl on startup (moneromooo-monero)
2017-11-14simplewallet: forbid 0 ring sizemoneromooo-monero1-0/+10
It'd be interpreted as a huge one (~0 fake outs)
2017-11-14simplewallet: reject attempts to use too low mixin earlymoneromooo-monero4-16/+29
This yields a clear error message rather then some possibly confusing more technical errors down the line
2017-11-14Merge pull request #2685Riccardo Spagni1-3/+6
1ff638e9 protocol: drop connections which don't handshake after some time (moneromooo-monero)
2017-11-14Merge pull request #2683Riccardo Spagni3-26/+95
105425b7 simplewallet: reject invalid argument for boolean parameter (stoffu)
2017-11-14Merge pull request #2682Riccardo Spagni1-2/+2
8ddcf1e7 simplewallet: remove XMR mentions (moneromooo-monero)
2017-11-14Merge pull request #2681Riccardo Spagni1-7/+1
ec48e8d8 core: do not forbid txes without destination (moneromooo-monero) 523084bc core: don't add empty additional pub keys field to extra (moneromooo-monero)
2017-11-14Merge pull request #2675Riccardo Spagni1-6/+11
00cc1fdd subaddress: remove unneeded scalarmultBase (kenshi84)
2017-11-14Merge pull request #2661Riccardo Spagni1-5/+21
ac4018a7 wallet2: workaround for lightwallet before supporting subaddress (followup #2656) (kenshi84)
2017-11-14Merge pull request #2651Riccardo Spagni1-1/+1
118a1bed rpc: make get_coinbase_tx_sum a restricted RPC (moneromooo-monero)
2017-11-14Merge pull request #2633Riccardo Spagni3-5/+38
ad96c478 wallet-cli: added --generate-from-spend-key option (stoffu)
2017-11-14Merge pull request #2620Riccardo Spagni1-1/+2
6bd4dac6 util: ignore SIGPIPE (moneromooo-monero)
2017-11-14Merge pull request #2617Riccardo Spagni1-1/+1
7dbf76d0 Fix an object lifetime bug in net load tests (moneromooo-monero)
2017-11-14Merge pull request #2615Riccardo Spagni12-73/+138
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-14core: warn when free disk space is lowmoneromooo-monero4-1/+39
2017-11-14Fix false GCC warning '‘*((void*)& subaddr_account +4)’ may be used ↵binaryFate1-1/+3
unitialized'
2017-11-14simplewallet: reject invalid argument for boolean parameterstoffu3-26/+95
2017-11-14rpc: added miner_tx_hash to resp of getblockstoffu2-1/+4
2017-11-14wallet-cli: added --generate-from-spend-key optionstoffu3-5/+38
2017-11-13wallet2: use a vector, not a list, for selected_transfersmoneromooo-monero2-24/+49
Friendlier on memory/speed, we know in advance the max amount of items, which are small and constant size, and there's a lot of list walking involved.
2017-11-13wallet2: only add a dummy 0 output if there's one output otherwisemoneromooo-monero1-10/+14
2017-11-13Wallet: update ring size in outdated error msgs with set_default_ring_sizebinaryFate1-5/+7
2017-11-11Implement missing miner functions on FreeBSDVasil Dimov1-1/+105
cryptonote::miner::get_system_times(): Fetch the system's total and idle time using sysctl kern.cp_time. cryptonote::miner::get_process_time(): Use the same implementation as Linux and OSX, the times(3) function conforms to POSIX.1 and is available on FreeBSD. cryptonote::miner::on_battery_power(): Try to fetch the battery status using sysctl hw.acpi.acline. If that fails (if ACPI is not enabled on the system), then try querying /dev/apm.
2017-11-11Remove unused variables and fix typos in commentsVasil Dimov1-4/+2
2017-11-11kaccak: remove unused return valuemoneromooo-monero2-4/+2
2017-11-11checkpoints: add a testnet checkpoint at 1000000moneromooo-monero1-1/+1
Makes working on testnet a lot easier (much less I/O when loading and saving wallets, and exercises the hashchain code before any changes are merged)
2017-11-10Print msg upon success for commands that were silentbinaryFate1-0/+4
2017-11-09Merge pull request #2694Riccardo Spagni2-75/+16
11e0deef cmake: add dep of version lib on version.cpp (redfish) 35340259 .gitignore: do not ignore cmake source files (redfish)
2017-11-09mnemonics: support for arbitrary (if multiple of 4 bytes) length datamoneromooo-monero2-19/+80
2017-11-08fix output_stream_header memory leakMaxXor1-9/+8
2017-11-08Protect node privacy by proper filtering in restricted-mode RPC answersbinaryFate12-73/+138
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-08Correct totals computationMichał Sałaban1-13/+12
2017-11-07RPC: get_info add rpc_connections_countTim L2-1/+5
2017-11-07wallet2: typo fix in error messagemoneromooo-monero1-1/+1
2017-11-07keccak: some paranoid "can't happen" checksmoneromooo-monero1-0/+14
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 #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-03Fix file permission issueTim L4-0/+0
This branch fixes a file permission issue introduced by https://github.com/monero-project/monero/commit/69c37200aa87f100f731e755bdca7a0dc6ae820a
2017-11-03Used declared default refresh status as default rather than it's current valueMaxime THIEBAUT1-2/+2
2017-11-03Merge pull request #2662Riccardo Spagni2-7/+7
88ebfd64 core_tests: fix for subaddress patch (kenshi84) e373a203 performance_tests: add master spend pubkey to subaddress hashtable (kenshi84)
2017-11-03updates: add a special case for "install-" build tags on windowsmoneromooo-monero1-1/+1
Those will have a ".exe" file extension, not .zip.
2017-11-03Fix 'sweep_all' command when called with no argsLeon Klingele1-6/+6
Executing 'sweep_all' with no arguments segfaulted before.
2017-11-03Disguise password length in promptLeon Klingele1-4/+0
2017-11-02simplewallet: mark the active account in print_accountsmoneromooo-monero1-2/+3
2017-11-02Increase LMDB maxreaders if large number of threads in useHoward Chu1-0/+6
2017-11-02Use max_concurrency as-isHoward Chu1-2/+2
Don't try to 2nd guess user
2017-11-02Remove wallet dependency on p2pmoneromooo-monero3-3/+0
2017-11-01Merge pull request #2703Riccardo Spagni5-25/+24
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 #2723Riccardo Spagni4-2/+22
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 #2660Riccardo Spagni1-1/+1
4dd05a2f subaddress: change prefix so that it starts with 8 (kenshi84)
2017-10-31wallet2: do not bother downloading block hashes below last checkpointmoneromooo-monero1-1/+14
2017-10-30RPC Add cross origin resource sharing supportTim L4-2/+22
2017-10-30rpc: add performance timersmoneromooo-monero1-0/+57
Enable with perf:DEBUG
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-29Wallet2: Don't throw when subaddress label doesn't existJaquee2-11/+11
2017-10-29Wallet API: override update subdir when built from srcJaquee2-2/+4
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-22protocol: drop connections which don't handshake after some timemoneromooo-monero1-3/+6
2017-10-22Wallet API: default values for account and subaddr indexJaquee3-14/+13
2017-10-21Initialize openssl on startupmoneromooo-monero1-0/+7
2017-10-20cmake: add dep of version lib on version.cppredfish2-75/+16
Also, move cmake source files into cmake/ to keep them together.
2017-10-19simplewallet: remove XMR mentionsmoneromooo-monero1-2/+2
They are actually wrong if the wallet is setup in a different denomination, and it's incursion of extrinsic lingo where monero fits perfectly in the first place.
2017-10-19core: do not forbid txes without destinationmoneromooo-monero1-6/+0
This was spuriously forbidden in the recent subaddress patch, which isn't inherently incompatible with these.
2017-10-19core: don't add empty additional pub keys field to extramoneromooo-monero1-1/+1
Saves a couple bytes per tx
2017-10-18subaddress: remove unneeded scalarmultBasekenshi841-6/+11
2017-10-17core_tests: fix for subaddress patchkenshi842-7/+7
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-16wallet2: workaround for lightwallet before supporting subaddress (followup ↵kenshi841-5/+21
#2656)
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-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 #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 Spagni1-0/+5
2051f89f cmake: build tests last (redfish)
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 Spagni1-7/+7
bc1b9333 frob level 1 logs a bit for consistency (moneromooo-monero)
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 Spagni1-2/+2
27fdaaa4 Fix building with -DARCH=default -DNO_AES=ON (moneromooo-monero)
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)