summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #7350luigi11112021-04-068-26/+63
|\ | | | | | | 4a9ae3e fix serialization being different on mac (moneromooo-monero)
| * fix serialization being different on macmoneromooo-monero2021-03-058-26/+63
| | | | | | | | | | | | | | | | | | | | | | | | On Mac, size_t is a distinct type from uint64_t, and some types (in wallet cache as well as cold/hot wallet transfer data) use pairs/containers with size_t as fields. Mac would save those as full size, while other platforms would save them as varints. Might apply to other platforms where the types are distinct. There's a nasty hack for backward compatibility, which can go after a couple forks.
* | Merge pull request #7638luigi11112021-03-294-2/+3
|\ \ | | | | | | | | | c18cdd3 build: prepare v0.17.2.0 (selsta)
| * | build: prepare v0.17.2.0selsta2021-03-264-2/+3
| | |
* | | Merge pull request #7621luigi11112021-03-292-27/+43
|\ \ \ | | | | | | | | | | | | | | | | 21ab1de cryptonote_protocol_handler: fix race condition (anon) 699e82c cryptonote_protocol_handler: add race condition demo (anon)
| * | | cryptonote_protocol_handler: fix race conditionanon2021-03-222-27/+43
| |/ /
* | | Merge pull request #7615luigi11112021-03-292-5/+5
|\ \ \ | |/ / |/| | | | | 9ca9f12 Fixed issues found by static analysis (SChernykh)
| * | Fixed issues found by static analysisSChernykh2021-03-182-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
* | | Merge pull request #7419luigi11112021-03-201-14/+1
|\ \ \ | |/ / |/| | | | | 25588de trezor: simplify recognition of integrated addresses (Dusan Klinec)
| * | trezor: simplify recognition of integrated addressesDusan Klinec2021-03-031-14/+1
| | | | | | | | | | | | | | | now it is possible to simplify integrated addresses recognition using transaction destination info directly fixes https://github.com/monero-project/monero-gui/issues/3346
* | | Merge pull request #7336luigi11112021-03-052-21/+10
|\ \ \ | |/ / |/| | | | | | | | d8137dc device_trezor: add redundant check (anon) c6e1d7b device_trezor: wipe string fields properly (anon)
| * | device_trezor: add redundant checkanon2021-01-201-1/+1
| | |
| * | device_trezor: wipe string fields properlyanon2021-01-201-20/+9
| |/
* / p2p: allow CIDR notation in DNS blocklistmoneromooo-monero2021-01-211-5/+14
|/
* p2p: only log to global when a blocked IP is not already blockedmoneromooo-monero2021-01-081-1/+8
|
* Command max_bytes moved from dynamic map to static switchLee Clagett2020-12-237-45/+75
|
* Merge pull request #7267luigi11112021-01-061-4/+9
|\ | | | | | | c2295f5 protocol: handle receiving a block hash we've not added yet (moneromooo-monero)
| * protocol: handle receiving a block hash we've not added yetmoneromooo-monero2021-01-021-4/+9
| |
* | Merge pull request #7248luigi11112021-01-064-0/+44
|\ \ | | | | | | | | | 3c7eec1 add a max levin packet size by command type (moneromooo-monero)
| * | add a max levin packet size by command typemoneromooo-monero2021-01-034-0/+44
| | |
* | | Merge pull request #7269Alexander Blair2021-01-031-0/+2
|\ \ \ | | | | | | | | | | | | 1128146c4 blockchain: lock access to m_blocks_hash_of_hashes (moneromooo-monero)
| * | | blockchain: lock access to m_blocks_hash_of_hashesmoneromooo-monero2021-01-021-0/+2
| | |/ | |/| | | | | | | | | | it is accessed both when adding and when prevalidating a set of new hashes from a peer
* / | build: prepare v0.17.1.9selsta2021-01-024-2/+3
|/ /
* | Merge pull request #7247Alexander Blair2021-01-015-18/+80
|\ \ | | | | | | | | | 57f7c2e53 protocol: more sanity checks in new chain block hashes (moneromooo-monero)
| * | protocol: more sanity checks in new chain block hashesmoneromooo-monero2020-12-315-18/+80
| | |
* | | Merge pull request #7239Alexander Blair2021-01-011-0/+1
|\ \ \ | | | | | | | | | | | | e685f52e2 p2p: fix deadlock banning while updating peer lists (moneromooo)
| * | | p2p: fix deadlock banning while updating peer listsmoneromooo2020-12-311-0/+1
| |/ /
* | | Merge pull request #7235Alexander Blair2021-01-011-1/+1
|\ \ \ | |_|/ |/| | | | | 00253b717 protocol: don't reset last request time on an idle timer (moneromooo-monero)
| * | protocol: don't reset last request time on an idle timermoneromooo-monero2020-12-301-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
* / Add aggressive restrictions to pre-handshake p2p buffer limitLee Clagett2020-12-294-1/+7
|/
* rpc: limit the number of txes for get_blocks.binmoneromooo-monero2020-12-2911-22/+32
|
* Merge pull request #7206Alexander Blair2020-12-281-23/+21
|\ | | | | | | 8c8f3d73b protocol: fix false positives dropping peers (moneromooo-monero)
| * protocol: fix false positives dropping peersmoneromooo-monero2020-12-271-23/+21
| | | | | | | | it'd trigger on reorgs
* | Merge pull request #7197Alexander Blair2020-12-281-1/+1
|\ \ | |/ |/| | | 0443cccb5 cryptonote_basic: guess what got lost porting patches to branches again (moneromooo-monero)
| * cryptonote_basic: guess what got lost porting patches to branches againmoneromooo-monero2020-12-261-1/+1
| |
* | Revert "Reject existing claimed blocks in sync mode"luigi11112020-12-271-18/+19
|/
* Merge pull request #7189Alexander Blair2020-12-263-5/+18
|\ | | | | | | adcbcd8f8 protocol: drop nodes if they claim new data but only give stale data (moneromooo-monero)
| * protocol: drop nodes if they claim new data but only give stale datamoneromooo-monero2020-12-253-5/+18
| | | | | | | | Some joker is spending time actually doing this
* | Merge pull request #7183Alexander Blair2020-12-264-2/+3
|\ \ | | | | | | | | | ba60541f3 build: prepare v0.17.1.8 (selsta)
| * | build: prepare v0.17.1.8selsta2020-12-234-2/+3
| |/
* | Merge pull request #7181Alexander Blair2020-12-262-6/+18
|\ \ | | | | | | | | | e35bbb1e8 ban lists may now include subnets (moneromooo-monero)
| * | ban lists may now include subnetsmoneromooo-monero2020-12-222-6/+18
| |/
* | Merge pull request #7174Alexander Blair2020-12-267-11/+68
|\ \ | | | | | | | | | 5c3e84b6a restrict public node checks a little (moneromooo-monero)
| * | restrict public node checks a littlemoneromooo-monero2020-12-227-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
* | Merge pull request #7161Alexander Blair2020-12-262-0/+3
|\ \ | | | | | | | | | 07b50c42d rpc: get_info - add 'synchronized' field (xiphon)
| * | rpc: get_info - add 'synchronized' fieldxiphon2020-12-232-0/+3
| |/
* | Merge pull request #7155Alexander Blair2020-12-261-19/+18
|\ \ | | | | | | | | | | | | 42ee30929 protocol: reject claimed block hashes that already are in the chain (moneromooo-monero) a436c3625 protocol: drop peers we can't download anything from in sync mode (moneromooo-monero)
| * | protocol: reject claimed block hashes that already are in the chainmoneromooo-monero2020-12-171-0/+13
| | |
| * | protocol: drop peers we can't download anything from in sync modemoneromooo-monero2020-12-161-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.
* | | Merge pull request #7146Alexander Blair2020-12-261-0/+2
|\ \ \ | | | | | | | | | | | | 3bb748ad9 p2p: remove peers from grey and anchors lists when blocked (moneromooo-monero)