Crypto City
26b4b4489d
functional_tests: add cc_get_bonuses tests
2023-02-16 14:18:39 +00:00
Crypto City
bf4339a8ad
functional_tests: add cc_get_badge_totals tests
2023-02-16 14:18:39 +00:00
Crypto City
0126e0dd43
functional_tests: add cc_get_accounts tests
2023-02-16 14:18:39 +00:00
Crypto City
28ac9ef30e
functional_tests: add cc_get_special_events tests
2023-02-16 14:18:39 +00:00
Crypto City
698fe07fe9
functional_tests: add cc_get_last_update_events tests
2023-02-16 14:18:39 +00:00
Crypto City
37ac59f737
functional_tests: add cc_get_nonces_mined tests
2023-02-16 14:18:39 +00:00
Crypto City
b90e5c3859
functional_tests: add cc_find_flag tests
2023-02-16 14:18:39 +00:00
Crypto City
04537a0a0b
functional_tests: add cc_lookup_account tests
2023-02-16 14:18:39 +00:00
Crypto City
2d34ccf168
destroy assigned items on involuntary building destruction
...
eg, fire, derelict buildings...
2023-02-16 14:18:39 +00:00
Crypto City
8932eac499
add placeholder chat type to chat command
...
there might be more than one chat at some point
2023-02-16 14:18:39 +00:00
Crypto City
890af738d6
fix transfer functional tests with transfer to self
2023-02-06 14:10:15 +00:00
Crypto City
12ade5e935
add an extra fee to create items with prestige and/or role bonuses
...
to prevent abuse
2023-02-06 14:10:15 +00:00
Crypto City
46d4dc442a
fix naming an empty flag before building on it
2023-01-29 08:44:11 +00:00
Crypto City
d6170c130d
items can now be retrieved from flags
...
except labour and construction materials
2023-01-29 08:10:02 +00:00
Crypto City
90989c35ef
functional_tests: ensure scripts are finished after testing scripts
2023-01-28 17:03:26 +00:00
Crypto City
406eef2d68
compress player profile previous/new strings in command
2023-01-28 17:03:01 +00:00
Crypto City
f789d40e7c
creating user textures now needs a cultural building
...
since user texture space is at a premium, this will discourage
spamming and DoS
2023-01-28 17:03:01 +00:00
Crypto City
a0497a35d9
cc: constrain dividend note length
2023-01-28 17:03:01 +00:00
Crypto City
4613cdb321
add a tiny fee by dividend recipient
...
for abuse prevention
2023-01-28 17:03:01 +00:00
Crypto City
14d8120aa9
shares for cities which restrict settlers count for half for subsidy
...
for abuse prevention
2023-01-28 17:03:01 +00:00
Crypto City
0cd2e67d06
research buildings now offer a bonus and can be used as a service
2023-01-28 17:03:00 +00:00
Crypto City
c38b346452
functional_tests: ensure fishery does not deactivate while testing
2023-01-28 17:03:00 +00:00
Crypto City
60b22f6ccc
functional_tests: fix rare failure due to lack of money
2023-01-28 17:03:00 +00:00
Crypto City
309da5001c
rpc: add cc_get_building_cost RPC
2023-01-28 17:03:00 +00:00
Crypto City
b36454b79b
game: allow vertical colour gradients in chat messages
2023-01-28 17:02:59 +00:00
Crypto City
487e941453
functional_tests: fix comment
2023-01-28 17:02:59 +00:00
Crypto City
095104f6d0
constrain tax break zones within 25k tiles of center or other ones
2023-01-28 17:02:59 +00:00
Crypto City
1985a1d5a7
food salting, as an agricultural building service
2023-01-28 17:02:59 +00:00
Crypto City
413ba7369f
pearl diving, as a fishery service
2023-01-28 17:02:59 +00:00
Crypto City
aa7bcbf6c9
there can now be more than once special event in a city at once
2023-01-28 17:02:58 +00:00
Crypto City
a31f37334b
account for gold in items assigned to flags
2023-01-28 17:02:58 +00:00
Crypto City
118f1ac9ca
functional_tests: fix demolish tests
2023-01-28 17:02:58 +00:00
j-berman
864a78ee5f
wallet2: check wallet compatibility with daemon's hard fork version
2022-09-12 21:23:08 -06:00
moneromooo-monero
1d3657afb5
wallet2: better test on whether to allow output import
...
Being offline is not a good enough heuristic, so we keep track
of whether the wallet ever refreshed from a daemon, which is a
lot better, and probably the best we can do without manual user
designation (which would break existing cold wallet setups till
the user designates those wallets)
2022-09-07 06:22:31 +00:00
moneromooo-monero
0cbf5571d3
allow exporting outputs in chunks
...
this will make it easier huge wallets to do so without hitting
random limits (eg, max string size in node).
2022-09-07 06:22:07 +00:00
j-berman
b03d7091f7
wallet2: fixes for export/import output flow
...
- only allow offline wallets to import outputs
- don't import empty outputs
- export subaddress indexes when exporting outputs
2022-09-06 17:20:23 -06:00
Crypto City
bf53f14fd8
custom items can now have per role bonuses
2022-09-02 20:14:41 +00:00
Crypto City
1f636fbf8e
change tax break zone mechanics
...
There can be multiple tax break zones, unlocked at increasing
city levels, but they are fixed once set.
This will prevent mayorial bait and switch abuse.
2022-08-31 11:48:49 +00:00
Crypto City
02e6ba170f
functional_tests: add message tests
2022-08-23 05:20:29 +00:00
Crypto City
e5b17616fd
blockchain: fix invalid memory read getting fee on empty chain
2022-08-23 05:20:29 +00:00
Crypto City
7c70d0ef6e
invisible P2P messages
2022-08-23 05:20:28 +00:00
Crypto City
088538c160
Merge remote-tracking branch 'origin/master' into HEAD
...
b6a029f222
Multisig functional test broken
2022-08-08 17:44:32 +00:00
Crypto City
eec63d353a
store city level in db, avoid max_level crutch
2022-08-08 14:38:47 +00:00
Crypto City
f9790980b4
new special event: merchant ship, selling items on the market
2022-08-04 15:57:39 +00:00
Crypto City
070a4d46da
remove the --debug-allow-gm-commands-from-account option
...
allow usage of an alternate game account key pair for tests instead
2022-08-04 15:57:39 +00:00
Crypto City
3e42cf32ca
functional_tests: fix daemon hard fork test
2022-08-04 08:36:32 +00:00
Crypto City
4252824ad0
functional_tests: piggy back on first building to prevent random events
...
since they can break tests which do not expect them
2022-08-04 08:36:32 +00:00
Crypto City
aaf24f1338
allow seting more than one global variable at once, for atomicity
2022-08-04 08:36:32 +00:00
Crypto City
6bfc447544
custom items may now have a prestige bonus
...
only the game account can add prestige bonuses
2022-08-04 08:36:31 +00:00
Crypto City
6c4a31509a
new "tax break zone" city specialization
2022-08-04 08:36:31 +00:00
Crypto City
c004280dc7
user textures can now tile independently horizontally and vertically
2022-08-02 06:19:05 +00:00
Crypto City
4552e18249
somewhat better looking terrain
2022-08-02 06:19:04 +00:00
Crypto City
1b5c033f6e
cc: fix consuming items with gold in scripts
2022-08-02 06:19:04 +00:00
Crypto City
09251d7be6
include script owner in start_script_command
...
so we know when the game should requets a snapshot
2022-08-02 06:19:04 +00:00
Crypto City
98c62f0645
functional_tests: add user texture tests
2022-08-02 06:19:03 +00:00
Crypto City
8d7e78a7fa
functional_tests: check event balances for game, foreclosure and treasuries
2022-08-02 06:19:03 +00:00
Crypto City
1ded69f8b1
scripts can now create items if set up this way at definition time
2022-08-02 06:19:03 +00:00
Crypto City
1582492535
allow creating more items if that was setup on item definition
2022-08-02 06:19:03 +00:00
Crypto City
ffbc1d3ae1
compress script blobs with zstd
...
- we don't really care if they're slow to compress
- we care about compression for blockchain usage (and max tx size)
2022-07-23 15:46:20 +00:00
Crypto City
aa48b3cdfb
functional_tests: fix fire test being upset by a fire in another city
2022-07-23 15:46:20 +00:00
Crypto City
74c2683f62
functional_tests: a bit more leeway when checking for derelict buildings
2022-07-23 15:46:19 +00:00
Crypto City
588ce075b4
functional_tests: fix nonce search bug
2022-07-23 15:46:19 +00:00
Crypto City
403c31c31e
functional_tests: test fishing in another city's fishing grounds
2022-07-23 15:46:19 +00:00
Crypto City
aae749b0eb
tune down fishing grounds recovery
2022-07-23 15:46:19 +00:00
Crypto City
b6d94f9fbf
more generic special event overrides for tests
2022-07-23 15:46:19 +00:00
Crypto City
774f8430ce
drop runestone price to one quarter gold
2022-07-23 15:46:18 +00:00
Crypto City
0ddeaa3992
add RPC and functional tests for edit_player_profile
2022-07-23 15:46:18 +00:00
Crypto City
f36b5f77db
functional_tests: add tests for naming places
2022-07-23 15:46:18 +00:00
Crypto City
ea035a18be
functional_tests: fire can last longer now
2022-07-23 15:46:18 +00:00
Crypto City
32314a1dc4
scripts can now award event badges
2022-07-23 15:46:18 +00:00
j-berman
8cc3c9af4d
Publish submitted txs via zmq
2022-07-21 11:53:31 -07:00
Crypto City
e141fbf27d
functional_tests: more info when a bug in ownership is detected
2022-07-04 21:15:34 +00:00
Crypto City
1a48b87d14
functional_tests: add whisper tests
2022-07-04 21:15:34 +00:00
Crypto City
d48966a82c
improved fishing mechanics
2022-07-04 21:15:34 +00:00
Crypto City
6e0044f5e6
functional_tests: make fire test more stable
2022-07-04 21:15:34 +00:00
Crypto City
9c09582b7f
cc: forbid giving to oneself
2022-07-04 21:15:33 +00:00
Crypto City
734f2cc524
only active buildings can fish, sow and harvest
2022-07-04 21:15:33 +00:00
Crypto City
ffc4e2198f
buildings' econonic power can now be upgraded
...
for 150% of the incremental cost
2022-07-04 21:15:33 +00:00
Crypto City
636d8b7a84
more intricate shoreline
2022-07-04 21:15:33 +00:00
Crypto City
ce6016306d
add fish, fishing and fisheries
2022-07-04 21:15:33 +00:00
Crypto City
fb48c2e73e
add procedures to scripts
2022-06-28 16:49:49 +00:00
Crypto City
73824c40f1
fix */+- precedence in scripts
2022-06-28 16:49:49 +00:00
Crypto City
9ffb213012
background scripts, tied to the game account
2022-06-28 16:49:49 +00:00
Crypto City
5474600c6a
make if in scripts more generic, and allow an else branch too
2022-06-28 16:49:49 +00:00
Crypto City
867e9b359f
remove restricted items hack
2022-06-28 16:49:49 +00:00
Crypto City
ca27a104bd
add per choice script reserves
...
This will allow script options to scale with player balances
2022-06-28 16:49:49 +00:00
Crypto City
d85d5012eb
newbie coins - each new player gets a random one
...
collecting all the set gives a prestige boost
2022-06-28 16:49:48 +00:00
moneromooo-monero
2979474221
disable multisig by default
...
There are vulnerabilities in multisig protocol if the parties do not
trust each other, and while there is a patch for it, it has not been
throroughly reviewed yet, so it is felt safer to disable multisig by
default for now.
If all parties in a multisig setup trust each other, then it is safe
to enable multisig.
2022-05-17 19:52:03 +00:00
luigi1111
c1625a8928
Merge pull request #8220
...
0d6ecb1 multisig: add post-kex verification round to check that all participants have completed the multisig address (koe)
2022-05-10 16:41:02 -05:00
koe
0d6ecb1136
multisig: add post-kex verification round to check that all participants have completed the multisig address
2022-04-29 14:04:59 -05:00
j-berman
5d388eb74d
Bump ring size to 16 for v15 & remove set default in wallet cli
2022-04-18 14:36:28 -07:00
moneromooo-monero
b030f20751
Fee changes from ArticMine
...
https://github.com/ArticMine/Monero-Documents/blob/master/MoneroScaling2021-02.pdf
with a change to use 1.7 instead of 2.0 for the max long term increase rate
2022-04-10 18:13:34 +00:00
reemuru
6abe3fee19
tests: integrated_address: remove missing payment id assertion
...
The integrated address functional test fails in the workflows due
to an assertion for missing payment id that is no longer needed.
Remove the assertion and update the assertion count.
Fixes 7dcfccb : ("wallet_rpc_server: fix make_integrated_address with no payment id")
2022-04-06 06:49:01 -05:00
luigi1111
0eb1b570b6
Merge pull request #8197
...
da9aa1f Copyright: Update to 2022 (mj-xmr)
2022-04-06 00:08:53 -04:00
luigi1111
d9e6baac42
Merge pull request #8158
...
e5000a9 Balance includes unconfirmed transfers to self (woodser)
2022-03-18 16:28:16 -05:00
mj-xmr
da9aa1f7f8
Copyright: Update to 2022
2022-03-04 06:59:20 +01:00
luigi1111
5eaa4434e8
Merge pull request #7877
...
e08abaa multisig key exchange update and refactor (koe)
2022-03-02 18:51:54 -05:00
Crypto City
850b8766d6
functional_tests: fix invalid names tests, "\xff\xff" is now valid
2022-03-01 18:21:19 +00:00
koe
e08abaa43f
multisig key exchange update and refactor
2022-02-22 16:37:42 -06:00
woodser
e5000a9f0c
Balance includes unconfirmed transfers to self
2022-01-31 07:52:38 -05:00
selsta
e9156d78a3
functional_tests: update uri test with external pid
2021-12-14 23:35:48 +01:00
Crypto City
307e97f9e9
v16 with recent consensus changes - with hacks for now
2021-11-25 17:27:14 +00:00
Crypto City
29c47dcfe9
tune city level progression
2021-11-24 07:08:51 +00:00
Crypto City
bb203fe647
add new moose disease special event
2021-11-23 16:22:29 +00:00
Crypto City
a8ad4091fa
add restricted item group, may not be sold/given/auctioned etc
2021-11-15 17:04:16 +00:00
Crypto City
ae4d520621
add a testnet v15 fork at block 60000
2021-10-15 13:29:47 +00:00
Crypto City
0d20478bd2
mayors may now control who can buy/build in their city
2021-10-14 10:47:26 +00:00
Crypto City
c263cba732
cc: allow embedding smaller quantities of gold in items
2021-10-14 10:44:47 +00:00
Crypto City
25cc1bf99a
game: plug palette editor in import flow
2021-09-21 12:18:18 +00:00
Crypto City
18ab361e8b
give spread to match command matcher
2021-09-14 19:59:41 +00:00
Crypto City
489a261db0
Merge remote-tracking branch 'origin/master' into cc
...
8fde011dbe
2021-09-01 15:50:02 +00:00
Crypto City
996253e3b0
revert test v15 fork
2021-09-01 15:12:14 +00:00
Crypto City
6794309459
functional_tests: ensure number of blocks to mine is integer
2021-09-01 15:12:13 +00:00
Crypto City
f309f1422c
fix sync failure when popping a game update block, but only it
2021-08-21 16:11:28 +00:00
Crypto City
85319d34a8
functional_tests: improve reorg test
2021-08-21 16:11:28 +00:00
Crypto City
19b9af508f
functional_tests: some more trader order book tests
2021-08-21 14:44:33 +00:00
Crypto City
83ebf8aad4
improve third party matching
2021-08-18 22:38:51 +00:00
Crypto City
9079a293d0
functional_tests: fix fire test sometimes breaking
2021-08-16 10:36:46 +00:00
Crypto City
5206ea2ec3
fix hunts conflicting with each other
2021-08-12 11:01:35 +00:00
Crypto City
b5f7cd94af
functional_tests: fix firefighting test
2021-08-12 11:01:35 +00:00
Crypto City
ca01aa2221
functional_tests: add basic tests for firefighting
2021-07-23 09:10:52 +00:00
Crypto City
42f430cf08
functional_tests: test derelict buildings
2021-07-20 19:41:53 +00:00
Crypto City
21676e11be
functional_tests: add tests for cc_is_invitation_used
2021-07-07 19:58:22 +00:00
Crypto City
5c29d4356c
fix hunting allowing an empty building as condition
2021-07-06 20:50:44 +00:00
Crypto City
da83f01ff4
make dividend command more flexible
...
it can optionally distribute to unowned items only, as well as
pay per item rather than split
2021-07-06 12:52:33 +00:00
Crypto City
ea37a84d86
functional_tests: fix city spec tests failing due to too high level
2021-07-05 16:33:54 +00:00
Crypto City
bf5e9909d2
fix inventory bug with mortgages that mature while being auctioned
2021-06-24 08:50:19 +00:00
Crypto City
1928507a29
functional_tests: fix auction bid fee
2021-06-24 08:49:53 +00:00
Crypto City
7ffaf6d3ae
double spendable age to 20
2021-06-03 07:40:21 +00:00
Crypto City
449ec733d3
event badges can now have a custom design
2021-05-29 12:32:20 +00:00
Crypto City
135742961f
add logging/quarrying/maintenance discoveries
2021-05-14 17:22:13 +00:00
Crypto City
8249a86017
add badge for number of cities built in
2021-04-27 18:15:30 +00:00
Crypto City
0e3a6ba8c8
functional_tests: fix python3 compatibility
2021-04-27 18:15:30 +00:00
Crypto City
907636077e
functional_tests: more generous timeout for the large sync
2021-04-27 18:15:30 +00:00
Crypto City
514bec111b
store better info (counterparties, all flags/items, fee) in game events
...
also make balance signed so we can distinguish income and expenditures,
add missing/incorrect event data
2021-04-27 18:15:30 +00:00
mj-xmr
6799e212cc
Tests: Mining test uses a parametric path for finding the calculation app
...
MINING_SILENT and MINING_NO_MEASUREMENT env vars
2021-04-27 06:21:02 +02:00
Crypto City
931773c40e
Merge remote-tracking branch 'origin/master' into cc
2021-04-24 13:46:11 +00:00
Crypto City
e8f35a87c8
halve block time for user friendliness in gameplay
2021-04-22 23:18:32 +00:00
mj-xmr
dc81e23e60
Split epee/string_tools.h and encapsulate boost::lexical_cast
2021-04-16 20:54:20 +02:00
Crypto City
56155d4154
functional_tests: add more tests
2021-04-16 11:15:51 +00:00
Crypto City
618388ccab
items can now be auctioned
2021-04-15 11:12:21 +00:00
Crypto City
7eafb335b1
do not reuse flags, it only leads to mistakes in history
2021-04-12 13:48:34 +00:00
Crypto City
f2cf26638d
invitations can now be tied to a particular recipient address
2021-04-11 10:22:59 +00:00
Crypto City
2392c7d372
functional_tests: add item ownership checks
2021-04-10 00:06:37 +00:00
Crypto City
cf9246ab08
functional_tests: fix random failure in discoveries test
2021-04-10 00:06:37 +00:00
Crypto City
f1fd56f172
functional_tests: give a bit more leeway in wood stocks
2021-04-10 00:06:37 +00:00
Crypto City
2eec2f6371
fix farming not being bothered by not having enough heating material
...
also fix demolishing a farm while a crop is being grown
2021-04-06 10:46:37 +00:00
Crypto City
dccf609e29
functional_tests: a mortgaged flag can't be demolished, given, traded
2021-04-04 19:42:38 +00:00
Crypto City
b5277a67ef
functional_tests: more runestone tests: demolish, remove blocks
2021-04-02 22:54:56 +00:00
Crypto City
1a8055684e
rpc: remove obsolete width/height in cc_demolish
2021-04-02 22:54:56 +00:00