Commit Graph

1146 Commits

Author SHA1 Message Date
Crypto City
fe1e6f7d4e fix debian build 2025-07-31 20:50:19 +00:00
Crypto City
d0f605f433 nutrients use now depends on time a crop has been growing 2024-11-22 20:46:17 +00:00
Crypto City
64b6ab8ad6 disable coru badge before the coru fork 2024-11-22 20:46:17 +00:00
Crypto City
5c5ca16a77 do not drop connections when getting a block with timestamp too large
also, resume dropping for other timestamp issues, as before
2024-11-22 20:46:16 +00:00
Crypto City
1dafeed244 introduce a lifetime trade limit based on tax paid 2024-11-22 20:46:16 +00:00
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
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
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
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
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
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
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
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
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
jeffro256
33e3f72d24
serialization: fix infinite loops and clean up dispatching
Resolves #8687
2024-02-08 13:22:33 -06: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
514550fa68 badges can now be automatically awarded based on a player variable 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
be8a77f8b3 fix merge mining with more than one merge mined chain
reported by sech1
2023-11-30 17:11:42 +00:00
Lee Clagett
47d8899c90 Fix missing checks for IsObject in ZMQ jsonrpc reading 2023-11-28 18:05:15 -05:00
Boog900
69de381526
add a test for the long term weight cache 2023-10-02 15:28:50 +01:00
Crypto City
ee61591663 prevent transactions from testnet from being relayed to mainnet 2023-09-15 14:43:56 +00:00
jeffro256
ba98269ca5
wallet2: fix store_to() and change_password()
Resolves #8932 and:
2. Not storing cache when new path is different from old in `store_to()` and
3. Detecting same path when new path contains entire string of old path in `store_to()` and
4. Changing your password / decrypting your keys (in this method or others) and providing a bad original password and getting no error and
5. Changing your password and storing to a new file
2023-08-23 11:52:31 -05: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