aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-07-18update checkpoints.dat hashRiccardo Spagni1-1/+1
2019-07-17prep for 0.14.1.1Riccardo Spagni2-1/+1
2019-07-17Merge pull request #5732Riccardo Spagni2-2/+11
a96c1a46 cryptonote_protocol: drop peers we can't download from when syncing (moneromooo-monero) ab361df2 p2p: add a few missing connection close calls (moneromooo-monero)
2019-07-12Merge pull request #5746luigi11111-0/+5
3140a37 wallet_rpc_server: fix get_bulk_payments with short payment ids (moneromooo-monero)
2019-07-12Merge pull request #5738luigi11111-11/+45
4ee095c p2p: don't connect to more than one IP per class B if we can (moneromooo-monero)
2019-07-12Merge pull request #5724luigi11111-3/+6
c223832 keccak: guard against misaligned memory accesses on ARM (moneromooo-monero)
2019-07-09wallet_rpc_server: fix get_bulk_payments with short payment idsmoneromooo-monero1-0/+5
2019-07-05p2p: don't connect to more than one IP per class B if we canmoneromooo-monero1-11/+45
2019-07-04keccak: guard against misaligned memory accesses on ARMmoneromooo-monero1-3/+6
The code generated is exactly the same as the direct access one on x86_64
2019-07-04cryptonote_protocol: drop peers we can't download from when syncingmoneromooo-monero1-0/+5
Any peer that's behind us while syncing is useless to us (though not to them). This ensures that we don't get our peer slots filled with peers that we can't use. Once we've synced, we can connect to them and they can then sync off us if they want.
2019-07-04p2p: add a few missing connection close callsmoneromooo-monero1-2/+6
2019-07-04Merge pull request #5663luigi11111-1/+1
5d6b43b core: fix --prune-blockchain not pruning if no blockchain exists (moneromooo-monero)
2019-07-04Merge pull request #5650luigi11111-4/+8
3c071d2 blockchain: silence an error getting blocks for pruned nodes (moneromooo-monero)
2019-07-04Merge pull request #5647luigi11111-1/+50
2ff99fb db_lmdb: commit pruning txn at checkpoints (moneromooo-monero)
2019-07-01Merge pull request #5681luigi11111-1/+0
037f94c Remove Xiala.net from the list of dns resolvers (tobtoht)
2019-07-01Merge pull request #5678luigi11111-0/+1
15c699f rpc: set sanity_check_failed to false when successful (stoffu)
2019-07-01Merge pull request #5675luigi11111-1/+1
da3e20e tx_sanity_check: relax the median check a lot (moneromooo-monero)
2019-06-26p2p: don't forget pruning seed or public RPC port when updating peersmoneromooo-monero1-4/+16
Older nodes don't pass that information around
2019-06-21Remove Xiala.net from the list of dns resolverstobtoht1-1/+0
It is down permanently. See: https://xiala.net/ "Ende November 2018 werden alle Dienste von xiala.net abgeschaltet."
2019-06-20rpc: set sanity_check_failed to false when successfulstoffu1-0/+1
2019-06-19tx_sanity_check: relax the median check a lotmoneromooo-monero1-1/+1
we don't want to prevent bona fide txes, just obvious bad ones
2019-06-17core: fix --prune-blockchain not pruning if no blockchain existsmoneromooo-monero1-1/+1
2019-06-16blockchain: silence an error getting blocks for pruned nodesmoneromooo-monero1-4/+8
This happens often when a pre-pruning node asks a pruned node for data it does not have
2019-06-15db_lmdb: commit pruning txn at checkpointsmoneromooo-monero1-1/+50
to avoid errors when the txn is too large
2019-06-14Merge pull request #5641Riccardo Spagni3-1/+2
633f1542 prep for 0.14.1 release (Riccardo Spagni)
2019-06-14prep for 0.14.1 releaseRiccardo Spagni3-1/+2
2019-06-14rpc: restrict the recent cutoff size in restricted RPC modemoneromooo-monero1-0/+9
2019-06-14ensure no NULL is passed to memcpymoneromooo-monero2-3/+4
NULL is valid when size is 0, but memcpy uses nonnull attributes, so let's not poke the bear
2019-06-14serialization: check stream good flag at the endmoneromooo-monero3-6/+6
just in case
2019-06-14tree-hash: allocate variable memory on heap, not stackmoneromooo-monero1-5/+7
Large amounts might run out of stack Reported by guidov
2019-06-14cryptonote: throw on tx hash calculation errormoneromooo-monero1-3/+3
2019-06-14serialization: fail on read_varint errormoneromooo-monero1-1/+2
2019-06-14cryptonote_protocol: fix another potential P2P DoSmoneromooo-monero1-0/+15
When asking for txes in a fluffy transaction, one might ask for the same (large) tx many times
2019-06-14cryptonote_protocol: expand basic DoS protectionmoneromooo-monero2-4/+4
Count transactions as well
2019-06-14cryptonote_protocol_handler: prevent potential DoSanonimal2-0/+12
Essentially, one can send such a large amount of IDs that core exhausts all free memory. This issue can theoretically be exploited using very large CN blockchains, such as Monero. This is a partial fix. Thanks and credit given to CryptoNote author 'cryptozoidberg' for collaboration and the fix. Also thanks to 'moneromooo'. Referencing HackerOne report #506595.
2019-06-11Merge pull request #5619luigi11114-18/+8
f2f207d miner: fix double free of thread attributes (ston1th)
2019-06-09Fix GCC 9.1 build warningsmoneromooo-monero2-0/+15
GCC wants operator= aand copy ctor to be both defined, or neither
2019-06-09miner: fix double free of thread attributesston1th4-18/+8
issue: #5568
2019-06-08p2p: fix GCC 9.1 crashmoneromooo-monero1-4/+6
2019-06-01Merge pull request #5577Riccardo Spagni1-1/+7
f950517a core: update pruning if using --prune-blockchain on a pruned blockchain (moneromooo-monero)
2019-06-01Merge pull request #5571Riccardo Spagni5-14/+54
35da33be blockchain: do not try to pop blocks down to the genesis block (moneromooo-monero) 4b51f9a3 core: do not commit half constructed batch db txn (moneromooo-monero)
2019-06-01Merge pull request #5561Riccardo Spagni14-142/+131
9bfa4c20 Fix allow any cert mode in wallet rpc when configured over rpc (Lee Clagett) 3544596f Add ssl_options support to monerod's rpc mode. (Lee Clagett) c9aaccf3 Fix configuration bug; wallet2 --daemon-ssl-allow-any-cert now works. (Lee Clagett)
2019-06-01Merge pull request #5555Riccardo Spagni1-1/+2
b6830db2 Fix #5553 (Howard Chu)
2019-05-28core: update pruning if using --prune-blockchain on a pruned blockchainmoneromooo-monero1-1/+7
Avoids a massive amount of spurious warnings if the last update before the daemon exited was a while ago and the daemon was syncing
2019-05-26blockchain: do not try to pop blocks down to the genesis blockmoneromooo-monero1-0/+3
2019-05-25core: do not commit half constructed batch db txnmoneromooo-monero5-14/+51
2019-05-22Fix allow any cert mode in wallet rpc when configured over rpcLee Clagett1-1/+5
2019-05-22Add ssl_options support to monerod's rpc mode.Lee Clagett13-140/+122
2019-05-21Fix configuration bug; wallet2 --daemon-ssl-allow-any-cert now works.Lee Clagett1-1/+4
2019-05-19Fix #5553Howard Chu1-1/+2
Make sure the tip hash still matches the cached block
2019-05-16wallet: add unlock_time details to show_transfersmoneromooo-monero5-7/+30
also add a note when receiving the tx, because the user might not notice the "XXX blocks to unlock" in the balance.
2019-05-15Merge pull request #5539Riccardo Spagni1-1/+1
3f612cda Changed odd bullet point to low level header (Rohaq) af9bc4ec Used subeaders to avoid slightly wonky looking formatting (Rohaq) 1873af35 Made code block usage consistent across all .md files (Rohaq) 68103075 Updated Copyright notice (Rohaq) 39bd157f Added Table of Contents to main README.md (Rohaq)
2019-05-15Merge pull request #5535Riccardo Spagni1-5/+1
e1016bce password: do not use line input on windows (moneromooo-monero)
2019-05-14Merge pull request #5538luigi11112-2/+2
615f287 wallet: fix certificate fingerprint length check (moneromooo-monero)
2019-05-14Merge pull request #5532luigi11111-1/+9
46244dd wallet_rpc_server: use original addresses in destinations in get_transfers (moneromooo-monero)
2019-05-14Merge pull request #5526luigi11111-0/+7
1e8f3f6 rpc: fail update RPC when running offline (moneromooo-monero)
2019-05-14Merge pull request #5512luigi11111-1/+1
d47292e error: fix compile error on windows with depends (moneromooo-monero)
2019-05-12Made code block usage consistent across all .md filesRohaq1-1/+1
2019-05-11wallet: fix certificate fingerprint length checkmoneromooo-monero2-2/+2
Fixed by crCr62U0
2019-05-10password: do not use line input on windowsmoneromooo-monero1-5/+1
This keeps its builtin command editing away Thanks iDunk for testing on Windows
2019-05-10wallet_rpc_server: use original addresses in destinations in get_transfersmoneromooo-monero1-1/+9
And add them for pending transfers, where they were missing
2019-05-09rpc: fail update RPC when running offlinemoneromooo-monero1-0/+7
2019-05-07Merge pull request #5510Riccardo Spagni7-15/+15
e9809382 fix wide difficulty conversion with some versions of boost (moneromooo-monero)
2019-05-07Merge pull request #5508Riccardo Spagni1-4/+2
1c44e658 wallet2: reject standalone short payment IDs in monero: URI API (moneromooo-monero)
2019-05-07Merge pull request #5505Riccardo Spagni1-1/+1
7e5158aa mnemonics: fix 4 byte UTF-8 rewriting (moneromooo-monero)
2019-05-07Merge pull request #5503Riccardo Spagni1-4/+4
ccc1e311 wallet_rpc_server: reject standalone short payment id in address book (moneromooo-monero)
2019-05-07Merge pull request #5501Riccardo Spagni1-2/+5
b4ca72dd wallet2: fix infinite loop picking outputs in corner case (moneromooo-monero)
2019-05-07Merge pull request #5499Riccardo Spagni3-34/+37
a4c4a2d8 blockchain: keep a rolling long term block weight median (moneromooo-monero)
2019-05-07Merge pull request #5496Riccardo Spagni4-8/+34
0eb0d6b8 rpc: improve get_output_distribution (moneromooo-monero)
2019-05-07Merge pull request #5481Riccardo Spagni3-12/+30
28a7d315 p2p: do not send last_seen timestamp to peers (moneromooo-monero)
2019-05-02error: fix compile error on windows with dependsmoneromooo-monero1-1/+1
state_not_recoverable is not defined there
2019-05-02blockchain: keep a rolling long term block weight medianmoneromooo-monero3-34/+37
2019-05-02Merge pull request #5493Riccardo Spagni3-0/+24
5e0da6fb change SSL certificate fingerprint whitelisting from SHA1 to SHA-256 (moneromooo-monero)
2019-05-02Merge pull request #5491Riccardo Spagni1-2/+4
98fb98f9 wallet_rpc_server: adding missing return on error in set_daemon (moneromooo-monero) 9074c0d8 wallet_rpc_server: return false on error in set_log_categories (moneromooo-monero) 968848a7 wallet_rpc_server: fix crash in validate_address if no wallet is loaded (moneromooo-monero)
2019-05-02Merge pull request #5489Riccardo Spagni1-3/+13
64983fce wallet2: default to trying to keep 5 outputs of 2+ monero (moneromooo-monero)
2019-05-02Merge pull request #5476Riccardo Spagni3-16/+115
0aaf5e2a device/trezor: device sorting and filtering improved (Dusan Klinec)
2019-05-01fix wide difficulty conversion with some versions of boostmoneromooo-monero7-15/+15
2019-05-01wallet2: reject standalone short payment IDs in monero: URI APImoneromooo-monero1-4/+2
2019-04-30mnemonics: fix 4 byte UTF-8 rewritingmoneromooo-monero1-1/+1
2019-04-30wallet_rpc_server: reject standalone short payment id in address bookmoneromooo-monero1-4/+4
2019-04-29wallet2: fix infinite loop picking outputs in corner casemoneromooo-monero1-2/+5
If we have fewer outputs available on the chain than what we require, but the output we're spending already has a ring, it would loop picking outputs randomly, but never find enough. Also tune logs for better debugging this kind of thing.
2019-04-26change SSL certificate fingerprint whitelisting from SHA1 to SHA-256moneromooo-monero3-0/+24
SHA1 is too close to bruteforceable
2019-04-25wallet_rpc_server: adding missing return on error in set_daemonmoneromooo-monero1-0/+1
2019-04-25wallet_rpc_server: return false on error in set_log_categoriesmoneromooo-monero1-1/+1
Reported by SmajeNz0
2019-04-25wallet_rpc_server: fix crash in validate_address if no wallet is loadedmoneromooo-monero1-1/+2
Reported by SmajeNz0
2019-04-25rpc: improve get_output_distributionmoneromooo-monero4-8/+34
It can now handle small reorgs without having to rescan the whole blockchain. Also add a test for it.
2019-04-25device/trezor: device sorting and filtering improvedDusan Klinec3-16/+115
- Trezor type detection refactored, T1 disabled (was enabled before which was a bug) - Sort connected devices by env TREZOR_PATH - Compatibility with Trezor ecosystem using TREZOR_PATH env var - Enables to pick particular Trezor to use in GUI as we don't have the multi-device selection yet - Dump all detected devices to log for better debugging / troubleshooting
2019-04-24Merge pull request #5486Riccardo Spagni2-2/+4
4be18df3 tx_sanity_check: relax uniqueness check a bit (moneromooo-monero) b386ae57 wallet2: add missing "sanity check failed" reason message (moneromooo-monero)
2019-04-24Merge pull request #5485Riccardo Spagni1-2/+2
c519d1df wallet2: fix wrong change being recorded in sweep_all (moneromooo-monero)
2019-04-24Merge pull request #5480Riccardo Spagni1-1/+9
7af49ef0 daemonizer: add --non-interactive for windows (moneromooo-monero)
2019-04-24Merge pull request #5477Riccardo Spagni1-1/+1
97e1c927 wallet: fix key image computation signaling to the device (Dusan Klinec)
2019-04-24Merge pull request #5470Riccardo Spagni2-1/+7
31a9aa83 wallet_rpc_server: add block_height and frozen to incoming_transfers (moneromooo-monero)
2019-04-24p2p: do not send last_seen timestamp to peersmoneromooo-monero3-12/+30
This can be used for fingerprinting and working out the network topology. Instead of sending the first N (which are sorted by last seen time), we sent a random subset of the first N+N/5, which ensures reasonably recent peers are used, while preventing repeated calls from deducing new entries are peers the target node just connected to. The list is also randomly shuffled so the original set of timestamps cannot be approximated.
2019-04-24wallet2: default to trying to keep 5 outputs of 2+ moneromoneromooo-monero1-3/+13
In the case where previously a second unneeded output would be added to a transaction. This should help *some* of the cases where outputs are slowly being consolidated, leading to the whole balance being locked when sending monero.
2019-04-23tx_sanity_check: relax uniqueness check a bitmoneromooo-monero1-2/+2
It triggers easily on testnet
2019-04-23wallet2: add missing "sanity check failed" reason messagemoneromooo-monero1-0/+2
2019-04-23wallet2: fix wrong change being recorded in sweep_allmoneromooo-monero1-2/+2
leading to the sanity check triggering
2019-04-23daemonizer: add --non-interactive for windowsmoneromooo-monero1-1/+9
The RPC functional tests need it Thanks to iDunk for debugging/testing
2019-04-22wallet: fix key image computation signaling to the deviceDusan Klinec1-1/+1
2019-04-20wallet_rpc_server: add block_height and frozen to incoming_transfersmoneromooo-monero2-1/+7
2019-04-20hardfork: fix off by one updating fork index after poppingmoneromooo-monero1-3/+2
2019-04-18Merge pull request #5464Riccardo Spagni1-0/+3
0f52fe4c Windows: work around a boost 1.70 and cmake SNAFU (iDunk5400) b414b69f Windows: fix a build error in MSYS2 with boost 1.70.0 (iDunk5400)
2019-04-18Merge pull request #5463Riccardo Spagni1-1/+2
fbbe75d7 device/trezor: button request callback fix (Dusan Klinec)
2019-04-18Merge pull request #5389Riccardo Spagni3-61/+73
588e6700 simplewallet: fix output representation offset (moneromooo-monero) 35e0a968 wallet2: "output lineup" fake out selection (moneromooo-monero)
2019-04-18Merge pull request #5458Riccardo Spagni2-1/+4
84047cb7 wallet_rpc_server: add unlocked field to incoming_transfers output (moneromooo-monero)
2019-04-18Merge pull request #5456Riccardo Spagni1-1/+3
58eade68 simplewallet: add the change amount to the prompt when locking (moneromooo-monero)
2019-04-18Merge pull request #5453Riccardo Spagni1-5/+3
71102267 wallet_rpc_server: set suggested_confirmations_threshold for pool txes (moneromooo-monero)
2019-04-18device/trezor: button request callback fixDusan Klinec1-1/+2
2019-04-18simplewallet: fix output representation offsetmoneromooo-monero2-3/+3
2019-04-18wallet2: "output lineup" fake out selectionmoneromooo-monero2-60/+72
Based on python code by sarang: https://github.com/SarangNoether/skunkworks/blob/outputs/outputs/simulate.py
2019-04-18Windows: fix a build error in MSYS2 with boost 1.70.0iDunk54001-0/+3
2019-04-17wallet_rpc_server: add unlocked field to incoming_transfers outputmoneromooo-monero2-1/+4
2019-04-17simplewallet: add the change amount to the prompt when lockingmoneromooo-monero1-1/+3
2019-04-17Merge pull request #5413Riccardo Spagni3-132/+100
5fafb90e testdb: add override keyword where missing (stoffu)
2019-04-17testdb: add override keyword where missingstoffu3-132/+100
and delete obsolete BlockchainBDB::get_tx_output_indices along the way
2019-04-16daemon: fix absolute/relative log file test for windowsmoneromooo-monero1-5/+1
2019-04-16wallet_rpc_server: set suggested_confirmations_threshold for pool txesmoneromooo-monero1-5/+3
2019-04-16wallet_rpc_server: add set_log_level/set_log_categoriesmoneromooo-monero4-1/+82
2019-04-16Merge pull request #5452Riccardo Spagni2-1/+4
c30d93fc rpc: add a pruned bool to the prune_blockchain call (moneromooo-monero)
2019-04-16Merge pull request #5450Riccardo Spagni1-0/+8
926e0472 simplewallet: add another warning about long payment ids (moneromooo-monero)
2019-04-16Merge pull request #5448Riccardo Spagni4-14/+18
d009f6dd rpc: fix get_block_hashes.bin from wallet on pruned blockchain (moneromooo-monero) bb0ef5b1 blockchain: lock the blockchain while pruning (moneromooo-monero)
2019-04-16Merge pull request #5445Riccardo Spagni4-60/+115
b18f0b10 wallet: new --offline option (moneromooo-monero)
2019-04-16Merge pull request #5446Riccardo Spagni5-14/+25
7d79222f daemon: remove debug info (moneromooo-monero) 8fec0f98 functional_tests: add sweep_single test (moneromooo-monero) 9880d61b wallet_rpc_server: remove unused code (moneromooo-monero) 8a61b33d rpc: omit irrelevant fields for pool txes in gettransactions (moneromooo-monero) 56508524 rpc: add relayed in get_transaction output (moneromooo-monero) 82e510f1 rpc: set default log category in core_rpc_server.h (moneromooo-monero)
2019-04-16Merge pull request #5444Riccardo Spagni1-0/+1
6643b047 Increment m_threads_active when mining thread starts (Doyle)
2019-04-16Merge pull request #5443Riccardo Spagni1-20/+2
07dd5536 hardfork: remove "no hf version db" recreation check (moneromooo-monero)
2019-04-16Merge pull request #5441Riccardo Spagni2-4/+2
b3648232 daemon: fix ratio not being floating point (moneromooo-monero) e1b097b9 core_rpc_server: remove dummy assigning int to bool (moneromooo-monero)
2019-04-16Merge pull request #5439Riccardo Spagni1-0/+2
f26e0b5d cryptonote_protocol: warn when the last connection goes (moneromooo-monero)
2019-04-16Merge pull request #5437Riccardo Spagni1-29/+33
acb68dba bulletproofs: cut down on keyV allocations (moneromooo-monero)
2019-04-16Merge pull request #5435Riccardo Spagni1-1/+6
5140c15e daemon: if a log file has a /, interpret it from the cwd (moneromooo-monero)
2019-04-16Merge pull request #5434Riccardo Spagni6-0/+152
ccb996af rpc: new sanity check on relayed transactions (moneromooo-monero)
2019-04-16Merge pull request #5431Riccardo Spagni1-1/+1
34f8c237 simplewallet: fix warning about long payment id using the old option (moneromooo-monero)
2019-04-16Merge pull request #5429Riccardo Spagni2-41/+57
bcb86ae6 wallet_rpc_server: fix inconsistent wallet caches on reload (moneromooo-monero)
2019-04-16Merge pull request #5428Riccardo Spagni1-1/+4
f3425f8d rpc.getblocktemplate: set reserved_offset to zero when reserve_size==0 (stoffu)
2019-04-16Merge pull request #5425Riccardo Spagni1-1/+8
58585986 p2p: fix integer overflow in host bans (moneromooo-monero)
2019-04-16Merge pull request #5424Riccardo Spagni2-0/+3
93bb2f48 ringct: prevent use of full ringct signatures for more than one input (moneromooo-monero)
2019-04-16Merge pull request #5422Riccardo Spagni1-1/+1
2c221d1b wallet2: update estimate_rct_tx_size for smaller rct proofs (moneromooo-monero)
2019-04-16Merge pull request #5418Riccardo Spagni4-9/+13
374f388d wallet_rpc_server: add a all flag to export_outputs (moneromooo-monero)
2019-04-16Merge pull request #5414Riccardo Spagni1-1/+0
e9fac29a unit_tests/long_term_block_weight: some tweaks that seem to make more sense (stoffu) 467f4c7e tests/block_weight: use integer division when computing median (stoffu) 815d08dc tests/block_weight: remove unused MULTIPLIER_SMALL (stoffu) 661f1fb8 blockchain: remove unused calc of short_term_constraint (stoffu)
2019-04-16Merge pull request #5406Riccardo Spagni1-1/+5
bea1918a blockchain_import: error out if preparing to handle blocks fails (moneromooo-monero)
2019-04-16Merge pull request #5405Riccardo Spagni1-1/+4
ffdbcfb6 core: don't check block rate nor fork time in regtest mode (moneromooo-monero)
2019-04-16Merge pull request #5400Riccardo Spagni7-93/+123
5e673c03 blockchain_db: fix db txn ending too early (moneromooo-monero)
2019-04-16rpc: add a pruned bool to the prune_blockchain callmoneromooo-monero2-1/+4
2019-04-16simplewallet: add another warning about long payment idsmoneromooo-monero1-0/+8
2019-04-15daemon: remove debug infomoneromooo-monero1-1/+1
2019-04-15rpc: fix get_block_hashes.bin from wallet on pruned blockchainmoneromooo-monero4-14/+14
We want to get all blocks here, even pruned ones
2019-04-15blockchain: lock the blockchain while pruningmoneromooo-monero1-0/+4
2019-04-15wallet: new --offline optionmoneromooo-monero4-60/+115
It will avoid connecting to a daemon (so useful for cold signing using a RPC wallet), and not perform DNS queries.
2019-04-15wallet_rpc_server: remove unused codemoneromooo-monero1-5/+1
2019-04-15rpc: omit irrelevant fields for pool txes in gettransactionsmoneromooo-monero1-4/+10
2019-04-15rpc: add relayed in get_transaction outputmoneromooo-monero2-5/+11
2019-04-15rpc: set default log category in core_rpc_server.hmoneromooo-monero1-0/+3
2019-04-15Merge pull request #5421Riccardo Spagni1-0/+1
e78cea74 rpc: fix off by one in get_height (moneromooo-monero)
2019-04-15Merge pull request #5408Riccardo Spagni1-0/+1
c4f8a8a6 build fix: combinator.h stdexcept missing include (Dusan Klinec)
2019-04-15Merge pull request #5402Riccardo Spagni3-1/+19
cbf32241 rpc: make wide_difficulty hexadecimal (moneromooo-monero)
2019-04-15Merge pull request #5398Riccardo Spagni2-21/+53
41901b8d device/trezor: env-configurable ports (Dusan Klinec) c97a1f79 tests: trezor tests fixes and improvements (Dusan Klinec)
2019-04-15Merge pull request #5396Riccardo Spagni2-3/+10
b40392fb wallet2: add --no-dns flag (moneromooo-monero)
2019-04-15Merge pull request #5395Riccardo Spagni1-7/+9
15f27c80 wallet2: support multi out txes without change in sanity check (moneromooo-monero)
2019-04-15Merge pull request #5392Riccardo Spagni5-12/+36
a2195b9b crypto: replace rand<T>()%N idiom with unbiased rand_idx(N) (stoffu)
2019-04-15Merge pull request #5365Riccardo Spagni1-2/+1
383c38fd fix init warning on whatever compiler version (italocoin)
2019-04-15Merge pull request #5355Riccardo Spagni9-11/+79
c68fe787 device/trezor: add button pressed request (Dusan Klinec) 827f52ad wallet: API changes to enable passphrase entry (Dusan Klinec)
2019-04-15Increment m_threads_active when mining thread startsDoyle1-0/+1
2019-04-14hardfork: remove "no hf version db" recreation checkmoneromooo-monero1-20/+2
This is now obsolete, and this removes the warning on startup on a new db that confuses some people
2019-04-14cryptonote_protocol: warn when the last connection goesmoneromooo-monero1-0/+2
2019-04-14daemon: fix ratio not being floating pointmoneromooo-monero1-1/+1
Coverity 197648
2019-04-14core_rpc_server: remove dummy assigning int to boolmoneromooo-monero1-3/+1
Coverity 197653
2019-04-14blockchain_db: fix db txn ending too earlymoneromooo-monero7-93/+123
The db txn in add_block ending caused the entire overarching batch txn to stop. Also add a new guard class so a db txn can be stopped in the face of exceptions. Also use a read only db txn in init when the db itself is read only, and do not save the max tx size in that case.
2019-04-13bulletproofs: cut down on keyV allocationsmoneromooo-monero1-29/+33
2019-04-13daemon: if a log file has a /, interpret it from the cwdmoneromooo-monero1-1/+6
rather than from data dir where it normally is. It makes things like --log-file ./foo.log behave as you'd expect.
2019-04-12rpc: new sanity check on relayed transactionsmoneromooo-monero6-0/+152
This will weed out some transactions with silly rings
2019-04-12simplewallet: fix warning about long payment id using the old optionmoneromooo-monero1-1/+1
2019-04-12wallet_rpc_server: fix inconsistent wallet caches on reloadmoneromooo-monero2-42/+58
Loading the same wallet as the currently loaded one would autosave the current state after loading it, leading to some kind of rollback effect. We now save before loading to avoid this. If loading fails, it means the current wallet will be saved (or maybe not, depending on where the failure occurs: most of the sanity checks occur before saving). There is a new autosave_current flag to open/restore calls so the (enabled by default) autosave can be skipped.
2019-04-12rpc.getblocktemplate: set reserved_offset to zero when reserve_size==0stoffu1-1/+4
2019-04-11p2p: fix integer overflow in host bansmoneromooo-monero1-1/+8
2019-04-11ringct: prevent use of full ringct signatures for more than one inputmoneromooo-monero2-0/+3
2019-04-11simplewallet: fix merge error with new welcome commandmoneromooo-monero1-1/+2
2019-04-11wallet2: update estimate_rct_tx_size for smaller rct proofsmoneromooo-monero1-1/+1
2019-04-11rpc: fix off by one in get_heightmoneromooo-monero1-0/+1
2019-04-11Merge pull request #5386Riccardo Spagni2-0/+34
d843f200 simplewallet: add a welcome/disclaimer message command (moneromooo-monero)
2019-04-11Merge pull request #5383Riccardo Spagni9-73/+208
0575794f console: simple shell over console.py (moneromooo-monero) 047af5c3 console.py: can now connect to several daemons/wallets (moneromooo-monero) 9f9571aa cmake: always detect python, it's neeed for some tests (moneromooo-monero) 8646bd00 functional_tests: exit with 1 if any test fails (moneromooo-monero) 6fd8834d console.py: add tab completion (moneromooo-monero) 04a20cb2 functional_tests: cold signing key images/outputs import/export (moneromooo-monero) 798e3cad functional_tests: add double spend detection tests (moneromooo-monero) 7c657bb2 functional_tests: add alt chains tests (moneromooo-monero) f8be31d2 functional_tests: add wallet creation language tests (moneromooo-monero) 2d68b31f functional_tests: add more wallet tests (moneromooo-monero) 23f86dad python-rpc: add set_log_level and set_log_categories (moneromooo-monero) b3a32d55 functional_tests: add describe_transfer tests (moneromooo-monero) 108f4375 console.py: support connecting to any host, not just 127.0.0.1 (moneromooo-monero) 064ab123 functional_tests: add more blockchain related tests (moneromooo-monero) 21b1ac1d functional_tests: add bans tests (moneromooo-monero)
2019-04-11simplewallet: add a welcome/disclaimer message commandmoneromooo-monero2-0/+34
I saw one when landing on www.tribler.org, and it seemed like a good idea to have something similar, alongside some more general "what is monero" text.
2019-04-11functional_tests: add more blockchain related testsmoneromooo-monero9-73/+208
Related to emission, reorgs, getting tx data back, output distribution and histogram
2019-04-11Merge pull request #5388Riccardo Spagni6-12/+100
0be5b2ee simplewallet: new unset_ring command (moneromooo-monero)
2019-04-11Merge pull request #5382Riccardo Spagni5-22/+63
c12b43cb wallet: add number of blocks required for the balance to fully unlock (moneromooo-monero) 3f1e9e84 wallet2: set confirmations to 0 for pool txes in proofs (moneromooo-monero) 36c037ec wallet_rpc_server: error out on getting the spend key from a hot wallet (moneromooo-monero) cd1eaff2 wallet_rpc_server: always fill out subaddr_indices in get_transfers (moneromooo-monero)
2019-04-11Merge pull request #5381Riccardo Spagni2-6/+10
def40161 miner: fix race when stopping mining with start mining enabled (moneromooo-monero)
2019-04-11Merge pull request #5380Riccardo Spagni3-3/+3
113e4877 blockchain_stats: fix sign in formatting function (moneromooo-monero) adaea3ea various: remove unused variables (moneromooo-monero) 631ef00e blockchain: some debug info when adding txes-from-block fails (moneromooo-monero)
2019-04-11Merge pull request #5379Riccardo Spagni3-5/+26
83fc45a4 Add NanoX support (cslashm)
2019-04-11Merge pull request #5378Riccardo Spagni3-25/+1
eda2661a Allow pruning before v10 (moneromooo-monero)
2019-04-11Merge pull request #5376Riccardo Spagni2-1/+5
c746f45d Add hash of top block to /getheight RPC (Howard Chu)
2019-04-11Merge pull request #5374Riccardo Spagni10-20/+264
a2561653 wallet: new option to start background mining (moneromooo-monero)
2019-04-11Merge pull request #5373Riccardo Spagni2-3/+6
aff80e70 blockchain: fix returned height in create_block_template (moneromooo-monero)
2019-04-11simplewallet: new net_stats commandmoneromooo-monero4-0/+26
displays total sent and received bytes
2019-04-11Merge pull request #5367Riccardo Spagni2-5/+5
07b716bf util: name replace_file arguments better (moneromooo-monero)
2019-04-11Merge pull request #5366Riccardo Spagni1-1/+1
c2f271d1 device/trezor: increase live-refresh timeout (Dusan Klinec)
2019-04-11Merge pull request #5123Riccardo Spagni10-16/+100
089c7637 cryptonote: rework block blob size sanity check (moneromooo-monero)
2019-04-10device/trezor: env-configurable portsDusan Klinec2-21/+53
2019-04-10wallet_rpc_server: add a all flag to export_outputsmoneromooo-monero4-9/+13
if we don't want to export new outputs only
2019-04-09blockchain: remove unused calc of short_term_constraintstoffu1-1/+0
2019-04-07Enabling daemon-rpc SSL now requires non-system CA verificationLee Clagett2-17/+29
If `--daemon-ssl enabled` is set in the wallet, then a user certificate, fingerprint, or onion/i2p address must be provided.
2019-04-07build fix: combinator.h stdexcept missing includeDusan Klinec1-0/+1
2019-04-07blockchain_import: error out if preparing to handle blocks failsmoneromooo-monero1-1/+5
Coverity 197562