summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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)
| * | | 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
| |