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
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
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
luigi1111
6e7bd68b18
Merge pull request #8977
...
7dbb14b
functional_tests: fix multisig tests noutputs assertion (jeffro256)
2023-09-14 22:20:38 -05: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
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
jeffro256
7dbb14b02a
functional_tests: fix multisig tests noutputs assertion
...
The changes to the multisig tests in #8914 and #8904 affected each other, this PR cleans up the code and fixes that issue.
2023-08-19 22:21:36 -05:00
luigi1111
9d5c5b5634
Merge pull request #8942
...
78348bc
wallet-rpc: restore from multisig seed (jeffro256)
2023-08-17 10:24:16 -05:00
luigi1111
894adef295
Merge pull request #8891
...
842478c
core_rpc_server: return ID of submitted block (jeffro256)
2023-08-17 10:18:12 -05:00
jeffro256
78348bcddd
wallet-rpc: restore from multisig seed
2023-08-10 10:13:07 -05: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
Crypto City
322cfd4add
keep track of active accounts
...
hide them by default in account selection screen, and inactive
accounts may be dealt with differently in game ticks later if
it is needed for performance purposes
2023-07-20 08:21:10 +00:00
Crypto City
e69f21af61
add occupation as an account setting when creating an account
...
they don't have any effect yet
2023-07-18 06:16:23 +00:00
Crypto City
72ea2b635a
add origin to character creation (to restrict title)
2023-07-17 14:35:24 +00:00
Crypto City
1fae98d79b
allow customizing avatar colours after creation
2023-07-17 07:31:16 +00:00
Crypto City
ae2701b063
avatars can now be customized (body shape, skin/hair colour)
2023-07-17 07:31:16 +00:00
Crypto City
bbb124e13b
allow auctions to lapse (set by auction creator)
2023-07-12 12:14:33 +00:00
Crypto City
a6e562a5ff
remove fork overrides, new testnet soon
2023-07-12 12:14:33 +00:00
Crypto City
b8cad867dd
functional_tests: fix random merchant ship test failure
2023-07-09 20:11:39 +00:00
Crypto City
c43db96440
lit lightsources now increase building shares
2023-07-09 20:11:39 +00:00
Crypto City
5fc22b07a0
add water blocks
2023-07-09 20:11:38 +00:00
Crypto City
8faa75553a
game: add smoothness to magica voxel file format as a custom chunk
2023-07-09 20:11:38 +00:00
luigi1111
5a99b2dfbe
Merge pull request #8905
...
dc24312
wallet: respect frozen key images in multisig wallets [RELEASE] (jeffro256)
2023-07-06 21:38:34 -05:00
jeffro256
842478c5a9
core_rpc_server: return ID of submitted block
2023-06-30 15:32:49 -05:00
luigi1111
9f8ae9649a
Merge pull request #8878
...
8dc4abd
common: do not use DNS to determine if address is local (tobtoht)
2023-06-27 11:46:19 -05:00
luigi1111
60e9426ef2
Merge pull request #8566
...
65e13db
wallet2: fix rescanning tx via scan_tx (j-berman)
2023-06-27 11:20:25 -05:00
Crypto City
df94fe9be6
add voxel smoothness to consensus
2023-06-16 16:33:34 +00:00
Crypto City
7a91d1ea2b
unit_tests: add missing lightsource tag check
2023-06-16 16:33:34 +00:00
jeffro256
dc24312bc3
wallet: respect frozen key images in multisig wallets [RELEASE]
...
Before this change, if a multisig peer asked you to sign a transaction with a frozen enote, the wallet will do it without any error or warning. This change makes it
so that wallets will refuse to sign multisig transactions with frozen enotes.
Disclaimer: This PR was generously funded by @LocalMonero.
2023-06-12 16:49:33 -05:00
Crypto City
cd4fbc1092
unit_tests: fix new rct cache unit tests after recent merge
2023-06-09 14:27:17 +00:00
Crypto City
7b176b52d0
db_tests: fix build after merchant ship changes
2023-06-09 05:07:42 +00:00
Crypto City
430f64ebaa
unit_tests: fix build after monero merge
2023-06-08 14:56:30 +00:00
Crypto City
47f882ad06
functional_tests: fix merchant ship test with probabilistic items
2023-06-08 14:31:37 +00:00
Crypto City
5e5ad0f715
Fluorine Fermi
...
-----BEGIN PGP SIGNATURE-----
iQFJBAABCAAzFiEEh3erj3eO6JSHovjn9KygGDZB4BAFAmQrcQUVHGx1aWdpMTEx
MXdAZ21haWwuY29tAAoJEPSsoBg2QeAQx2kH/AjGrkHYqvwiwUwxPHvUG3IE2+47
j2pZAd55yg1l4clECRwFSicdNHqInXYqj03GeVl+NW9mcIe52cY1GLYYwwHFdfgk
BMRdfYTZypoe84qzAupN0miAHHFgIcnQdR90MVt/mMWc67JUPA0XdJC2jpOho7ob
h8rjRSv/QEpGQ3CeoG3/brAIc2/TNRFJHCq9eVc1fhZUJ2gWHieo/EbtnbArwbpU
NWZ9GAoWyy5fUhmYgzHPwqGzbvzlmWl5C4dw3HdjvXL2Ah7DPuG3tY3b29z0xBD3
C3bCGEYkOvtmJ/bBQyu3ZVfj2W3Z7pDItQ1fyFxbhWzakgPICWXjbyR7K1w=
=TDpE
-----END PGP SIGNATURE-----
Merge tag 'v0.18.2.2' into cc
Fluorine Fermi
2023-06-08 14:31:22 +00:00
Crypto City
cf9158f27f
merchant ships may now have more than one item for sale
2023-06-08 08:15:01 +00:00
Crypto City
248675a830
lightsources can now be placed in the world
...
along with a new ligtsource block type, and coloured powder items
2023-06-06 20:01:00 +00:00
Crypto City
0e425a5743
functional_tests: fix rare spurious error due to lack of wood
2023-06-06 20:00:38 +00:00
Crypto City
9e50aa3e7d
fix demolishing with a carved runestone being accepted
2023-06-02 08:58:03 +00:00
Crypto City
de2b582006
prevent duplicate bid increases in account auctions
2023-05-30 13:04:24 +00:00
Crypto City
8ea9160fca
game accounts can now be auctioned
...
can only be withdrawn from at the moment
2023-05-30 13:04:24 +00:00
Crypto City
d8c357153a
db_lmdb: do not sort auction bids
...
they're supposed to be sorted already, and sorting them here
may hide a problem with pre-sorting as well as cause issues
with reverting
2023-05-30 13:04:24 +00:00
Crypto City
53480ea159
coru: jeopardy mode
...
the winner may pick a coin or rune of their choice from
the loser's deck
2023-05-30 13:04:02 +00:00
Crypto City
87ec510baf
coru tournaments
2023-05-30 13:03:57 +00:00
Crypto City
c68faac405
coru: a "collectible card" minigame based on coins and runes
...
designed by syksy
2023-05-30 13:03:31 +00:00
tobtoht
8dc4abdafe
common: do not use DNS to determine if address is local
...
Co-authored-by: j-berman <justinberman@protonmail.com>
2023-05-25 18:06:34 +02:00
Crypto City
bd4f8030e6
functional_tests: fix occasional bogus research test failure
...
we seem to be ending up on a game tick occasionally, where no
user command gets mined
2023-05-11 06:07:58 +00:00
Crypto City
41584f4c68
functional_tests: account for gold in reserved items
2023-05-11 06:07:58 +00:00
Crypto City
845b88238c
functional_tests: support restarting from backed up chain
2023-05-11 06:07:58 +00:00
Crypto City
3a76a9c5e0
make some badges longer term and less prone to badge selling
2023-05-11 06:07:58 +00:00
Crypto City
51a44a2524
allow refraining from mining start epoch commands till a given fork
2023-05-10 21:37:10 +00:00
Crypto City
daa2d0d7ce
functional_tests: test players can't create items in predefined groups
2023-05-10 21:34:39 +00:00
Crypto City
8d0d2c850c
make some badges impossible to give
2023-05-10 21:34:39 +00:00