wowario
1196a9253b
v0.10 ASCII art
3 years ago
wowario
840928cd6b
initial commit
3 years ago
moneromooo-monero
2b918068cc
protocol: remove unreachable code
3 years ago
luigi1111
63c7ca07fb
Merge pull request #7136
...
23aae55
Remove payload copy in all outgoing p2p messages (Lee Clagett)
3 years ago
luigi1111
b12e195fba
Merge pull request #7620
...
fe63256
cryptonote_protocol_handler: fix race condition (anon)
ded2f3a
cryptonote_protocol_handler: add race condition demo (anon)
3 years ago
luigi1111
8c8197463f
Merge pull request #7310
...
76fe73b
Revert 'fix accessing an network address in a deleted context' (selsta)
3 years ago
anon
fe632560f4
cryptonote_protocol_handler: fix race condition
3 years ago
luigi1111
ce5800a225
Merge pull request #7346
...
85db173
Remove unused variables in monero codebase (Kevin Barbour)
3 years ago
luigi1111
2222d90491
Merge pull request #7294
...
f10c9a1
remove obsolete pruning debug code (moneromooo-monero)
3 years ago
Kevin Barbour
85db1734e7
Remove unused variables in monero codebase
...
There are quite a few variables in the code that are no longer
(or perhaps never were) in use. These were discovered by enabling
compiler warnings for unused variables and cleaning them up.
In most cases where the unused variables were the result
of a function call the call was left but the variable
assignment removed, unless it was obvious that it was
a simple getter with no side effects.
3 years ago
Lee Clagett
23aae5571b
Remove payload copy in all outgoing p2p messages
3 years ago
luigi1111
d259ed0740
Merge pull request #7119
...
dd5e689
protocol: add calls to reserve where appropriate (moneromooo-monero)
3 years ago
selsta
76fe73b8bd
Revert "fix accessing an network address in a deleted context"
...
This reverts commit 4e74385a1a
.
3 years ago
moneromooo-monero
f10c9a16c4
remove obsolete pruning debug code
4 years ago
Alexander Blair
747699541e
Merge pull request #7285
...
927141bcc
Command max_bytes moved from dynamic map to static switch (Lee Clagett)
4 years ago
luigi1111
69e4a2c62d
Merge pull request #7266
...
38a6e6e
protocol: handle receiving a block hash we've not added yet (moneromooo-monero)
4 years ago
Alexander Blair
dbaf95ac77
Merge pull request #7271
...
4e74385a1
fix accessing an network address in a deleted context (moneromooo-monero)
4 years ago
moneromooo-monero
b652d598d1
add a max levin packet size by command type
4 years ago
moneromooo-monero
4e74385a1a
fix accessing an network address in a deleted context
...
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
4 years ago
moneromooo-monero
38a6e6eb26
protocol: handle receiving a block hash we've not added yet
4 years ago
Alexander Blair
16c780d568
Merge pull request #7250
...
61b6e4cc6
Add aggressive restrictions to pre-handshake p2p buffer limit (Lee Clagett)
4 years ago
Alexander Blair
3bf0721ae6
Merge pull request #7246
...
0aa541b36
protocol: more sanity checks in new chain block hashes (moneromooo-monero)
4 years ago
moneromooo-monero
0aa541b361
protocol: more sanity checks in new chain block hashes
4 years ago
moneromooo-monero
31c69923ba
protocol: don't reset last request time on an idle timer
...
this prevents losing time of "idle time" for a peer, which could
otherwise be reset by another timed sync command from the peer
4 years ago
moneromooo-monero
bcdc6c62b7
protocol: fix false positives dropping peers
...
it'd trigger on reorgs
4 years ago
luigi1111
025db3d2b4
Revert "Reject existing claimed blocks in sync mode"
4 years ago
Alexander Blair
d61fdebaac
Merge pull request #7188
...
efe83982d
protocol: drop nodes if they claim new data but only give stale data (moneromooo-monero)
4 years ago
Alexander Blair
609dbe6b92
Merge pull request #7154
...
cf7e1571d
protocol: reject claimed block hashes that already are in the chain (moneromooo-monero)
af0a25544
protocol: drop peers we can't download anything from in sync mode (moneromooo-monero)
4 years ago
moneromooo-monero
efe83982d3
protocol: drop nodes if they claim new data but only give stale data
...
Some joker is spending time actually doing this
4 years ago
Lee Clagett
927141bcc4
Command max_bytes moved from dynamic map to static switch
4 years ago
moneromooo-monero
5a1ac9c0ef
rpc: add a busy_syncing field to get_info
...
true if and pretty much only if new blocks are being added
4 years ago
moneromooo-monero
cf7e1571d3
protocol: reject claimed block hashes that already are in the chain
4 years ago
Lee Clagett
61b6e4cc67
Add aggressive restrictions to pre-handshake p2p buffer limit
4 years ago
moneromooo-monero
af0a25544e
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.
4 years ago
luigi1111
e5decd0cde
Merge pull request #7130
...
543733d
protocol: include first new block in chain entry response (moneromooo-monero)
4 years ago
luigi1111
a57c95b2f1
Merge pull request #7127
...
5d1849a
protocol: stricter checks on received chain hash list (moneromooo)
4 years ago
moneromooo-monero
543733d42c
protocol: include first new block in chain entry response
4 years ago
moneromooo
5d1849a9eb
protocol: stricter checks on received chain hash list
4 years ago
moneromooo-monero
62e8ca5eaf
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
4 years ago
Alexander Blair
0f67569279
Merge pull request #7121
...
cd7e9769d
protocol: one more sanity check on usable data from a peer (moneromooo-monero)
4 years ago
Alexander Blair
bdaadf85dc
Merge pull request #7117
...
5dee031b2
protocol: add a sanity check to the number of block hashes sent (moneromooo-monero)
4 years ago
Alexander Blair
bb6d2d4b05
Merge pull request #7114
...
eb77790df
protocol: fix asking for pruned blocks for v10 (moneromooo-monero)
4 years ago
Alexander Blair
28e5e42986
Merge pull request #7110
...
d660f22ed
protocol: drop origin IP if a block fails to verify in sync mode (moneromooo-monero)
4 years ago
Alexander Blair
5b62a6f316
Merge pull request #7106
...
0f34cabb9
protocol: more restrictive checks on chain entry response (moneromooo-monero)
4 years ago
Alexander Blair
1e9483a2d5
Merge pull request #7009
...
7414e2bac
Change epee binary output from std::stringstream to byte_stream (Lee Clagett)
4 years ago
moneromooo-monero
cd7e9769d8
protocol: one more sanity check on usable data from a peer
4 years ago
moneromooo-monero
d660f22ed1
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
4 years ago
moneromooo-monero
dd5e689533
protocol: add calls to reserve where appropriate
4 years ago
moneromooo-monero
5dee031b25
protocol: add a sanity check to the number of block hashes sent
4 years ago
moneromooo-monero
eb77790dfb
protocol: fix asking for pruned blocks for v10
...
Old format is still alloewd there, this is a two fork update
4 years ago