Commit Graph

2140 Commits

Author SHA1 Message Date
Crypto City
68119ae832 vistas can now be saved on chain
scripts can also bookmark vistas for players

also a new unified vista dialog
2024-10-24 15:14:42 +00:00
Crypto City
2c0daff577 functional_tests: fix after item creation fee bump 2024-10-16 19:52:37 +00:00
Crypto City
4e62bc9b3e custom items may now be consumable
they'll be consumed at a rate of one per game tick when assigned
to a flag
2024-10-16 13:53:55 +00:00
Crypto City
49626ce12f functional_tests: fix using an unitialized variable 2024-10-16 13:53:55 +00:00
Crypto City
1d0b944f3b functional_tests: runestones are needed for more purposes now 2024-10-16 13:53:55 +00:00
Crypto City
6b4f1efdc3 functional_tests: fewer runestones can be carved at once now 2024-10-16 13:53:55 +00:00
Crypto City
6272debcc5 functional_tests: cultural buildings now consume runestones 2024-10-16 13:53:55 +00:00
Crypto City
4937a1f079 functional_tests: fix place naming leaving unmined txes 2024-10-16 13:53:55 +00:00
Crypto City
e1380c0d2f functional_tests: cultural buildings now consume runestones 2024-10-16 13:53:55 +00:00
Crypto City
cecac125d6 error out if functional tests are disabled 2024-10-11 13:57:44 +00:00
Crypto City
f30d79dcd5 functional_tests: fix failing tests after latest monero merge 2024-10-11 13:57:44 +00:00
Crypto City
75f105f9ba buildings now require runestones to get built
and research/cultural buildings require runestones to tick

this provides a sink for runestones that's not just people who want
to make something nice like places, whispers or building scripts
2024-10-07 20:44:00 +00:00
Crypto City
782271482d rpc: send script icons as hex, they're binary 2024-10-07 20:44:00 +00:00
Crypto City
893331b189 overwrite game pkey when running with CC_USE_TEST_GAME_KEY=1
and back to default key otherwise
2024-09-26 21:26:14 +00:00
Crypto City
4486c43a97 Fluorine Fermi
-----BEGIN PGP SIGNATURE-----
 
 iQFJBAABCAAzFiEEh3erj3eO6JSHovjn9KygGDZB4BAFAma9CtAVHGx1aWdpMTEx
 MXdAZ21haWwuY29tAAoJEPSsoBg2QeAQECkH/iQYXms2Hk1cykkuEgpxpMrqGPVH
 /+F6aOe74Xx12MNa+QcjEhtlnuTZcQZXEoormRucWf89mmfJV6LNyUOOeAJ1jxrW
 a5NoCBPTrxH0iso5MfYNcxtu5/13CnMx6daH8WvX1omwgVIbTmWKjUihVhz1RZfM
 YlmR6kmq44DdN7eKZZmSicm9YF8Bv1JPDBM6mwqEf/5UDJxvG/z/d7HkYzTcMhcZ
 NFKaLnNT631CKIZQIxQyiqH/c9fBL3+2fd3geAXQNuOBJhd9SIQCHt2z3+jA0lm5
 QupajQawp3UTM6/iCf19ITQ43BUwLfLKsDfYjZ2mz7ZT06TSQti7DjyOIfQ=
 =BViq
 -----END PGP SIGNATURE-----

Merge tag 'v0.18.3.4' into cc

Fluorine Fermi
2024-09-20 15:58:40 +00:00
Crypto City
587b1635a7 tx_pool: add a per player and command type limit 2024-09-17 15:56:25 +00:00
Crypto City
3115677329 fix mixup with influence with both bonus and penalty 2024-09-16 20:34:15 +00:00
Crypto City
3294adba23 fix mixup between base elevation bonus and role elevation bonus 2024-09-16 20:34:12 +00:00
Crypto City
05132655a2 dynamic new building price estimation in building settings screen 2024-09-13 05:42:40 +00:00
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
tobtoht
7cb69fa6bc
epee: string_tools: keep full path in cut_off_extension 2024-08-14 19:50:06 +02:00
tobtoht
c7d4bf491e
epee: string_tools: remove dot from get_extension
Fixes a regression introduced in #9254. Previously it did not
include the dot.
2024-08-14 16:57:49 +02:00
luigi1111
bedfa83ea0
Merge pull request #9385
c5ad937 Fix ZMQ DaemonInfo: (Lee *!* Clagett)
2024-08-13 12:15:57 -04:00
Lee *!* Clagett
c5ad937cc1 Fix ZMQ DaemonInfo:
* top_block_hash was never set in handler
  * wide_difficulty was never sent in JSON
  * wide_cumulative_difficulty was never sent in JSON
2024-06-24 20:06:33 -04: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
0xFFFC0000
8dbc361e98
cryptonote_protocol: prevent duplicate txs in fluff queue
1. Fix duplicate transaction #9335
2. Add test for cases where there are duplicate transaction in fluff

Co-authored-by: Boog900 <boog900@tutanota.com>
2024-06-06 17:33:17 +03:30
luigi1111
1ec7eae036
Merge pull request #9311
dd47d03 Enforce Tx unlock_time is Zero by Relay Rule [RELEASE] (jeffro256)
2024-05-20 23:42:54 -05:00
luigi1111
b13e597e8e
Merge pull request #9306
755dddd common: support boost filesystem copy_options. Co-authored-by: selsta <selsta@sent.at> (0xFFFC0000)
2024-05-20 23:39:01 -05:00
0xFFFC0000
755dddd2bc
common: support boost filesystem copy_options.
Co-authored-by: selsta <selsta@sent.at>
2024-05-01 02:51:08 +03:30
jeffro256
dd47d03cf2
Enforce Tx unlock_time is Zero by Relay Rule [RELEASE]
Related to https://github.com/monero-project/research-lab/issues/78

Added a relay rule that enforces the `unlock_time` field is equal to 0 for non-coinbase transactions.

UIs changed:
* Removed `locked_transfer` and `locked_sweep_all` commands from `monero-wallet-cli`

APIs changed:
* Removed `unlock_time` parameters from `wallet2` transfer methods
* Wallet RPC transfer endpoints send error codes when requested unlock time is not 0
* Removed `unlock_time` parameters from `construct_tx*` cryptonote core functions

@tobtoht: undo rebase changes tx.dsts -> tx_dsts
2024-04-29 00:08:53 -05:00
Lee *!* Clagett
7686af7acf Skip privacy networks (on tx sends) that don't have outgoing connections 2024-03-29 15:30:14 -04: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