Commit Graph

2111 Commits

Author SHA1 Message Date
Crypto City
3e5777ee60 add deployable script keyword
by default, scripts will not be allowed on mainnet, this keyword
will have to be added, so this allows testing new scripts on testnet
without risk of mistakenly adding them on mainnet
2024-08-20 20:55:03 +00:00
Crypto City
a08c48b3bc functional_tests: fix occasional error due to too few materials 2024-08-15 13:46:28 +00:00
Crypto City
687a389fcb Fluorine Fermi
-----BEGIN PGP SIGNATURE-----
 
 iQFJBAABCAAzFiEEh3erj3eO6JSHovjn9KygGDZB4BAFAmXwr2oVHGx1aWdpMTEx
 MXdAZ21haWwuY29tAAoJEPSsoBg2QeAQjksIAJ9CSNK6LQU3b+8TdEv5knpMeyY/
 n6QXCA0Xl+rPJCseQZq5+FdwZjjdGm6ptm2+R/1nDjynw7jccChh2x/T0BH/3ewD
 h+30fOZ54Rm9m0hGUY7TQFf8+Nn2FK/OO+uexxMRPkj6yWmItvXTUDoEsnC0VCSn
 mA8GSy9w+ei6iTeviEH5FlSD37z/r8T5DPPy4Y44WVIWd/pR5klnnCNYFCVK2eXS
 nRuLRgY2r7hrfZfpH34JA2ITFVn7ijjZlmLN+/xNCoiIetkkvid4hZCnfl8haVC1
 G19S9cHUC0HtQxAjY8hbBrMj/7oi7SN+2+7+m/DfsyyrW0h9aX/GJySxSiA=
 =zXfB
 -----END PGP SIGNATURE-----

Merge tag 'v0.18.3.3' into cc

Fluorine Fermi
2024-08-15 07:48:13 +00:00
Crypto City
8921164963 blockchain: enforce valid coinbase output pubkeys 2024-06-17 17:44:39 +00:00
Crypto City
3e8d84341e 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-17 17:44:39 +00:00
Crypto City
2f34fc4efa add new RPC for p2pool usage 2024-06-17 17:44:39 +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
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
38e72110e7 scale hunting down 3x 2024-02-28 14:36:22 +00:00
luigi1111
68e40ea2a7
Merge pull request #9158
33e3f72 serialization: fix infinite loops and clean up dispatching (jeffro256)
2024-02-24 10:19:58 -05:00
luigi1111
b335433204
Merge pull request #9145
f5b8634 Add <cstdint> to aligned test (Lee *!* Clagett)
2024-02-24 10:07:23 -05:00
luigi1111
8a1e49664e
Merge pull request #9142
98ee46f Disable/fix ports with I2P (Lee Clagett)
2024-02-24 10:06:26 -05:00
jeffro256
51d7a6921c
wallet: feature: transfer amount with fee included
To transfer ~5 XMR to an address such that your balance drops by exactly 5 XMR, provide a `subtractfeefrom` flag to the `transfer` command. For example:

    transfer 76bDHojqFYiFCCYYtzTveJ8oFtmpNp3X1TgV2oKP7rHmZyFK1RvyE4r8vsJzf7SyNohMnbKT9wbcD3XUTgsZLX8LU5JBCfm 5 subtractfeefrom=all

If my walet balance was exactly 30 XMR before this transaction, it will be exactly 25 XMR afterwards and the destination address will receive slightly
less than 5 XMR. You can manually select which destinations fund the transaction fee and which ones do not by providing the destination index.
For example:

    transfer 75sr8AAr... 3 74M7W4eg... 4 7AbWqDZ6... 5 subtractfeefrom=0,2

This will drop your balance by exactly 12 XMR including fees and will spread the fee cost proportionally (3:5 ratio) over destinations with addresses
`75sr8AAr...` and `7AbWqDZ6...`, respectively.

Disclaimer: This feature was paid for by @LocalMonero.
2024-02-20 17:08:42 -06: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
jeffro256
33e3f72d24
serialization: fix infinite loops and clean up dispatching
Resolves #8687
2024-02-08 13:22:33 -06: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
Lee Clagett
98ee46f249 Disable/fix ports with I2P 2024-01-30 13:36:21 -05:00
Lee *!* Clagett
f5b86342e8 Add <cstdint> to aligned test 2024-01-29 21:40:50 -05:00
luigi1111
8eab181fe1
Merge pull request #9080
47d8899 Fix missing checks for IsObject in ZMQ jsonrpc reading (Lee Clagett)
2024-01-18 18:03:43 -05: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