aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2021-01-08remove obsolete pruning debug codemoneromooo-monero4-45/+0
2021-01-03add a max levin packet size by command typemoneromooo-monero4-0/+44
2021-01-03fix accessing an network address in a deleted contextmoneromooo-monero2-9/+15
Both drop_connection and add_host_fail can drop the connection, which invalidates the context, and thus the address it contains. Thanks to wfaressuissia[m] for lots of help and prodding when debugging this
2021-01-02blockchain: lock access to m_blocks_hash_of_hashesmoneromooo-monero1-0/+2
it is accessed both when adding and when prevalidating a set of new hashes from a peer
2021-01-02protocol: handle receiving a block hash we've not added yetmoneromooo-monero1-4/+9
2020-12-31protocol: more sanity checks in new chain block hashesmoneromooo-monero5-18/+80
2020-12-31p2p: fix deadlock banning while updating peer listsmoneromooo1-0/+1
2020-12-30protocol: don't reset last request time on an idle timermoneromooo-monero1-1/+1
this prevents losing time of "idle time" for a peer, which could otherwise be reset by another timed sync command from the peer
2020-12-29rpc: limit the number of txes for get_blocks.binmoneromooo-monero11-22/+32
2020-12-27protocol: fix false positives dropping peersmoneromooo-monero1-23/+21
it'd trigger on reorgs
2020-12-27Revert "Reject existing claimed blocks in sync mode"luigi11111-18/+19
2020-12-26cryptonote_basic: guess what got lost porting patches to branches againmoneromooo-monero1-1/+1
2020-12-26simplewallet: add "address mnew" commandcodesoap1-2/+28
2020-12-25protocol: drop nodes if they claim new data but only give stale datamoneromooo-monero3-5/+18
Some joker is spending time actually doing this
2020-12-22restrict public node checks a littlemoneromooo-monero7-11/+68
do not include blocked hosts in peer lists or public node lists by default, warn about no https on clearnet and about untrusted peers likely being spies
2020-12-22ban lists may now include subnetsmoneromooo-monero2-6/+18
2020-12-20Optional DNS based blocklistmoneromooo-monero5-5/+67
If enabled, pulls IPs to block on blocklist.moneropulse.*, and blocks then for 8 days (so IPs dropping from the list will eventually get unblocked, and DNS failures don't result in instant clearing of the blocklist). Enable with --enable-dns-blocklist
2020-12-17rpc: add a busy_syncing field to get_infomoneromooo-monero4-1/+13
true if and pretty much only if new blocks are being added
2020-12-17protocol: reject claimed block hashes that already are in the chainmoneromooo-monero1-0/+13
2020-12-17Add aggressive restrictions to pre-handshake p2p buffer limitLee Clagett4-1/+7
2020-12-16protocol: drop peers we can't download anything from in sync modemoneromooo-monero1-19/+5
instead of the (incorrect) check for whether we think we might have a user for it at some point in the near future. We can reconnect.
2020-12-15protocol: remove unused (and cunningly uninitialized) fieldmoneromooo-monero1-2/+0
2020-12-15p2p: ifx getting seed nodes for uncommon casesmoneromooo-monero1-1/+3
The code is technically correct, but liable to easily become incorrect with changes
2020-12-14daemon: the ban command can now load IPs from a file (ban @filename)moneromooo-monero2-4/+42
2020-12-13p2p: remove peers from grey and anchors lists when blockedmoneromooo-monero1-0/+2
2020-12-13p2p: ignore incoming peer list entries when we have them blockedmoneromooo-monero1-1/+3
2020-12-12protocol: include first new block in chain entry responsemoneromooo-monero2-0/+12
2020-12-11protocol: stricter checks on received chain hash listmoneromooo2-0/+36
2020-12-11protocol: revert incoming chain height check against local chainmoneromooo-monero1-1/+1
We can actually request a chain that's further away from what we have as we buffer more and more
2020-12-10protocol: one more sanity check on usable data from a peermoneromooo-monero1-1/+1
2020-12-10protocol: drop origin IP if a block fails to verify in sync modemoneromooo-monero5-24/+53
It would otherwise be possible for a peer to send bad blocks, then disconnect and reconnect again, escaping bans
2020-12-10protocol: add a sanity check to the number of block hashes sentmoneromooo-monero2-1/+2
2020-12-10protocol: fix asking for pruned blocks for v10moneromooo-monero1-1/+1
Old format is still alloewd there, this is a two fork update
2020-12-10protocol: more restrictive checks on chain entry responsemoneromooo-monero1-1/+8
2020-12-10protocol: fix switchting to adding blocks if noone's adding the next spanmoneromooo-monero1-2/+1
2020-12-08Fixed issues found by static analysisSChernykh2-5/+5
- rolling_median: tried to free uninitialized pointer in a constructor - net_node.inl: erase-remove idiom was used incorrectly. remove_if doesn't actually remove elements, see http://cpp.sh/6fcjv - bulletproofs.cc: call to sizeof() instead of vector.size(), luckily it only impacts performance and not code logic there
2020-12-06protocol: drop peers that don't reply to queriesmoneromooo3-11/+37
2020-12-06p2p: fix race condition accessing a deleted contextmoneromooo-monero3-10/+12
2020-12-06db_lmdb: move spammy "not found in db" message to TRACEmoneromooo-monero1-2/+2
These are functions that check whether a tx is in the db, so whether it is there or not is really not interesting, and it seems to scare people from time to time
2020-12-05p2p: drop peers that spam peer listsmoneromooo-monero2-0/+6
There's always some people who just want to abuse things
2020-12-04keep only the last seen node on a given host in the white listmoneromooo2-0/+15
2020-12-04protocol: drop peers that decrease claimed heightmoneromooo1-1/+16
2020-12-04protocol: add scoring system to drop peers that don't behavemoneromooo3-11/+52
2020-12-04crypto: fix non zero scalar being 0 after reducingmoneromooo-monero1-4/+8
2020-12-03p2p: add a tor seed nodemoneromooo-monero1-1/+2
2020-12-03wallet2: set propagation timeout to current max timeoutselsta1-1/+2
2020-12-03p2p: fix endianness when checking IPv6 addresses mapping to IPv4moneromooo-monero1-5/+3
2020-12-03p2p: make this work with boost <= 1.65 (pffff)moneromooo-monero1-0/+4
2020-12-03p2p: rewrite boost's make_address_v4 to cater for < 1.66moneromooo1-9/+14
2020-11-29p2p: give all hosts the same chance of being picked for connectingmoneromooo1-1/+26
even if some run more than one node
2020-11-29net_node: add tor / i2p seed nodesselsta1-2/+14
Co-authored-by: Lee Clagett <code@leeclagett.com>
2020-11-28Allow tx note edits via TransactionHistory object in wallet/apidsc3-0/+13
2020-11-25cryptonote_core: dandelion - use local height or median height if syncingxiphon7-15/+75
2020-11-24wallet2: check imported multisig curve points are in main subgroupCrypto City1-0/+14
2020-11-19rpc: get_info - add 'synchronized' fieldxiphon2-1/+4
2020-11-17Change Dandelion++ fluff probability to 20%, and embargo timeout to 39sLee Clagett2-4/+4
A 20% fluff probability increases the precision of a spy connected to every node by 10% on average, compared to a network using 0% fluff probability. The current value (10% fluff) should increase precision by ~5% compared to baseline. This decreases the expected stem length from 10 to 5. The embargo timeout was therefore lowered to 39s; the fifth node in a stem is expected to have a 90% chance of being the first to timeout, which is the same probability we currently have with an expected stem length of 10 nodes.
2020-11-17rpc: skip non-synced bootstrap daemons in --no-sync mode tooxiphon3-17/+21
2020-11-16Better log message for unusable anon networksHoward Chu3-15/+18
2020-11-15Fix timeout checks for forwarded and Dandelion++ stem txesLee Clagett4-9/+46
2020-11-15rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2Pxiphon1-0/+9
2020-11-14wallet_api: TransactionHistory - fill unconfirmed out payments destsxiphon1-0/+4
2020-11-11Silence stupid warningsHoward Chu2-3/+3
2020-11-03Switch to Dandelion++ fluff mode if no out connections for stem modeLee Clagett1-6/+4
2020-11-03protocol: reject empty incoming block messagesmoneromooo-monero1-0/+7
2020-11-03p2p: use /16 filtering on IPv4-within-IPv6 addressesmoneromooo-monero1-2/+30
IPv6 addresses include a range that can map IPv4 addresses, which allowed those mapped addresses to bypass filtering. This filter should be replaced by AS filtering at some point.
2020-10-29Fix CLI and unrestricted RPC relay_tx with stempoolLee Clagett1-2/+8
2020-10-29Add rpc-restricted-bind-ip optionHoward Chu4-4/+55
Fixes #6369
2020-10-28Add RELINK_TARGETS, monero_add_target_no_relink and use ↵mj-xmr2-1/+4
monero_add_executable/monero_add_library where possible (mj-xmr) Add monero_add_minimal_executable and use in tests This is done in order not to have to relink targets, when just an .so changed, but not its interface.
2020-10-27p2p: remove banned peers from the white listmoneromooo1-0/+4
2020-10-20net_node: add --ban-list optionselsta3-0/+33
2020-10-20blockchain: remove some dead codemoneromooo-monero1-8/+0
This is already done
2020-10-20util: fix escaping more than one ?* in glob_to_regexmoneromooo-monero1-3/+3
2020-10-20Make Blockchain::get_fee_quantization_mask() compile timeSChernykh3-14/+31
This also removes potential thread safety bug in that function.
2020-10-19cryptonote_core: Fix missing override warningsNathan Dorfman1-2/+2
2020-10-19Add support for i2p and tor seed nodesLee Clagett2-54/+83
2020-10-18wallet2: wait for propagation timeout before marking tx as failedxiphon1-2/+6
2020-10-18bump default number of connections from 8 to 12moneromooo-monero1-1/+1
2020-10-18Allow setting start block on exportHoward Chu4-34/+69
And make import honor the starting block# recorded in a bootstrap file
2020-10-18blockchain: fix sync at v14 boundarymoneromooo-monero1-3/+15
Miners with MLSAG txes which they'd already verified included a couple in that block, but the consensus rules had changed in the meantime, so that block is technically invalid and any node which did not already have those two txes in their txpool could not sync. Grandfather them in, since it has no effect in practice.
2020-10-17wallet2_api: implement stop() to interrupt refresh() loop oncexiphon3-0/+11
2020-10-15Do not use peer_id tracking method over i2p/torLee Clagett2-40/+51
2020-10-13device: Ledger - update status codesxiphon2-65/+43
2020-10-13wallet2: skip reorgs exceeding max-reorg-depth wallet settingxiphon5-0/+56
2020-10-13fix next_seed_height regression in getblocktemplate rpcAlexis Enston1-0/+7
2020-10-13core_rpc_server: on_get_blocks - forward bootstrap daemon errorxiphon1-3/+11
2020-10-12core_rpc_server: on_send_raw_tx - fix bootstrap daemon mode checkxiphon1-1/+1
2020-10-12wallet2: fix missing m_state field in wallet serializationmoneromooo-monero1-1/+3
2020-10-12tx_pool: silence spammy harmless warning till we fix the bugmoneromooo-monero1-1/+4
2020-10-12Dandelion++: skip desynced peers in stem phasexiphon8-30/+37
2020-10-10Change epee binary output from std::stringstream to byte_streamLee Clagett4-24/+25
2020-10-06Fix tx flush callback queueingLee Clagett1-23/+12
2020-09-27rpc_private_headers declaration fixMichal m@lbit Malicki1-1/+1
2020-09-24fix a couple bugs found by OSS-fuzzmoneromooo-monero2-0/+8
- index out of bounds when importing outputs - accessing invalid CLSAG data
2020-09-20daemon: Windows - fix FAT32 warning, trailing backslash is requiredxiphon1-1/+1
2020-09-19Extend TransactionInfo with coinbase and description attributes in wallet/apidsc4-0/+23
2020-09-19Allow AddressBook description edits via wallet/api interfacedsc3-0/+21
2020-09-18Update error messages in daemonTadeas Moravec2-101/+203
When given a wrong argument, some daemon commands failed with "unknown command" error, instead of a meaningful error message. This patch brings consistency into the error messages. In several places, this patch removes relatively useful messages, and replaces them with more generic ones. E.g., - std::cout << "use: print_pl [white] [gray] [<limit>] [pruned] [publicrpc]" << std::endl; + std::cout << "Invalid syntax: Too many parameters. For more details, use the help command." << std::endl; There are two reasons for this: 1. Consistency. 2. Removing duplicates. The detailed information about the parameters is present in the help messages already. Having it in two places increases the risk that the messages would get out of date.
2020-09-15wallet2: adapt to deterministic unlock timeTheCharlatan10-23/+57
2020-09-15blockchain: deterministic UNIX time unlock checksmoneromooo-monero3-28/+65
Based on a patch by TheCharlatan <seb.kung@gmail.com>
2020-09-14simplewallet fix wrong persistent-rpc-client-id name in helpmoneromooo-monero1-1/+1
2020-09-14build: prepare v0.17selsta4-3/+4
2020-09-14Remove unused macros from cryptonote_config.hTheCharlatan1-2/+0
2020-09-12wallet2: fix tx sanity check triggering on pre-rct outputsmoneromooo-monero2-4/+9
2020-09-09Fix typo in command line argument descriptionReinaldulin1-1/+1
2020-09-07blockchain: fix pow skipping for old blocks without precalc hashmoneromooo-monero1-1/+1
2020-09-07rpc: assume randomx from v13 onwardsmoneromooo-monero1-2/+2
2020-09-04Let stagenet hardfork happen before mainnet.Norman Moeschter1-2/+2
2020-09-04enable CLSAG support for Trezor clientDusan Klinec2-13/+18
2020-09-02hardforks: add v13/v14 for testnetmoneromooo-monero1-0/+2
2020-09-01update error message "No unlocked balance in the specified account"woodser1-1/+1
2020-09-01threadpool: guard against exceptions in jobs, and armour platingmoneromooo-monero7-40/+52
Those would, if uncaught, exit run and leave the waiter to wait indefinitely for the number of active jobs to reach 0
2020-08-29net: fix get_tcp_endpoint, boost address_v4 ip in host byte orderxiphon1-1/+1
2020-08-28Bind signature to full address and signing modeSarang Noether11-51/+45
2020-08-28wallet: allow signing a message with spend or view keymoneromooo-monero13-36/+165
2020-08-28ringct: fix CLSAG serialization after boost/epee changesmoneromooo-monero2-1/+2
also fix a an assert message refering t MLSAG
2020-08-28Fix send scalar z in plaintextFrançois Colas1-4/+6
The scalar z has not been generated on the HW thus it can't be sent encrypted. The value is derived from the exported private view key.
2020-08-28Update minimal Ledger Monero app versionFrançois Colas1-2/+2
2020-08-28Update protocol version with Ledger's HWFrançois Colas1-1/+1
2020-08-27functional_tests: add a large (many randomx epochs) p2p reorg testmoneromooo-monero1-4/+35
2020-08-27functional_tests: add randomx testsmoneromooo-monero1-4/+46
2020-08-27core: fix mining from a block that's not the current topmoneromooo-monero9-44/+86
2020-08-27draft support of clsagcslashm2-0/+157
2020-08-27CLSAG device supportSarang Noether5-21/+47
2020-08-27CLSAG optimizationsSarang Noether2-132/+139
2020-08-27Integrate CLSAGs into moneromoneromooo-monero16-108/+425
They are allowed from v12, and MLSAGs are rejected from v13.
2020-08-27CLSAG signaturesSarang Noether8-0/+382
2020-08-21enforce claiming maximum coinbase amountmoneromooo-monero2-2/+3
Claiming a slightly lesser amount does not yield the size gains that were seen pre rct, so this closes a fingerprinting vector
2020-08-19Fix ZMQ pruned bulletproof transactionsLee Clagett1-1/+5
2020-08-17Revert "Use domain-separated ChaCha20 for in-memory key encryption"luigi11114-98/+50
This reverts commit 921dd8dde5d381052d0aa2936304a3541a230c55.
2020-08-17replace most boost serialization with existing monero serializationmoneromooo-monero24-379/+826
This reduces the attack surface for data that can come from malicious sources (exported output and key images, multisig transactions...) since the monero serialization is already exposed to the outside, and the boost lib we were using had a few known crashers. For interoperability, a new load-deprecated-formats wallet setting is added (off by default). This allows loading boost format data if there is no alternative. It will likely go at some point, along with the ability to load those. Notably, the peer lists file still uses the boost serialization code, as the data it stores is define in epee, while the new serialization code is in monero, and migrating it was fairly hairy. Since this file is local and not obtained from anyone else, the marginal risk is minimal, but it could be migrated later if needed. Some tests and tools also do, this will stay as is for now.
2020-08-17Avoid some temporary strings when reading off the databasemoneromooo-monero11-92/+92
2020-08-16rpc: always send raw txes through P2P (don't use bootstrap daemon)xiphon1-43/+56
It turns out that some remote (bootstrap) nodes silently drop / don't broadcast client's transactions.
2020-08-16Fix build with Boost 1.74moneromooo-monero2-0/+6
Thanks iDunk for testing
2020-08-14Change ZMQ-JSON txextra to hex and remove unnecessary base fieldsLee Clagett4-5/+32
2020-08-14Optimize ZMQ-JSON vector reading; GetBlocksFast reads 24%+ fasterLee Clagett1-3/+19
2020-08-14Switch to insitu parsing for ZMQ-JSON; GetBlocksFast reads 13%+ fasterLee Clagett6-11/+15
2020-08-14Fix pruned tx for ZMQ's GetBlocksFastLee Clagett4-17/+40
2020-08-10simplewallet: allow setting tx keys when sending to a subaddressmoneromooo-monero3-5/+33
The tx key derivation is different then
2020-08-10cryptonote_protocol: don't synced pruned blocks before v11cohcho1-2/+2
There are a few Borromean proofs txes in the v8 era, and these aren't supported by get_pruned_transaction_weight. Moreover, only only the most recent variant of bulletproofs is currently supported.
2020-08-09Use domain-separated ChaCha20 for in-memory key encryptionSarang Noether4-50/+98
2020-08-09Updates InProofV1, OutProofV1, and ReserveProofV1 to new V2 variants that ↵Sarang Noether4-26/+167
include all public proof parameters in Schnorr challenges, along with hash function domain separators. Includes new randomized unit tests.
2020-08-08wallet2: fix setting tx keys when another is already setmoneromooo-monero1-10/+10
insert doesn't actually insert if another element with the same key is already in the map
2020-08-05Fix broken multisig pubkey sortingJason Rhinelander1-2/+2
The sort predicate is a boolean ordered-before value, but these are returning the memcmp value directly, and thus returns true whenever the pubkeys aren't equal. This means: - it isn't actually sorting. - it can (and does) segfault for some inputs.
2020-08-03Tweak format, add option for difficultyHoward Chu1-11/+36
Set input, output, ringsize averages to 2 decimal places precision Add option to show min/max/av per-block difficulty
2020-08-01Add options to print daily coin emission and feesHoward Chu1-0/+32
Closes #6735
2020-08-01Don't forget size of prunable txn partHoward Chu1-0/+2
Fixes #6732
2020-07-31wallet2: fix wrong name when checking RPC costmoneromooo-monero1-1/+1
2020-07-30rpc: reject wrong sized txidmoneromooo-monero1-6/+4
Reporter requested credit to be given to Decred
2020-07-30blockchain: guard against exceptions in add_new_block/childrenmoneromooo-monero1-0/+11
Reporter requested credit to be given to Decred
2020-07-25rpc: return empty txid get_outs rather than 00..00 when not requestedmoneromooo-monero1-1/+2
It's more obvious there's no txid, and it saves space
2020-07-24daemon: don't print "(pruned)" for coinbase txesmoneromooo-monero1-1/+3
Pruned coinbase txes are the same as unpruned ones, so the prunable data is empty
2020-07-24Wallet, daemon: From 'help_advanced' back to 'help', and new 'apropos' commandrbrunner76-49/+110
2020-07-20wallet2_api: implement runtime proxy configurationxiphon12-42/+202
2020-07-20wallet2: throw a error on wallet initialization failurexiphon1-1/+4
2020-07-09tx_pool: mine stem txes in fake chain modemoneromooo-monero3-6/+14
This fixes the functional tests, since txes would not be mined after being sent to the daemon (they'd be waiting for the dandelion timeout first)
2020-07-08blockchain: fix timestamp/difficulty cache getting out of syncmoneromooo-monero2-1/+17
The cache is discarded when a block is popped, but then gets rebuilt when the difficulty for next block is requested. While this is all properly locked, it does not take into account the delay caused by a database transaction being only committed (and thus its effects made visible to other threads) later on, which means another thread could request difficulty between the pop and the commit, which would end up using stale database view to build the cache, but that cache would not be invalidated again when the transaction gets committed, which would cause the cache to not match the new database data. To fix this, we now keep track of when the cache is invalidated so we can invalidate it again upon database transaction commit to ensure it gets calculated again with fresh data next time it is nedeed.
2020-07-06version: update nameselsta1-1/+1
2020-06-25daemon: print sampling time in print_net_statsmoneromooo-monero1-2/+4
2020-06-25util: fix kilo prefix typo (K instead of k)moneromooo-monero1-1/+1
2020-06-22updates: mac gui .tar.bz2 -> .dmgselsta1-0/+2
2020-06-21add trezor support to sweep_singleDusan Klinec1-0/+26
2020-06-21simplewallet: add show_qr_code commandselsta3-0/+65
Thanks to iDunk for helping with Windows.
2020-06-14avoid a couple needless copiesmoneromooo-monero2-2/+2
2020-06-12Fix D++ block template checkLee Clagett1-1/+1
2020-06-09repo: update donation fund addressselsta1-1/+1
2020-06-09daemon: guard against rare 'difficulty drift' bug with checkpoints and ↵stoffu10-48/+280
recalculation On startup, it checks against the difficulty checkpoints, and if any mismatch is found, recalculates all the blocks with wrong difficulties. Additionally, once a week it recalculates difficulties of blocks after the last difficulty checkpoint.
2020-06-06fix warning by removing std::move() on temporary http_client objectwoodser1-1/+1
2020-06-05blockchain: fix total_height in getblocks.bin responsemoneromooo-monero1-0/+1
2020-06-05rpc: fix loading rpc payment data from filemoneromooo-monero1-1/+1
Got broken after making one of those micro optimizations requested on review..
2020-05-31Fix boost <1.60 compilation and fix boost 1.73+ warningsLee Clagett8-12/+15
2020-05-31rpc: fix comparison of seconds vs microsecondsmoneromooo-monero1-1/+1
2020-05-31miner: increase min/max intervals to full extentsmoneromooo-monero1-4/+3
This prevents setting target to, eg, 65 being ignored and remove an unused constant
2020-05-28rpc: fix relay_tx error return mixupmoneromooo-monero1-1/+1
2020-05-27Fix incorrect lenght of command INS_PREFIX_HASHFrançois Colas1-2/+2
buffer_send[4] (LC) is an unsigned char, len should not exceed 254 (255 - 1 for the option).
2020-05-24daemon: remove time based "update needed" status stringmoneromooo-monero1-2/+1
2020-05-25fix typo in pick_preferred_rct_inputsDenis Smirnov1-1/+1
2020-05-24[master] MMS: New 'config_checksum' subcommandrbrunner74-27/+121
2020-05-24easylogging++: sanitize log payloadmoneromooo-monero3-71/+120
Some of it might be coming from untrusted sources Reported by itsunixiknowthis
2020-05-23rpc: don't display invalid json errors on default log levelmoneromooo-monero1-5/+5
It's not something the user needs to know, and will display attacker controlled data
2020-05-21daemon: complain if data dir resides on FAT32 volume (Windows)xiphon1-0/+21
2020-05-20rpc: add a sanity limit to a few RPC in restricted modemoneromooo-monero2-6/+46
2020-05-20net_node: remove dead seed nodesselsta1-10/+0
2020-05-19rpc: lock access to the rpc payment objectmoneromooo-monero2-0/+12
2020-05-19cryptonote_core: remove "We are most likely forked" messagemoneromooo-monero2-36/+0
It's time based and we don't have forks every 6 months anymore
2020-05-19protocol: move the "peer claims higher version" warning to debugmoneromooo-monero1-2/+2
Because there's a neverending supply of cunts claiming a wrong version just to say "look at me" I guess
2020-05-19fix a few typos in error messagesmoneromooo-monero2-5/+5
Reported by adrelanos
2020-05-19wallet2: fix multisig data clearing stomping on a vectormoneromooo-monero1-1/+1
2020-05-19cryptonote_protocol: stricter limit to number of objects requestedmoneromooo-monero1-1/+2
Reported by xnbya
2020-05-19cryptonote_protocol: reject requests/notifications before handshakemoneromooo-monero1-0/+20
Reported by xnbya
2020-05-19easylogging++: sanitize log payloadmoneromooo-monero3-71/+120
Some of it might be coming from untrusted sources Reported by itsunixiknowthis
2020-05-18testdb: add override in a couple places where it's missingmoneromooo-monero1-2/+2
2020-05-18serialization: fix bad rapidjson api usagemoneromooo-monero1-1/+1
2020-05-17blockchain: detect and log bad difficulty calculationsmoneromooo-monero1-5/+72
2020-05-17wallet_rpc_server: use unlock_time in suggested confirmations calcmoneromooo-monero1-5/+17
2020-05-16protocol: don't drop a connection if we can't get a compatible chainmoneromooo-monero1-1/+0
This can now happen if: - we have a pruned db - we have not connected to the monero network for a while - we connect to a node - that node asks us for history - we only have a pruned version of the most recent common block In that case, it's better to not reply but keep the connection alive, so we can sync off it.
2020-05-16keccak: remove aligned checkmoneromooo-monero1-10/+2
Some tools report the alignment check as UB, which seems a bit dubious, but since the performance difference between the two versions is minimal, I'll go with the safe version
2020-05-16Support for supercop ASM in wallet, and benchmark for supercopLee Clagett6-2/+156
2020-05-16simplewallet: add missing calls to on_commandmoneromooo-monero1-8/+8
It resets the inactivity time
2020-05-16db_lmdb: test for mmap support at init timemoneromooo-monero2-0/+30
It'll make it clearer when a DB init failure is due to being on a filesystem which does not support mmap
2020-05-15Add randomized delay when forwarding txes from i2p/tor -> ipv4/6Lee Clagett8-32/+122