summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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)
| * | | p2p: remove peers from grey and anchors lists when blockedmoneromooo-monero2020-12-131-0/+2
| |/ /
* | | Merge pull request #7139Alexander Blair2020-12-265-5/+67
|\ \ \ | |_|/ |/| | | | | fb9ef2426 Optional DNS based blocklist (moneromooo-monero)
| * | Optional DNS based blocklistmoneromooo-monero2020-12-205-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
* | Merge pull request #7144luigi11112020-12-191-1/+3
|\ \ | | | | | | | | | a569483 p2p: ignore incoming peer list entries when we have them blocked (moneromooo-monero)
| * | p2p: ignore incoming peer list entries when we have them blockedmoneromooo-monero2020-12-131-1/+3
| |/
* | Merge pull request #7142luigi11112020-12-192-4/+42
|\ \ | | | | | | | | | 905cc07 daemon: the ban command can now load IPs from a file (ban @filename) (moneromooo-monero)
| * | daemon: the ban command can now load IPs from a file (ban @filename)moneromooo-monero2020-12-142-4/+42
| |/
* / rpc: add a busy_syncing field to get_infomoneromooo-monero2020-12-174-1/+13
|/ | | | true if and pretty much only if new blocks are being added
* Merge pull request #7131v0.17.1.7luigi11112020-12-122-0/+12
|\ | | | | | | c1d6547 protocol: include first new block in chain entry response (moneromooo-monero)
| * protocol: include first new block in chain entry responsemoneromooo-monero2020-12-122-0/+12
| |
* | Merge pull request #7128luigi11112020-12-122-0/+36
|\ \ | | | | | | | | | b6b2c9b protocol: stricter checks on received chain hash list (moneromooo)
| * | protocol: stricter checks on received chain hash listmoneromooo2020-12-112-0/+36
| |/
* / protocol: revert incoming chain height check against local chainmoneromooo-monero2020-12-111-1/+1
|/ | | | | We can actually request a chain that's further away from what we have as we buffer more and more
* Merge pull request #7122Alexander Blair2020-12-101-1/+1
|\ | | | | | | 3a3370096 protocol: one more sanity check on usable data from a peer (moneromooo-monero)
| * protocol: one more sanity check on usable data from a peermoneromooo-monero2020-12-101-1/+1
| |
* | Merge pull request #7120Alexander Blair2020-12-101-1/+1
|\ \ | | | | | | | | | 105afa555 protocol: fix asking for pruned blocks for v10 (moneromooo-monero)
| * | protocol: fix asking for pruned blocks for v10moneromooo-monero2020-12-101-1/+1
| |/ | | | | | | Old format is still alloewd there, this is a two fork update
* | Merge pull request #7118Alexander Blair2020-12-102-1/+2
|\ \ | | | | | | | | | ef1524ecc protocol: add a sanity check to the number of block hashes sent (moneromooo-monero)
| * | protocol: add a sanity check to the number of block hashes sentmoneromooo-monero2020-12-102-1/+2
| | |
* | | Merge pull request #7116Alexander Blair2020-12-104-2/+3
|\ \ \ | | | | | | | | | | | | a700e6103 build: prepare v0.17.1.7 (selsta)
| * | | build: prepare v0.17.1.7selsta2020-12-104-2/+3
| | | |
* | | | Merge pull request #7111Alexander Blair2020-12-105-24/+53
|\ \ \ \ | | | | | | | | | | | | | | | d729730d3 protocol: drop origin IP if a block fails to verify in sync mode (moneromooo-monero)
| * | | | protocol: drop origin IP if a block fails to verify in sync modemoneromooo-monero2020-12-105-24/+53
| | |_|/ | |/| | | | | | | | | | | | | | It would otherwise be possible for a peer to send bad blocks, then disconnect and reconnect again, escaping bans
* | | | Merge pull request #7107Alexander Blair2020-12-101-1/+8
|\ \ \ \ | |/ / / |/| | | | | | | f47f1a069 protocol: more restrictive checks on chain entry response (moneromooo-monero)
| * | | protocol: more restrictive checks on chain entry responsemoneromooo-monero2020-12-101-1/+8
| | |/ | |/|
* | | Merge pull request #7109luigi11112020-12-101-2/+1
|\ \ \ | |_|/ |/| | | | | e83a220 protocol: fix switchting to adding blocks if noone's adding the next span (moneromooo-monero)
| * | protocol: fix switchting to adding blocks if noone's adding the next spanmoneromooo-monero2020-12-101-2/+1
| |/
* | Merge pull request #7076v0.17.1.6luigi11112020-12-072-40/+51
|\ \ | | | | | | | | | 37bb594 Do not use peer_id tracking method over i2p/tor (Lee Clagett)
| * | Do not use peer_id tracking method over i2p/torLee Clagett2020-10-112-40/+51
| | |
* | | Merge pull request #7073luigi11112020-12-072-0/+6
|\ \ \ | | | | | | | | | | | | 446b3c8 p2p: drop peers that spam peer lists (moneromooo-monero)