aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-09-08Merge pull request #5833luigi11111-0/+1
289d215 rpc: fix unitialized 'core_rpc_server::m_was_bootstrap_ever_used' (xiphon)
2019-09-08Merge pull request #5830luigi11111-1/+1
5a4c6cc daemon: fix merge error removing the 'never seen before' timestamp check (moneromooo-monero)
2019-09-04Fix IP address serialization on big endianmoneromooo-monero1-0/+2
IP addresses are stored in network byte order even on little endian hosts
2019-09-04slow-hash: fix CNv2+ on big endianmoneromooo-monero1-3/+3
2019-09-04db_lmdb: print percentages as percentages, not ratiosmoneromooo-monero1-1/+1
2019-09-04difficulty: fix check_hash on big endianmoneromooo-monero1-1/+0
2019-09-04Merge pull request #5822luigi11111-0/+2
839fc62 reject setting lookahead major or minor to 0 (moneromoo-monero)
2019-09-04Merge pull request #5819luigi11111-1/+2
07cb087 blockchain: Fix alt chain generated coins overflow (iamamyth)
2019-09-04Merge pull request #5806luigi11111-3/+3
69465e3 cryptonote_protocol: fix '--no-sync', ignore new blocks and txes (xiphon)
2019-09-04Merge pull request #5799luigi11115-35/+246
082730b daemon: automatic public nodes discovering and bootstrap daemon switching (xiphon)
2019-09-04Merge pull request #5536luigi11117-136/+489
1a367d6 simplewallet: lock console on inactivity (moneromooo-monero)
2019-08-29Merge pull request #5793luigi111112-79/+1156
bdfc63a Add ref-counted buffer byte_slice. Currently used for sending TCP data. (vtnerd) 3b24b1d Added support for 'noise' over I1P/Tor to mask Tx transmission. (vtnerd)
2019-08-28simplewallet: lock console on inactivitymoneromooo-monero7-136/+489
2019-08-28Merge pull request #5707luigi11114-77/+54
3a0451a MLSAG speedup and additional checks (SarangNoether)
2019-08-27MLSAG speedup and additional checksSarang Noether4-77/+54
2019-08-27Merge pull request #5729luigi11112-2/+4
7c894fc device_ledger: add paranoid buffer overflow check (moneromooo-monero) f07524b device_ledger: fix uninitialized additional_key (moneromooo-monero)
2019-08-27Merge pull request #5609luigi11115-2/+41
1dc3b1a wallet: add --extra-entropy command line flag (moneromooo-monero)
2019-08-27Merge pull request #5559luigi11116-2/+12
33e91e1 wallet, rpc: add a release field to get_version (moneromooo-monero)
2019-08-27daemon: automatic public nodes discovering and bootstrap daemon switchingxiphon5-35/+246
2019-08-26wallet, rpc: add a release field to get_versionmoneromooo-monero6-2/+12
It does not leak much since you can make a fair guess by RPC version already, and some people want to avoid non release clients when using third parties' nodes (because they'd never lie about it)
2019-08-26device_ledger: fix uninitialized additional_keymoneromooo-monero1-1/+1
Coverity 200185
2019-08-26device_ledger: add paranoid buffer overflow checkmoneromooo-monero1-1/+3
Coverity 200183
2019-08-22Wallet: Option to export data to ASCIITadeas Moravec4-37/+170
New CLI wallet variable: export-format with options "binary" (the default), or "ascii". "Binary" behaves as before, "ascii" forces the wallet to convert data to ASCII using base64. Reading files from the disk tries to auto detect what format has been used (using a magic string added when exporting the data). Implements https://github.com/monero-project/monero/issues/2859
2019-08-22wallet: add --extra-entropy command line flagmoneromooo-monero5-2/+41
It lets the user add custom entropy to the PRNG. It does this by hashing the new data and xoring the resulting hash with the PRNG state.
2019-08-21Merge pull request #5827luigi11111-1/+1
30779de fix feature not introduced until boost 1.66 (jtgrassie)
2019-08-21Merge pull request #5817luigi11111-1/+1
50ec40e Increase max_dbs from 20 to 32 (hyc)
2019-08-21Merge pull request #5815luigi11111-1/+1
adc16d2 Fix check for disconnecting peers when syncing (jagerman)
2019-08-21Merge pull request #5808luigi11111-4/+14
5a91b83 simplewallet: add a few missing settings help text (stoffu) ae7bf37 simplewallet: fix arg indexing bug in set_device_name (stoffu)
2019-08-21Merge pull request #5807luigi11111-2/+0
4b1df4e Fix for biased signature nonce (SarangNoether)
2019-08-21Merge pull request #5800luigi11111-1/+2
6ca033d hid_error() could return a null, which causes the program to crash with (TheQuantumPhysicist)
2019-08-21Merge pull request #5778luigi11113-35/+41
8703aa5 MMS: Use chans instead of normal addresses for auto-config (rbrunner7)
2019-08-21Merge pull request #5755luigi11111-2/+2
7a3e458 improve tx_sanity_check clarification (vicsn)
2019-08-21Merge pull request #5750luigi11114-6/+21
884df82 wallet: provide original address for outgoing transfers (xiphon)
2019-08-21Merge pull request #5743luigi11112-0/+10
65f29a8 simplewallet: add restore_height command (tobtoht)
2019-08-21Merge pull request #5742luigi11111-1/+1
0d916a6 Fix incorrectly named binding for MMS send_signer_config command (tobtoht)
2019-08-21Merge pull request #5740luigi11111-1/+1
256d286 Minor formatting fix in help set command (tobtoht)
2019-08-21Merge pull request #5731luigi11111-3/+3
c393e82 CryptonightR_JIT: fix return value on error (selene-kovri)
2019-08-21Merge pull request #5722luigi11113-13/+32
8be5fea simplewallet: optional all flag to export_outputs/export_key_images (moneromooo-monero)
2019-08-20MMS: Use chans instead of normal addresses for auto-configrbrunner73-35/+41
2019-08-20rpc: fix unitialized 'core_rpc_server::m_was_bootstrap_ever_used'xiphon1-0/+1
2019-08-20daemon: fix merge error removing the "never seen before" timestamp checkmoneromooo-monero1-1/+1
2019-08-20Merge pull request #5696luigi11115-14/+30
fd60d05 daemon: fix print_pl only printing public zone peers (moneromooo-monero)
2019-08-20fix feature not introduced until boost 1.66Jethro Grassie1-1/+1
2019-08-19daemon: fix print_pl only printing public zone peersmoneromooo-monero5-14/+30
2019-08-19Merge pull request #5636luigi11111-1/+3
b712ae0 rpc: work around a GCC 7.4.0 (at least) bug (moneromooo-monero)
2019-08-19Merge pull request #5728luigi11112-1/+27
6560bfa rpc: get_block_template add optional extra_nonce (jtgrassie)
2019-08-19Merge pull request #5727luigi11113-4/+4
7b9a420 Replace std::random_shuffle with std::shuffle (tomsmeding)
2019-08-19Merge pull request #5725luigi11111-1/+1
dc8b7a8 zmq: MacPorts latest fix (jtgrassie)
2019-08-19Merge pull request #5721luigi11112-43/+12
c164f90 Remove unnecessary m_check_txin_table, fix const correctness (omartijn)
2019-08-19Merge pull request #5720luigi11111-1/+1
bcd2da7 miner: fix --bg-mining-enable description (moneromooo-monero)
2019-08-19Merge pull request #5718luigi11111-1/+4
c8709fe wallet: do not print log settings when unset (moneromooo-monero) 7b18e83 unit_tests: check return values on test data parsing (moneromooo-monero)
2019-08-19reject setting lookahead major or minor to 0moneromooo-monero1-0/+2
2019-08-18blockchain: Fix alt chain generated coins overflowiamamyth1-1/+2
Apply the overflow logic used for computing already_generated_coins in the main chain to alternative chains.
2019-08-18Increase max_dbs from 20 to 32Howard Chu1-1/+1
We've added a lot of new indices recently, and 20 isn't enough for them plus new DBs opened during format migrations.
2019-08-17Merge pull request #5685luigi11111-1/+3
a604241 simplewallet: don't ask about mining when running a command line (moneromooo-monero)
2019-08-17Merge pull request #5518luigi11113-48/+79
def703a wallet_api: add multi destination tx support (selsta)
2019-08-16Fix check for disconnecting peers when syncingJason Rhinelander1-1/+1
The check added here (in #5732/#5733) is supposed to disconnect behind peers when the current node is syncing, but actually disconnects behind peers always. We are syncing when `target > our_height`, but the check here triggers when `target > remote_height`, which is basically always true when the preceding `m_core.have_block(hshd.top_id)` check is true.
2019-08-16wallet_api: add multi destination tx supportselsta3-48/+79
2019-08-15Merge pull request #5689luigi11111-1/+1
1db5357 rpc headers fix (malbit)
2019-08-15Merge pull request #5682luigi11111-0/+3
3768db2 p2p: add a reference to Cao, Tong et al. for the last_seen changes (moneromooo-monero)
2019-08-15Merge pull request #5674luigi11111-2/+3
fcbf7b3 p2p: propagate out peers limit to payload handler (moneromooo-monero) 098aadf p2p: close the right number of connections on setting max in/out peers (moneromooo-monero)
2019-08-15Merge pull request #5673luigi11111-8/+17
097cca5 wallet_api: catch getTxKey exception (ph4r05)
2019-08-15Merge pull request #5672luigi11111-0/+1
b2bfcab wallet2: fix change subaddress mixup when sending pre rct outputs (moneromooo-monero)
2019-08-15Merge pull request #5662luigi11111-3/+11
64fb0f8 device: tx_key caching fixed, store recovered txkey (ph4r05)
2019-08-15Merge pull request #5659luigi11111-17/+40
6bb2797 daemon: print 128bit diff properly (stoffu)
2019-08-15Merge pull request #5656luigi11111-1/+1
8ccc30b Fix --restore-date usage (hyc)
2019-08-15Merge pull request #5649luigi11113-0/+26
a182df2 Bans for RPC connections (hyc)
2019-08-15Merge pull request #5637luigi11111-1/+1
69f9420 core: do not complain about low block rate if disconnected (moneromooo-monero)
2019-08-15Replace std::random_shuffle with std::shuffleTom Smeding3-4/+4
According to [1], std::random_shuffle is deprecated in C++14 and removed in C++17. Since std::shuffle is available since C++11 as a replacement and monero already requires C++11, this is a good replacement. A cryptographically secure random number generator is used in all cases to prevent people from perhaps copying an insecure std::shuffle call over to a place where a secure one would be warranted. A form of defense-in-depth. [1]: https://en.cppreference.com/w/cpp/algorithm/random_shuffle
2019-08-14Merge pull request #5634luigi11111-1/+2
1488109 rpc: fix get_transactions getting v1 txes from the txpool (moneromooo-monero)
2019-08-14Merge pull request #5607luigi11113-1/+90
52cd2fa rpc: implement get_public_nodes command (xiphon)
2019-08-14Merge pull request #5525luigi11119-41/+166
0605406 daemon: sort alt chains by height (moneromooo-monero) 4228ee0 daemon: add optional arguments to alt_chain_info (moneromooo-monero) 880ebfd daemon: add more chain specific info in alt_chain_info (moneromooo-monero)
2019-08-14Merge pull request #5487luigi11117-0/+26
df83ed7 consensus: from v12, enforce >= 2 outputs (moneromooo-monero)
2019-08-14Merge pull request #5478luigi11111-3/+2
7d9b7fe functional_tests: add validate_address tests (moneromooo-monero)
2019-08-14Merge pull request #4851luigi111112-46/+344
155475d Add IPv6 support (KeeJef/tewinget)
2019-08-13simplewallet: fix arg indexing bug in set_device_namestoffu1-1/+1
2019-08-13simplewallet: add a few missing settings help textstoffu1-4/+14
2019-08-12Fix for biased signature nonceSarang Noether1-2/+0
2019-08-11cryptonote_protocol: fix '--no-sync', ignore new blocks and txesxiphon1-3/+3
2019-08-09hid_error() could return a null, which causes the program to crash withTheQuantumPhysicist1-1/+2
std::logic_error()
2019-07-31Add IPv6 supportThomas Winget12-46/+344
new cli options (RPC ones also apply to wallet): --p2p-bind-ipv6-address (default = "::") --p2p-bind-port-ipv6 (default same as ipv4 port for given nettype) --rpc-bind-ipv6-address (default = "::1") --p2p-use-ipv6 (default false) --rpc-use-ipv6 (default false) --p2p-require-ipv4 (default true, if ipv4 bind fails and this is true, will not continue even if ipv6 bind successful) --rpc-require-ipv4 (default true, description as above) ipv6 addresses are to be specified as "[xx:xx:xx::xx:xx]:port" except in the cases of the cli args for bind address. For those the square braces can be omitted.
2019-07-30daemon: print 128bit diff properlystoffu1-17/+40
2019-07-29functional_tests: add validate_address testsmoneromooo-monero1-3/+2
2019-07-29rpc: implement get_public_nodes commandxiphon3-1/+90
2019-07-28Fixed error preventing build of monero-guiNejcraft1-1/+3
get_attribute expects 2 values instead of 1
2019-07-24Merge pull request #5635luigi11111-1/+1
03aa14e tx_sanity_check: don't print an error when not enough outs to check (monermooo-monero)
2019-07-24Merge pull request #5624luigi11111-1/+0
6b41bd8 Delete more include string.h (wepeng)
2019-07-24Merge pull request #5623luigi11113-26/+107
b8cfa92 rpc: implement set_bootstrap_daemon method (xiphon)
2019-07-24Merge pull request #5610luigi11113-7/+54
068fa1c p2p: delay IGP probing on startup (moneromooo-monero)
2019-07-24Merge pull request #5608luigi11111-4/+12
c820e18 simplewallet: print errors on exceptions creating wallets (moneromooo-monero)
2019-07-24Merge pull request #5606luigi11111-1/+4
cf8cb68 rpc: use ip address string representation for peer::host field (xiphon)
2019-07-24Merge pull request #5600luigi11112-7/+13
dd58057 Remember RPC version on initial connect (hyc)
2019-07-24Merge pull request #5597luigi11114-14/+28
343c0b4 add a command line option to disable ZMQ server (jtgrassie)
2019-07-24Merge pull request #5595luigi11114-0/+21
2aa1134 daemon: display peer address type in print_cn (moneromooo-monero)
2019-07-24Merge pull request #5594luigi111111-6/+127
f074b6b device: show address on device display (ph4r05)
2019-07-24Merge pull request #5591luigi11113-18/+9
f17dcde Remove unused txs member in NOTIFY_RESPONSE_GET_OBJECT (Doy-lee)
2019-07-24Merge pull request #5588luigi11111-0/+1
cd720c7 add cumulative difficulty to diff command (wowario)
2019-07-24Merge pull request #5585luigi11112-2/+0
270a3ae Unused private member m_miner_address (JesusRami)
2019-07-24Merge pull request #5582luigi11117-20/+62
fcfcc3a rpc: in/out peers can now return the setting's value (moneromooo-monero)
2019-07-24Merge pull request #5576luigi11112-4/+0
577324a wallet_manager: omit redundant disconnect, drop unused variable (xiphon)
2019-07-24Merge pull request #5574luigi11111-1/+1
162c3e1 blockchain_export: allow exporting blocks.dat format from pruned (moneromooo-monero)
2019-07-24Merge pull request #5573luigi11111-1/+1
c07bbd5 daemon: fix 'never seen before' time span display for peers (moneromooo-monero)
2019-07-24Merge pull request #5534luigi11113-0/+28
4c66614 expose set/get walletcache attribute functionality in wallet api (selsta)
2019-07-24Merge pull request #5530luigi111111-161/+0
6abaaaa remove obsolete save_graph skeleton code (moneromooo-monero)
2019-07-24Merge pull request #5524luigi11117-94/+379
06b8f29 blockchain: keep alternative blocks in LMDB (moneromooo-monero)
2019-07-24Merge pull request #5514luigi11111-2/+2
e4d100b wallet2: don't wait a day before using new version fees (moneromooo-monero)
2019-07-24Merge pull request #5513luigi11114-6/+16
bc94ba4 wallet: distinguish between empty and absent attributes (moneromooo-monero)
2019-07-24Merge pull request #5502luigi11119-14/+7
25a7cfd add a few checks where it seems appropriate (moneromooo-monero) 1a66a86 remove unused code (moneromooo-monero)
2019-07-24Merge pull request #5460luigi11112-3/+58
a23dbe6 simplewallet: prompt when spending more than one old out in one tx (moneromooo-monero)
2019-07-24Merge pull request #5457luigi11111-2/+0
3b9ce45 wallet_rpc_server: remove unused variable (moneromooo-monero)
2019-07-24Merge pull request #5451luigi11113-1/+172
6aa3c2f dns_checks: new helper program to check on DNSSEC lookups (moneromooo-monero)
2019-07-24Merge pull request #5363luigi111114-41/+305
515ac29 p2p: store network address directly in blocked host list (moneromooo-monero) 65c4004 allow blocking whole subnets (moneromooo-monero)
2019-07-18bump version to 0.14.1.2Riccardo Spagni1-1/+1
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-17Added support for "noise" over I1P/Tor to mask Tx transmission.Lee Clagett12-79/+1156
2019-07-16allow blocking whole subnetsmoneromooo-monero14-29/+293
2019-07-16p2p: store network address directly in blocked host listmoneromooo-monero4-12/+12
rather than their string representation
2019-07-15improve tx_sanity_check clarificationvicsn1-2/+2
2019-07-15Remove unused txs member in NOTIFY_RESPONSE_GET_OBJECTDoyle3-18/+9
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-10wallet: provide original address for outgoing transfersxiphon4-6/+21
2019-07-09wallet_rpc_server: fix get_bulk_payments with short payment idsmoneromooo-monero1-0/+5
2019-07-08simplewallet: add restore_height commandthotbot2-0/+10
2019-07-08Fix incorrectly named binding for MMS send_signer_config commandtobtoht1-1/+1
send_message_config isn't used anywhere else in the code, and it is clear from the help command that it should be named send_signer_config.
2019-07-06Minor formatting fix in help set commandtobtoht1-1/+1
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-04CryptonightR_JIT: fix return value on errorselene1-3/+3
The value was positive rather than zero, but the caller only checks for negative errors
2019-07-03Remove unnecessary m_check_txin_table, fix const correctnessMartijn Otto2-43/+12
2019-07-03rpc: get_block_template add optional extra_nonceJethro Grassie2-1/+27
Circumvents the need to create a new blockhashing blob when you already know the data you want to set in the extra_nonce (so use this instead of reserve_size).
2019-07-02simplewallet: optional all flag to export_outputs/export_key_imagesmoneromooo-monero3-13/+32
2019-07-02miner: fix --bg-mining-enable descriptionmoneromooo-monero1-1/+1
2019-07-01zmq: MacPorts latest fixJethro Grassie1-1/+1
2019-07-01wallet: do not print log settings when unsetmoneromooo-monero1-1/+4
Coverity 199721
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-25rpc headers fixMichal vel m@lbit1-1/+1
2019-06-22simplewallet: don't ask about mining when running a command linemoneromooo-monero1-1/+3
This is likely to be done via a script
2019-06-21p2p: add a reference to Cao, Tong et al. for the last_seen changesmoneromooo-monero1-0/+3
"Exploring the Monero Peer-to-Peer Network". https://eprint.iacr.org/2019/411
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-19p2p: close the right number of connections on setting max in/out peersmoneromooo-monero1-2/+2
2019-06-19p2p: propagate out peers limit to payload handlermoneromooo-monero1-0/+1
2019-06-19wallet_api: catch getTxKey exceptionDusan Klinec1-8/+17
- getTxKey method throws an exception, e.g., when user declines txKey export
2019-06-19wallet2: fix change subaddress mixup when sending pre rct outputsmoneromooo-monero1-0/+1
2019-06-17core: fix --prune-blockchain not pruning if no blockchain existsmoneromooo-monero1-1/+1
2019-06-17device: show address on device displayDusan Klinec11-6/+127
- Trezor: support for device address display (subaddress, integrated address) - Wallet::API support added - Simplewallet: - address device [<index>] - address new <label> // shows address on device also - integrated_address [device] <payment_id|address> // new optional "device" arg to display also on the device
2019-06-17device: tx_key caching fixed, store recovered txkeyDusan Klinec1-3/+11
2019-06-16Fix --restore-date usageHoward Chu1-1/+1
The wallet was ignoring --restore-height and --restore-date params and prompting for them again.
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-16Bans for RPC connectionsHoward Chu3-0/+26
Make bans control RPC sessions too. And auto-ban some bad requests. Drops HTTP connections whenever response code is 500.
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-13core: do not complain about low block rate if disconnectedmoneromooo-monero1-1/+1
In that case, we'll still keep the "Monero is now disconnected from the network" near the end of the log
2019-06-12rpc: work around a GCC 7.4.0 (at least) bugmoneromooo-monero1-1/+3
In static member function ‘static boost::optional<cryptonote::rpc::output_distribution_data> cryptonote::rpc::RpcHandler::get_output_distribution(const std::function<bool(long unsigned int, long unsigned int, long unsigned int, long unsigned int&, std::vector<long unsigned int>&, long unsigned int&)>&, uint64_t, uint64_t, uint64_t, const std::function<crypto::hash(long unsigned int)>&, bool, uint64_t)’: cc1plus: warning: ‘void* __builtin_memset(void*, int, long unsigned int)’: specified size 18446744073709551536 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
2019-06-12tx_sanity_check: don't print an error when not enough outs to checkmoneromooo-monero1-1/+1
2019-06-12rpc: fix get_transactions getting v1 txes from the txpoolmoneromooo-monero1-1/+2
It would try to get their prunable hash, but v1 txes don't have one
2019-06-11Merge pull request #5619luigi11114-18/+8
f2f207d miner: fix double free of thread attributes (ston1th)
2019-06-11Delete more include string.hYour Name1-1/+0
2019-06-10rpc: implement set_bootstrap_daemon methodxiphon3-27/+108
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-06p2p: delay IGP probing on startupmoneromooo-monero3-7/+54
We might have external access without having to do this
2019-06-06simplewallet: print errors on exceptions creating walletsmoneromooo-monero1-4/+12
Exceptions would otherwise terminate the process silently
2019-06-04rpc: use ip address string representation for peer::host fieldxiphon1-1/+4
2019-06-02Remember RPC version on initial connectHoward Chu2-7/+13
Don't keep asking for it on an intact connection Wallet is too chatty over the wire
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-06-01add a command line option to disable ZMQ serverJethro Grassie4-14/+28
2019-06-01daemon: add more chain specific info in alt_chain_infomoneromooo-monero5-29/+113
2019-05-31daemon: display peer address type in print_cnmoneromooo-monero4-0/+21
2019-05-30rpc: in/out peers can now return the setting's valuemoneromooo-monero7-21/+63
2019-05-30add cumulative difficulty to diff commandwowario1-0/+1
2019-05-29Unused private member m_miner_addressJesus Ramirez2-2/+0
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