Commit Graph

1907 Commits

Author SHA1 Message Date
Crypto City
a4ebcd00a9 functional_tests: fix comment 2022-09-05 10:02:13 +00:00
Crypto City
e861c7fd9d constrain tax break zones within 25k tiles of center or other ones 2022-09-05 10:02:13 +00:00
Crypto City
ea0c11ced3 food salting, as an agricultural building service 2022-09-05 10:02:13 +00:00
Crypto City
b5bd3204c8 pearl diving, as a fishery service 2022-09-04 16:20:51 +00:00
Crypto City
78a23790d7 there can now be more than once special event in a city at once 2022-09-02 20:14:41 +00:00
Crypto City
efa9e03de8 account for gold in items assigned to flags 2022-09-02 20:14:41 +00:00
Crypto City
2d4da34bc0 functional_tests: fix demolish tests 2022-09-02 20:14:41 +00: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
6140cc9f81 select embedded data locations uniformly across rings 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
d34a724e4b fuzz_tests: add a unishox2 fuzz test 2022-08-23 05:20:28 +00:00
Crypto City
7c70d0ef6e invisible P2P messages 2022-08-23 05:20:28 +00:00
Crypto City
27bcb3586b arbitrary data may be invisibly embedded in CLSAGs
This decreases the ring size observed by the recipient,
but not the ring size observed by another observer.
The more data, the greater the ring size reduction.
CLSAGs can carry a maximum of 252 bits per value (one
bit is used as a flag, the rest as data payload), and
there are 15 such values per ring. At close to full
capacity, the real spend will be known to the recipient
(though not to an observer, who will not even be able
to tell whether a transaction includes embedded data
or not).

Thanks to kayabaNerve for pointing out how to use s
for this.
2022-08-19 14:43:43 +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
f4a8938ec1 unit_tests: add unit_tests for collectible fish 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
46d22ceb89 allow texture creators to set the tile span 2022-07-23 15:46:20 +00:00
Crypto City
4c46b96faf user textures can now be used in game 2022-07-23 15:46:19 +00:00
Crypto City
5c2c002d17 user created textures and licencing - not yet usable on voxels 2022-07-23 15:46:19 +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
luigi1111
9df069f4ce
Merge pull request #8426
a82fba4 address PR comments (j-berman)
3be1dbd connection: fix implementation (anon)
724ff21 connection: add segfault and deadlocks demo (anon)
2022-07-15 11:25:11 -04:00
koe
edcc094558 derive multisig tx secret keys from an entropy source plus the tx inputs' key images 2022-07-13 12:40:34 -05:00