Commit Graph

12267 Commits

Author SHA1 Message Date
Alexander Blair
964ad0e51a
Merge pull request #7286
372754a66 storages: overridable limits for loading portable_storage from binary (moneromooo-monero)
2021-01-07 17:54:19 -08:00
Alexander Blair
747699541e
Merge pull request #7285
927141bcc Command max_bytes moved from dynamic map to static switch (Lee Clagett)
2021-01-07 17:54:02 -08:00
moneromooo-monero
372754a66e
storages: overridable limits for loading portable_storage from binary 2021-01-07 20:24:29 +00:00
mj-xmr
700d4e9388 Run Valgrind checks for any binary in a list 2021-01-07 14:40:07 +01:00
luigi1111
e144dd5b15
Merge pull request #7281
b9092dd epee: also limit number of strings in portable_storage (moneromooo-monero)
2021-01-06 21:11:09 -05:00
luigi1111
e3acd3e6ba
Merge pull request #7278
187b4d7 Restrict duplicate keys in epee binary format (Lee Clagett)
2021-01-06 21:10:30 -05:00
luigi1111
69e4a2c62d
Merge pull request #7266
38a6e6e protocol: handle receiving a block hash we've not added yet (moneromooo-monero)
2021-01-06 21:09:03 -05:00
moneromooo-monero
b9092ddb5c
epee: also limit number of strings in portable_storage
They require at least 24 bytes
2021-01-05 17:54:25 +00:00
Alexander Blair
dbaf95ac77
Merge pull request #7271
4e74385a1 fix accessing an network address in a deleted context (moneromooo-monero)
2021-01-03 18:24:50 -08:00
Alexander Blair
71f7d4e71e
Merge pull request #7268
1e27f7101 blockchain: lock access to m_blocks_hash_of_hashes (moneromooo-monero)
2021-01-03 18:24:22 -08:00
Alexander Blair
7264d64856
Merge pull request #7263
b652d598d add a max levin packet size by command type (moneromooo-monero)
2021-01-03 18:23:57 -08:00
Alexander Blair
03cdcd3909
Merge pull request #7261
5cd6fda1e portable_storage: better sanity checking (moneromooo-monero)
2021-01-03 18:23:31 -08:00
Crypto City
6957cf9630 game: add note the "running out..." note only checks the current city 2021-01-03 16:07:13 +00:00
Crypto City
d53d2e8ef8 game: fix research place with several players have the same number 2021-01-03 16:07:13 +00:00
Crypto City
2546087553 game: fix wrong EP reported for existing buildings 2021-01-03 16:07:13 +00:00
Crypto City
2e6943f9b5 game: fix missing runestone script message 2021-01-03 16:07:13 +00:00
Crypto City
373b08168f cc: give city squares the usual amount of vegetation 2021-01-03 16:07:13 +00:00
Crypto City
8ab3ba8b75 game: fix altitude scaling in building settings 2021-01-03 16:07:13 +00:00
Crypto City
515e2fab8c game: fix crash in trade screen 2021-01-03 16:07:13 +00:00
Crypto City
a0dd64d11c cc: decrease basic residential min size again
lkcl had a good argument for this to be kept down
2021-01-03 16:07:13 +00:00
Crypto City
c6b79390b0 game: fix invalid city in allow styling command 2021-01-03 16:07:13 +00:00
Crypto City
41f5ac35bc game: fix demolishing flags after adding service height to command 2021-01-03 16:07:13 +00:00
Crypto City
14b17bd167 game: fix missing chat text colour 2021-01-03 16:07:13 +00:00
Crypto City
3aaed2a613 manual: mention discovery prerequisites 2021-01-03 16:07:13 +00:00
Crypto City
a908c1b9d6 game: display error when import a model with locked material 2021-01-03 16:07:13 +00:00
Crypto City
cd5142398a tb: fix both enter/space button trigger and triggering two dialogs in a row 2021-01-03 16:07:13 +00:00
Crypto City
36c8986e79 game: add a "blocks till update" on leaderboards screen 2021-01-03 16:07:13 +00:00
Crypto City
bda1d0ba70 fix harvest temperature not taking elevation modifier into account
also add that harvest temperature to the cc_get_flag RPC
2021-01-03 16:07:13 +00:00
Crypto City
c9a95b420e cc: give amount of owned coins a bit more weight in scoring 2021-01-03 16:07:13 +00:00
Crypto City
27129d19e1 cc: fix wording in discovery description 2021-01-03 16:07:13 +00:00
Crypto City
841fc6f50b cc: revert recent streak badge threshold changes 2021-01-03 16:07:13 +00:00
moneromooo-monero
b652d598d1
add a max levin packet size by command type 2021-01-03 14:07:45 +00:00
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
2021-01-03 13:04:55 +00:00
moneromooo-monero
1e27f7101e
blockchain: lock access to m_blocks_hash_of_hashes
it is accessed both when adding and when prevalidating a set
of new hashes from a peer
2021-01-02 22:19:54 +00:00
moneromooo-monero
38a6e6eb26
protocol: handle receiving a block hash we've not added yet 2021-01-02 22:10:31 +00:00
moneromooo-monero
5cd6fda1ee
portable_storage: better sanity checking 2021-01-02 12:34:28 +00:00
Alexander Blair
16c780d568
Merge pull request #7250
61b6e4cc6 Add aggressive restrictions to pre-handshake p2p buffer limit (Lee Clagett)
2021-01-01 22:35:59 -08:00
Alexander Blair
3bf0721ae6
Merge pull request #7246
0aa541b36 protocol: more sanity checks in new chain block hashes (moneromooo-monero)
2021-01-01 22:33:27 -08:00
Alexander Blair
175aa2497a
Merge pull request #7243
8e2caf3fb portable_storage: check object limit where appropriate (moneromooo)
2021-01-01 22:32:53 -08:00
Alexander Blair
2d60232355
Merge pull request #7237
656b2f7ce p2p: fix deadlock banning while updating peer lists (moneromooo)
2021-01-01 22:32:34 -08:00
Alexander Blair
de8b27d8c2
Merge pull request #7234
31c69923b protocol: don't reset last request time on an idle timer (moneromooo-monero)
2021-01-01 22:31:03 -08:00
Alexander Blair
5917aec4a1
Merge pull request #7220
20bdbd7aa portable_storage: forbid unnamed sections (xiphon)
2021-01-01 22:28:21 -08:00
moneromooo-monero
c5c278c339
p2p: only log to global when a blocked IP is not already blocked 2021-01-01 19:54:51 +00:00
Nym Seddon
41dfa96e5a
Split fuzz tests during fuzz build
Only build fuzz tests in a fuzz build, and don't build other tests.

Keeps fuzz compilers from instrumenting other tests, which are not fuzzed.

Resolves #7232
2021-01-01 09:09:28 +00:00
Denis Goddard
46cc4a253b Header row for peer list in sync_info 2020-12-31 20:09:35 -05:00
moneromooo-monero
0aa541b361
protocol: more sanity checks in new chain block hashes 2020-12-31 23:33:18 +00:00
moneromooo
8e2caf3fb4
portable_storage: check object limit where appropriate
also fix pedantic off by one in check
2020-12-31 22:35:17 +00:00
moneromooo
656b2f7ce1
p2p: fix deadlock banning while updating peer lists 2020-12-31 03:09:37 +00:00
moneromooo-monero
ab5e185140
protocol: fix wrong command in logs
this is not a levin packet, this is just its payload
2020-12-30 21:08:28 +00:00
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
2020-12-30 14:22:10 +00:00