Crypto City
613edbb4e0
game: add earthquake effect
2024-03-11 14:52:09 +00:00
Crypto City
f6859ad48d
functional_tests: add special events tests
2024-03-11 14:52:09 +00:00
Crypto City
cc44a1fd80
fix moose and fish population updates when special event is on
2024-03-11 14:52:09 +00:00
Crypto City
91dcaa772f
fix missing snowstorm double decay
2024-03-11 14:52:09 +00:00
Crypto City
9f67fcceab
fix lightning target selection
2024-03-11 14:52:09 +00:00
Crypto City
facf217a70
make sure no flag is on fire when the fire event stops
2024-03-11 14:52:09 +00:00
Crypto City
fe345ac166
decrease temperature a bit more during a snowstorm
2024-03-11 14:52:07 +00:00
Crypto City
f8c6e6c320
fix rats special events description text
2024-03-11 14:51:46 +00:00
Crypto City
e647dd20cb
rpc: add cc_get_influences RPC
2024-03-11 14:51:46 +00:00
Crypto City
e4f0d074e1
cc: fix special event mixup calculating role payouts in game update
2024-03-11 14:51:46 +00:00
Crypto City
19969a80ba
cc: increase decay with underwater area
...
to make floods a bit more interesting
halve decay for fisheries to compensate
2024-03-11 14:51:46 +00:00
Crypto City
1bdaff7ee9
cc: fix division by zero in debug log
2024-03-11 14:51:46 +00:00
Crypto City
b90de558f5
add tests for defaulting buildings, and fix related bugs
2024-03-11 14:51:46 +00:00
Crypto City
d4b92a2e1c
cache role_bonus in flag data
...
it's used for pos weights, so needs to be fast to get
2024-03-11 14:51:46 +00:00
Crypto City
16f67b5c62
cc: add explicit check for item type 0 in new_item command handler
2024-03-11 14:51:46 +00:00
Crypto City
0dc1ef484e
game: add a land tax ground mode
2024-03-11 14:51:46 +00:00
Crypto City
47dee0f33e
a bit more detail on place naming rules
2024-03-11 14:51:46 +00:00
Crypto City
8acf048a7e
mayors have thrice the place naming limit for their cities
2024-03-11 14:51:46 +00:00
Crypto City
983ff064fa
holes in name places now cost a flat 1 runestone
2024-03-11 14:51:46 +00:00
Crypto City
e6e2e949fd
allow longer places as long as the area is below a max
2024-03-11 14:51:46 +00:00
Crypto City
cf8ec717fc
cc: ensure no terrain feature if larger than max allowed
2024-03-11 14:51:45 +00:00
Crypto City
ce60c13e89
increase stonecutter labour usage a bit on dense rockbed
2024-03-11 14:51:45 +00:00
Crypto City
e13503ae79
functional_tests: add some more tests for cc_get_production
2024-03-11 14:51:45 +00:00
Crypto City
7641663cba
include a min amount in invitations
...
so the invited user can use a couple lines of chat
2024-03-11 14:51:45 +00:00
Crypto City
16b14b1317
remove staff cost for more than 12 buildings
2024-03-11 14:51:45 +00:00
Crypto City
d079502b34
deactivate active flags which have just changed owner
...
to avoid an exploit with keeping placeholders accounts with
different occupations and shuffling flags around at the right
times to get all bonuses
2024-03-11 14:51:45 +00:00
Crypto City
fce4a57f69
game: fix getting bonuses on wrong account in building settings screen
2024-03-11 14:51:45 +00:00
Crypto City
07fdf0f4b4
game: use REQUEST_PLAYER_DATA instad of direct wallet call
2024-03-11 14:51:45 +00:00
Crypto City
33fe33c8e4
wallet_rpc_server: add no_wait generate_pos_blocks optional parameter
2024-03-11 14:51:45 +00:00
Crypto City
e2d934146d
balance occupations and add a few more
2024-03-11 14:51:45 +00:00
Crypto City
ec5ffb263e
game: add more data to E_CRYPTOCITY_REQUEST_PLAYER_DATA response
2024-03-11 14:51:45 +00:00
Crypto City
a745d7e476
hybrid PoW/PoS consensus
...
to protect against the first large monero miner to merge mine
being able to easily 51% the chain
2024-03-11 14:51:45 +00:00
Crypto City
43d57215d6
increase microclimate effect
2024-03-11 14:51:43 +00:00
selsta
97e3ce5f18
build: prepare v0.18.3.3
2024-03-11 15:20:10 +01:00
jeffro256
c7cf489585
Revert "http_client: reduce number of packets sent for small bodies"
...
This reverts commit e0b2123c32 .
2024-03-10 23:08:17 -05:00
selsta
1a931ecc83
depends: add riscv64 linux build tag
2024-03-09 21:16:16 +01:00
luigi1111
ef3e18b51b
Merge pull request #9226
...
b5b72ae Fixed mempool pruning (SChernykh)
2024-03-08 20:23:52 -05:00
SChernykh
b5b72ae05c
Fixed mempool pruning
...
- Fixed undefined behavior after a call to `remove_tx_from_transient_lists` (it used an invalid iterator)
- Fixed `txCompare` (it wasn't strictly weak ordered)
2024-03-08 21:03:41 +01:00
luigi1111
5eb3fc29bb
Merge pull request #9223
...
36ee12b get_block_template_backlog: better sorting logic (SChernykh)
2024-03-08 13:46:09 -05:00
luigi1111
c225a1f25b
Merge pull request #9224
...
eeb7c7c tx_memory_pool: make double spends a no-drop offense (jeffro256)
2024-03-08 10:49:17 -05:00
luigi1111
ff15cb2f04
Merge pull request #9220
...
32b3a56 wallet2: adjust fee during backlog, fix set priority (selsta)
2024-03-08 10:44:12 -05:00
jeffro256
eeb7c7c546
tx_memory_pool: make double spends a no-drop offense
...
Nodes who see different txs in a double spend attack will drop each other, splitting the network.
Issue found by @boog900.
2024-03-08 08:14:06 -06:00
SChernykh
36ee12bd8d
get_block_template_backlog: better sorting logic
...
std::sort is unstable, so it can return random sets of transactions when mempool has many transactions with the same fee/byte. It can result in p2pool mining empty blocks sometimes because it doesn't pick up "new" transactions immediately.
2024-03-08 14:51:33 +01:00
selsta
32b3a56313
wallet2: adjust fee during backlog, fix set priority
2024-03-08 14:12:17 +01:00
luigi1111
b23116424d
Merge pull request #9217
...
7807f56 unit_tests: fix strtoul unit test (jeffro256)
2024-03-07 21:38:04 -05:00
jeffro256
7807f569e4
unit_tests: fix strtoul unit test
2024-03-07 16:10:01 +01:00
Crypto City
75a295b213
economy tweaks
2024-02-28 14:36:54 +00:00
Crypto City
0dcbf4a71b
cc: add 'lake island' terrain feature
2024-02-28 14:36:22 +00:00
Crypto City
2e04f415a8
allow calculating south facing modifier from raw height values
2024-02-28 14:36:22 +00:00
Crypto City
d92902636d
cc: remove unused code
2024-02-28 14:36:22 +00:00