Commit Graph

2084 Commits

Author SHA1 Message Date
Crypto City
92f3ad4dae blockchain: enforce valid coinbase output pubkeys 2024-06-04 07:27:25 +00:00
Crypto City
4fc03129c3 PoS block rewards now go directly to the staker's game balance
to avoid nuking ring signatures for everyone by having many linkable
inputs in transactions
2024-06-03 17:37:50 +00:00
Crypto City
8b0247e76d add new RPC for p2pool usage 2024-05-27 15:03:14 +00:00
Crypto City
57c50ca528 add get_block_pos_history node RPC 2024-03-17 07:41:23 +00:00
Crypto City
b5207eb77c tweak discoveries a bit 2024-03-16 22:26:10 +00:00
Crypto City
0abc6ee818 functional_tests: add crop yield test 2024-03-11 16:42:08 +00:00
Crypto City
400350ec2d expose player/owner occupation to scripts 2024-03-11 14:52:09 +00:00
Crypto City
c4bfbbe453 functional_tests: add a few more auction tests 2024-03-11 14:52:09 +00:00
Crypto City
58a28936f5 functional_tests: add tests for flag deactivation on transfer 2024-03-11 14:52:09 +00:00
Crypto City
dee007f971 functional_tests: add tests for some city specializations 2024-03-11 14:52:09 +00:00
Crypto City
154a5b371c functional_tests: add pos test with tricked out account 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
facf217a70 make sure no flag is on fire when the fire event stops 2024-03-11 14:52:09 +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
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
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
e2d934146d balance occupations and add a few more 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
75a295b213 economy tweaks 2024-02-28 14:36:54 +00:00
Crypto City
38e72110e7 scale hunting down 3x 2024-02-28 14:36:22 +00:00
Crypto City
3e2e34846e fix budget handling in demolish command 2024-02-18 17:37:34 +00:00
Crypto City
932d49b0ba functional_tests: fix gold consistency check
they did not take flag assigned items into account
2024-02-18 17:37:33 +00:00
Crypto City
d9bfafd75f functional_tests: fix builder badge score check
we might have had a building destroyed since
2024-02-18 17:37:33 +00:00
Crypto City
4cdd25c47e fix role bonus
and add consumption/production stats
2024-02-18 17:37:33 +00:00
Crypto City
e50340da45 named places can now be set to prevent buying land
by the game account

also remove the nonce based id, and rename priority to id,
so places are always enumerated in priority order

the game account now has no limit on places named, so this
can be used for storytelling purposes without having to play
the game competitively with the game account
2024-02-07 08:03:46 +00:00
Crypto City
dd3a367adb unit_tests: add an intersection test 2024-02-04 10:45:51 +00:00
Crypto City
ac583e7a40 add a break news command 2024-01-07 16:21:36 +00:00
Crypto City
6b49171ec1 increase coin minting/smelting fees 2023-12-19 12:06:47 +00:00
Crypto City
faec973079 functional_tests: testing parsing a script using every feature 2023-12-17 13:32:56 +00:00
Crypto City
062f8610e0 hide script choices disabled by unmet reserves in game 2023-12-17 13:32:56 +00:00
Crypto City
3372880ed3 new "times played script X" and "times played this script" operands
this is a common need, and avoids the wasteful and error prone use
of a player variable per script
2023-12-14 17:22:55 +00:00
Crypto City
514550fa68 badges can now be automatically awarded based on a player variable 2023-12-08 21:13:24 +00:00
Crypto City
c9d97af3ea allow selecting where a fire starts in a script 2023-12-08 21:13:24 +00:00
Crypto City
983b0707a8 move fire special event from weather to misc 2023-12-08 21:13:24 +00:00
Crypto City
1c6e8eec6f store full special event duration, not just number of game updates 2023-11-30 17:11:43 +00:00
Crypto City
6d07131e77 daemon: add cc_item_supply daemon command with cc_get_item_supply RPC 2023-11-30 17:11:43 +00:00
Crypto City
c0eb2288b9 add a version field to cc commands
for future expandability
2023-11-30 17:11:42 +00:00
Crypto City
be8a77f8b3 fix merge mining with more than one merge mined chain
reported by sech1
2023-11-30 17:11:42 +00:00
Crypto City
ee61591663 prevent transactions from testnet from being relayed to mainnet 2023-09-15 14:43:56 +00:00
Crypto City
5dc5eca758 delay user textures for a week after mining so they may be blocked
for anti abuse reasons
2023-09-12 06:41:18 +00:00
Crypto City
8b828dd801 include lightsource blocks in flag budget from the get go
same as water and vegetation blocks

avoids headaches with building in game having to keep track
of how many lightsources there are in a building under construction
2023-08-03 15:53:06 +00:00
Crypto City
ac10041809 implement a couple more occupations 2023-08-02 08:59:27 +00:00
Crypto City
9808700b2a implement three occupations
mostly as a proof of concept, others will come later
2023-08-02 08:59:27 +00:00
Crypto City
806fa5e069 restore dandelion except for game commands
game commands want to be mined asap, and do not need the
same level of privacy that currency transfers do
2023-07-20 14:00:18 +00:00