Alexander Blair
747699541e
Merge pull request #7285
...
927141bcc
Command max_bytes moved from dynamic map to static switch (Lee Clagett)
3 years ago
Lee Clagett
927141bcc4
Command max_bytes moved from dynamic map to static switch
3 years ago
moneromooo-monero
b652d598d1
add a max levin packet size by command type
3 years ago
Alexander Blair
16c780d568
Merge pull request #7250
...
61b6e4cc6
Add aggressive restrictions to pre-handshake p2p buffer limit (Lee Clagett)
3 years ago
moneromooo-monero
0aa541b361
protocol: more sanity checks in new chain block hashes
3 years ago
moneromooo-monero
bcdc6c62b7
protocol: fix false positives dropping peers
...
it'd trigger on reorgs
3 years ago
luigi1111
025db3d2b4
Revert "Reject existing claimed blocks in sync mode"
3 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)
3 years ago
Lee Clagett
187b4d7521
Restrict duplicate keys in epee binary format
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
Lee Clagett
4978f69d7a
Fix byte_stream::put_n
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
1e9483a2d5
Merge pull request #7009
...
7414e2bac
Change epee binary output from std::stringstream to byte_stream (Lee Clagett)
4 years ago
Alexander Blair
6bddd54f9d
Merge pull request #7003
...
08eb0949f
Change to more efficient allocation strategy in byte_stream (Lee Clagett)
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
5ed604fe5b
crypto: fix non zero scalar being 0 after reducing
4 years ago
luigi1111
36d31ba0be
Merge pull request #7018
...
a9cd5d9
cryptonote_core: dandelion - use local height or median height if syncing (xiphon)
4 years ago
luigi1111
c041550ffa
Merge pull request #6973
...
be84f67
Switch to Dandelion++ fluff mode if no out connections for stem mode (Lee Clagett)
4 years ago
luigi1111
7a0334742a
Merge pull request #6937
...
8a282f6
Add RELINK_TARGETS, monero_add_target_no_relink and use monero_add_executable/monero_add_library where possible (mj-xmr) Add monero_add_minimal_executable and use in tests (mj-xmr)
4 years ago
luigi1111
450f1325ab
Merge pull request #6856
...
db70af1
Unit Tests: Remove block reward upper bound size checks (TheCharlatan)
4 years ago
xiphon
a9cd5d914e
cryptonote_core: dandelion - use local height or median height if syncing
4 years ago
Howard Chu
91fd634768
Better log message for unusable anon networks
4 years ago
Lee Clagett
be84f678b9
Switch to Dandelion++ fluff mode if no out connections for stem mode
4 years ago
mj-xmr
8a282f64c9
Add RELINK_TARGETS, monero_add_target_no_relink and use monero_add_executable/monero_add_library where possible (mj-xmr)
...
Add monero_add_minimal_executable and use in tests
This is done in order not to have to relink targets, when just an .so changed, but not its interface.
4 years ago
selsta
e79c88e610
functional_tests: inrease mining timeout
4 years ago
Lee Clagett
08eb0949f3
Change to more efficient allocation strategy in byte_stream
4 years ago
xiphon
a12a8174e0
Dandelion++: skip desynced peers in stem phase
4 years ago
Lee Clagett
7414e2bac1
Change epee binary output from std::stringstream to byte_stream
4 years ago
TheCharlatan
db70af1bbc
Unit Tests: Remove block reward upper bound size checks
...
Tests running after being compiled with `make debug-test` failed with
```
[ FAILED ] block_reward_and_current_block_weight.fails_on_huge_median_size
[ FAILED ] block_reward_and_current_block_weight.fails_on_huge_block_weight
```
With the introduction of the patch in
be82c40703 (diff-1a57d4e6013984c420da98d1adde0eafL113)
the assertions checking the weight of the median and current block
against a size limit were removed. Since the limit is now enforced by a
long divisor and a uint64_t type, checking in a separate test makes
little sense, so they are removed here.
4 years ago
Alexander Blair
2e83628d02
Merge pull request #6840
...
6ee9f1260
fuzz_tests: fix build error in signature fuzz test (moneromooo-monero)
4 years ago
iamamyth
163f83720f
functional_tests: rewrite mining code, clearer timeout info
4 years ago
moneromooo-monero
6ee9f12607
fuzz_tests: fix build error in signature fuzz test
4 years ago
luigi1111
fd657c7706
Merge pull request #6798
...
4e44306
enable CLSAG support for Trezor client (ph4r05)
4 years ago
Riccardo Spagni
aefa7740c3
Merge pull request #6111
...
d20ff4f64
functional_tests: add a large (many randomx epochs) p2p reorg test (moneromooo-monero)
6a0b3b1f8
functional_tests: add randomx tests (moneromooo-monero)
9d42649d5
core: fix mining from a block that's not the current top (moneromooo-monero)
4 years ago
Dusan Klinec
4e4430603f
enable CLSAG support for Trezor client
4 years ago
luigi1111
ee0b02d0db
Merge pull request #6757
...
6a37da8
threadpool: guard against exceptions in jobs, and armour plating (moneromooo-monero)
4 years ago
moneromooo-monero
6a37da837e
threadpool: guard against exceptions in jobs, and armour plating
...
Those would, if uncaught, exit run and leave the waiter to wait
indefinitely for the number of active jobs to reach 0
4 years ago
Sarang Noether
fa06c39d97
Bind signature to full address and signing mode
4 years ago
moneromooo-monero
743608ec16
wallet: allow signing a message with spend or view key
4 years ago
moneromooo-monero
1dc427def9
core_tests: fix failures after v13
...
v13 enforces claiming the full block reward, so we need to keep
track of tx fees to add them to the coinbase
4 years ago
moneromooo-monero
4a9bd8f70f
core_tests: remove hardcoded hf version
4 years ago
Alexander Blair
44cd8a13ec
Merge pull request #6769
...
b641e0a2c
Add clear method to byte_stream (Lee Clagett)
4 years ago
moneromooo-monero
d20ff4f648
functional_tests: add a large (many randomx epochs) p2p reorg test
4 years ago
moneromooo-monero
6a0b3b1f8a
functional_tests: add randomx tests
4 years ago
moneromooo-monero
9d42649d58
core: fix mining from a block that's not the current top
4 years ago
Sarang Noether
aff87b5f6a
Added balance check to MLSAG/CLSAG performance tests
4 years ago
Sarang Noether
f964a92c57
Updated MLSAG and CLSAG tests for consistency
4 years ago
Sarang Noether
5aa1575e91
CLSAG verification performance test
4 years ago
Sarang Noether
641b08c920
CLSAG optimizations
4 years ago