moneromooo-monero
8c8f3d73b5
protocol: fix false positives dropping peers
...
it'd trigger on reorgs
3 years ago
luigi1111
e42bb297b8
Revert "Reject existing claimed blocks in sync mode"
3 years ago
Alexander Blair
138092ddc9
Merge pull request #7189
...
adcbcd8f8
protocol: drop nodes if they claim new data but only give stale data (moneromooo-monero)
3 years ago
Alexander Blair
6cea8ca895
Merge pull request #7155
...
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)
3 years ago
moneromooo-monero
adcbcd8f8b
protocol: drop nodes if they claim new data but only give stale data
...
Some joker is spending time actually doing this
3 years ago
moneromooo-monero
a4cdcd9bd0
rpc: add a busy_syncing field to get_info
...
true if and pretty much only if new blocks are being added
3 years ago
moneromooo-monero
42ee309292
protocol: reject claimed block hashes that already are in the chain
3 years ago
moneromooo-monero
a436c36256
protocol: drop peers we can't download anything from in sync mode
...
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.
3 years ago
luigi1111
54a4071473
Merge pull request #7131
...
c1d6547
protocol: include first new block in chain entry response (moneromooo-monero)
3 years ago
luigi1111
4f70af3af1
Merge pull request #7128
...
b6b2c9b
protocol: stricter checks on received chain hash list (moneromooo)
3 years ago
moneromooo-monero
c1d654708f
protocol: include first new block in chain entry response
3 years ago
moneromooo
b6b2c9b8e8
protocol: stricter checks on received chain hash list
3 years ago
moneromooo-monero
d6069f7ded
protocol: revert incoming chain height check against local chain
...
We can actually request a chain that's further away from what we
have as we buffer more and more
3 years ago
Alexander Blair
7a9ba3f154
Merge pull request #7122
...
3a3370096
protocol: one more sanity check on usable data from a peer (moneromooo-monero)
3 years ago
Alexander Blair
575f6b5f13
Merge pull request #7120
...
105afa555
protocol: fix asking for pruned blocks for v10 (moneromooo-monero)
3 years ago
Alexander Blair
d6b2c676a9
Merge pull request #7118
...
ef1524ecc
protocol: add a sanity check to the number of block hashes sent (moneromooo-monero)
3 years ago
Alexander Blair
f9eee6f193
Merge pull request #7111
...
d729730d3
protocol: drop origin IP if a block fails to verify in sync mode (moneromooo-monero)
3 years ago
Alexander Blair
37800ceb5b
Merge pull request #7107
...
f47f1a069
protocol: more restrictive checks on chain entry response (moneromooo-monero)
3 years ago
moneromooo-monero
3a3370096e
protocol: one more sanity check on usable data from a peer
3 years ago
moneromooo-monero
105afa5557
protocol: fix asking for pruned blocks for v10
...
Old format is still alloewd there, this is a two fork update
3 years ago
moneromooo-monero
d729730d38
protocol: drop origin IP if a block fails to verify in sync mode
...
It would otherwise be possible for a peer to send bad blocks,
then disconnect and reconnect again, escaping bans
3 years ago
luigi1111
f570ce1349
Merge pull request #7109
...
e83a220
protocol: fix switchting to adding blocks if noone's adding the next span (moneromooo-monero)
3 years ago
moneromooo-monero
ef1524ecca
protocol: add a sanity check to the number of block hashes sent
3 years ago
moneromooo-monero
f47f1a0691
protocol: more restrictive checks on chain entry response
3 years ago
moneromooo-monero
e83a220603
protocol: fix switchting to adding blocks if noone's adding the next span
3 years ago
moneromooo
ce26c5b2dd
protocol: drop peers that don't reply to queries
4 years ago
moneromooo
fa79148e0c
protocol: drop peers that decrease claimed height
4 years ago
moneromooo
1382b17aa1
protocol: add scoring system to drop peers that don't behave
4 years ago
xiphon
9d7f473af0
cryptonote_core: dandelion - use local height or median height if syncing
4 years ago
moneromooo-monero
8965489acb
protocol: reject empty incoming block messages
4 years ago
xiphon
6352090e6d
Dandelion++: skip desynced peers in stem phase
4 years ago
Alexander Blair
dd7fd2ef80
Merge pull request #6753
...
4ff2074c7
cryptonote_protocol: don't synced pruned blocks before v11 (cohcho)
4 years ago
Alexander Blair
c6c4ead44e
Merge pull request #6614
...
fb31167b1
Wallet, daemon: From 'help_advanced' back to 'help', and new 'apropos' command (rbrunner7)
4 years ago
Alexander Blair
461651fce5
Merge pull request #6542
...
35665df20
protocol: don't drop a connection if we can't get a compatible chain (moneromooo-monero)
4 years ago
cohcho
4ff2074c74
cryptonote_protocol: don't synced pruned blocks before v11
...
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.
4 years ago
Alexander Blair
c108c5e2f0
Merge pull request #6354
...
67ade8005
Add randomized delay when forwarding txes from i2p/tor -> ipv4/6 (Lee Clagett)
4 years ago
rbrunner7
fb31167b12
Wallet, daemon: From 'help_advanced' back to 'help', and new 'apropos' command
4 years ago
Alexander Blair
a0d179e528
Merge pull request #6512
...
5ef0607da
Update copyright year to 2020 (SomaticFanatic)
4 years ago
luigi1111
f1334ebf64
Merge pull request #6566
...
567402c
protocol: move the 'peer claims higher version' warning to debug (moneromooo-monero)
4 years ago
moneromooo-monero
567402c508
protocol: move the "peer claims higher version" warning to debug
...
Because there's a neverending supply of cunts claiming a wrong
version just to say "look at me" I guess
4 years ago
moneromooo-monero
bb5c5dff15
cryptonote_protocol: reject requests/notifications before handshake
...
Reported by xnbya
4 years ago
moneromooo-monero
35665df206
protocol: don't drop a connection if we can't get a compatible chain
...
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.
4 years ago
Lee Clagett
67ade80055
Add randomized delay when forwarding txes from i2p/tor -> ipv4/6
4 years ago
SomaticFanatic
5ef0607da6
Update copyright year to 2020
...
Update copyright year to 2020
4 years ago
moneromooo-monero
f80ab3edde
cryptonote_protocol: do not request pruned borromean sig txes
...
We don't have a function to calculate their weight from a pruned
version (yet).
4 years ago
luigi1111
9c660e159e
Merge pull request #6278
...
387fd66
Daemon: Print estimates for time until fully synced (rbrunner7)
4 years ago
Lee Clagett
02d887c2e5
Adding Dandelion++ support to public networks:
...
- New flag in NOTIFY_NEW_TRANSACTION to indicate stem mode
- Stem loops detected in tx_pool.cpp
- Embargo timeout for a blackhole attack during stem phase
4 years ago
luigi1111
096e2135dd
Merge pull request #6214
...
054b4c7
protocol: request txpool contents when synced (moneromooo-monero)
4 years ago
Alexander Blair
a762084b15
Merge pull request #6282
...
66472074
Daemon: Guard against reporting "synchronized" too early (rbrunner7)
4 years ago
moneromooo-monero
054b4c7f41
protocol: request txpool contents when synced
...
A newly synced Alice sends a (typically quite small) list of
txids in the local tpxool to a random peer Bob, who then uses
the existing tx relay system to send Alice any tx in his txpool
which is not in the list Alice sent
4 years ago