Commit Graph

10645 Commits

Author SHA1 Message Date
Crypto City
3556112dab game: use the print_money that cuts off trailing zeroes in game 2022-07-23 15:46:20 +00:00
Crypto City
4df8ef1915 game: fix initial selection in material selection screen 2022-07-23 15:46:19 +00:00
Crypto City
3ad7c87975 game: warn when opening the material selector with no selected flag 2022-07-23 15:46:19 +00:00
Crypto City
669da2d6ab game: add option to hide/show textures by ignored players 2022-07-23 15:46:19 +00:00
Crypto City
4c46b96faf user textures can now be used in game 2022-07-23 15:46:19 +00:00
Crypto City
028f51c31b game: fix materials only working for 256 variants
and pave the way for user textures to be used as materials
2022-07-23 15:46:19 +00:00
Crypto City
2a40996fd0 game: improve default flag names 2022-07-23 15:46:19 +00:00
Crypto City
74d476c3a5 game: allow empty name in building settings screen but prompt about it 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
7771ef85a7 game: fix image loader from memory not maintaining position 2022-07-23 15:46:19 +00:00
Crypto City
88d2fe61a0 cc: allow game to get the streak badge too, since it can get others 2022-07-23 15:46:19 +00:00
Crypto City
34db7e1842 add more rare fish
marlin, sole, great white shark, coelacanth, grunt, seahorse, toadfish

also tweak rarity
2022-07-23 15:46:19 +00:00
Crypto City
2a51a4c654 give a labour penalty to fishing in another city 2022-07-23 15:46:19 +00:00
Crypto City
4e638f06bb add fish spawning grounds city specialization 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
b62e22b435 add local fish species city specialization 2022-07-23 15:46:19 +00:00
Crypto City
a8a9690eb3 rare fish discoveries 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
3975fa3555 decrease fish spoil rate 2022-07-23 15:46:19 +00:00
Crypto City
98e27f74f6 game: add preserve-aspect-ratio property to UITBAnimatedImageWidget 2022-07-23 15:46:19 +00:00
Crypto City
05b630e0ee game: fix get_heading 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
b9a3b894cb blockchain: print block/tx hash when failing to revert a command 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
d7a1580cb2 add RPC to change a script blob (for debugging purposes) 2022-07-23 15:46:18 +00:00
Crypto City
7d47df9d9c db_lmdb: use serialization system for script data 2022-07-23 15:46:18 +00:00
Crypto City
4df64a3236 add "flag N role" operand to scripts 2022-07-23 15:46:18 +00:00
Crypto City
962b32c2be add "flags with role N" operand to scripts 2022-07-23 15:46:18 +00:00
Crypto City
4c486d533a game: display closest flag and distance if too far away to name a place 2022-07-23 15:46:18 +00:00
Crypto City
b1e1b6d2f4 factor island detection out, and consider older islands too
since the island detection performance hit is gone
2022-07-23 15:46:18 +00:00
Crypto City
7a5616cecb game: stop water wake when switching out of avatar camera mode 2022-07-23 15:46:18 +00:00
Crypto City
a3d3f5c121 game: stop water wake when the avatar gets to the shore 2022-07-23 15:46:18 +00:00
Crypto City
e30ff64cf1 game: improve water wake 2022-07-23 15:46:18 +00:00
Crypto City
b3c9abebf4 game: fix occasional missing ground 2022-07-23 15:46:18 +00:00
Crypto City
776b3f8457 adventurer badge: number of terrain features named 2022-07-23 15:46:18 +00:00
Crypto City
e62d9478de add terrain features
such as islands, peaks, etc

will be detected and assigned to places
2022-07-23 15:46:18 +00:00
Crypto City
6d5529d323 cc: reject attempts to name land too close to the edges 2022-07-23 15:46:18 +00:00
Crypto City
5ef8d07ef0 game: free camera gets a speed boost from the two shift keys down 2022-07-23 15:46:18 +00:00
Crypto City
ac3c5a8899 game: add an option to disable automatic backups 2022-07-23 15:46:18 +00:00
Crypto City
85f16c581e game: display whisper distance from eve's position, not the camera's 2022-07-23 15:46:18 +00:00
Crypto City
ec247f73e4 db_lmdb: add missing fields in get_as_{city,account,flag} 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
Crypto City
ab182447e3 cc: fix local variable revert in start_script command 2022-07-23 15:46:18 +00:00
Crypto City
7a91753ea8 game: fix missing warning icons in event badge screen 2022-07-23 15:46:18 +00:00
Crypto City
51a78e3fcd game: fix Z fighting at a distance in free camera mode 2022-07-23 15:46:18 +00:00
Crypto City
b671b9c79d game: update terrain when rebuilding flags as appropriate 2022-07-23 15:46:18 +00:00
Crypto City
fdc19d3cbc game: update "named" ground mode when a new named place appears 2022-07-23 15:46:18 +00:00
Crypto City
02b5f35172 game: make whisper bubbles slightly visible in daylight 2022-07-23 15:46:18 +00:00
Crypto City
9f6e3abfe8 cc: fix integer overflow in terrain generation 2022-07-23 15:46:18 +00:00
luigi1111
f982163fc9
Merge pull request #8425
fe5d1be build: prepare v0.18.0.0 (selsta)
2022-07-15 11:23:54 -04:00
luigi1111
4792ceefb1
Merge pull request #8414
2ba391f hardforks: set mainnet and stagenet v15/16 fork height (selsta)
2022-07-15 11:22:01 -04:00
luigi1111
070c3d6b0f
Merge pull request #8433
db8181a wallet2: force using output distribution for ringct outs (tobtoht)
2022-07-14 22:15:27 -04:00
luigi1111
02cbccc529
Merge pull request #8432
edcc094 derive multisig tx secret keys from an entropy source plus the tx inputs' key images (koe)
2022-07-14 22:14:41 -04:00
luigi1111
d912444a4a
Merge pull request #7986
5770265 wallet2: keep around transaction prefix for confirmed transfers (tobtoht)
2022-07-14 12:54:39 -04:00
selsta
fe5d1bef56
build: prepare v0.18.0.0 2022-07-13 22:07:31 +02: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
luigi1111
cfdee9ba69
Merge pull request #8421
bd1e7c5 wallet2: prevent crash when reading tx w/fewer outputs than expected (j-berman)
2022-07-13 00:39:54 -04:00
luigi1111
6fed8c2d9f
Merge pull request #8149
c7b2944 multisig: fix critical vulnerabilities in signing (anon)
2022-07-13 00:38:29 -04:00
luigi1111
4476c35fc8
Merge pull request #8408
09a597b wallet2: don't use DNS to obtain segregation heights (tobtoht)
2022-07-06 00:01:59 -05:00
luigi1111
cea2498e95
Merge pull request #8404
50ccc7e wallet2: remove obsolete rpc version check (tobtoht)
2022-07-06 00:01:29 -05:00
luigi1111
7a118f08f4
Merge pull request #8394
4278a3a cryptonote_basic: catch crypto api errors (moneromooo-monero)
2022-07-06 00:00:24 -05:00
luigi1111
5a3c77be18
Merge pull request #8391
41b1a6b simplewallet: print usage when given no args (hinto.janaiyo)
2022-07-05 23:59:59 -05:00
luigi1111
45a44aa45f
Merge pull request #8388
04c0da2 Chunk /gettransactions to avoid hitting restricted RPC limit (tobtoht)
2022-07-05 23:58:46 -05:00
luigi1111
969316685b
Merge pull request #8371
16f8e04 Remove erraneous commas (Luke Parker)
da0715e Improve consistency between on_money_received and on_money_received_unconfirmed (Luke Parker)
2022-07-05 23:58:06 -05:00
j-berman
bd1e7c5635 wallet2: prevent crash when reading tx w/fewer outputs than expected 2022-07-05 21:39:59 -07:00
Crypto City
cbcb62c06f game: display summary of amount of each badge level in player screen 2022-07-04 21:15:34 +00:00
Crypto City
14e8d08860 cc: remove unused crop_yield from snapshot data 2022-07-04 21:15:34 +00:00
Crypto City
54a104c526 speed up std::vector<uint8_t> serialization a bit 2022-07-04 21:15:34 +00:00
Crypto City
0fc5d92612 cc: new city spec: large moose, yields more meat when hunting moose 2022-07-04 21:15:34 +00:00
Crypto City
46186b7c52 cc: fix city specialization checks in hunt command 2022-07-04 21:15:34 +00:00
Crypto City
0cc9f5664c use BLOB_FIELD for std::vector<uint8_t> 2022-07-04 21:15:34 +00:00
Crypto City
9d07aeedda geographer badge - number of areas named 2022-07-04 21:15:34 +00:00
Crypto City
dd97761414 islander badge - number of buildings on an island 2022-07-04 21:15:34 +00:00
Crypto City
b1ab49720b players can now name areas 2022-07-04 21:15:34 +00:00
Crypto City
719222a6c2 add missing whispers in snapshot 2022-07-04 21:15:34 +00:00
Crypto City
1360d8466d db_lmdb: fix whispererer being signed 2022-07-04 21:15:34 +00:00
Crypto City
a6b0cb6109 fix runestone accounting in whispers 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
8335010779 wallet: add whisper RPC 2022-07-04 21:15:34 +00:00
Crypto City
d48966a82c improved fishing mechanics 2022-07-04 21:15:34 +00:00
Crypto City
145c39b30e cc: never end a fire due to max duration, buildings would still be burning 2022-07-04 21:15:34 +00:00
Crypto City
98591d4a36 replace shark with snake in newbie coins, reorder set
Sea creatures will be used elsewhere
2022-07-04 21:15:34 +00:00
Crypto City
5bb030d9bf game: display current badge scores in badge screen 2022-07-04 21:15:34 +00:00
Crypto City
2e30ac6a64 fix bejewelled badge not counting multiple gemstones 2022-07-04 21:15:34 +00:00
Crypto City
76dd928d88 fix newbies coin badge threshold since we have 6 newbie coins now 2022-07-04 21:15:34 +00:00
Crypto City
dec2eaccc6 game: fix hang when extending an empty selection 2022-07-04 21:15:34 +00:00
Crypto City
c46214fac0 game: "extend maximally" can now also work within a flag 2022-07-04 21:15:34 +00:00
Crypto City
a7d27beafa game: add a surf effect when moving through water 2022-07-04 21:15:34 +00:00
Crypto City
6dec04ed87 game: better new settler icon 2022-07-04 21:15:34 +00:00
Crypto City
e9f7fef90a game: slow down eve when wading in water 2022-07-04 21:15:34 +00:00
Crypto City
282e7a6fb1 game: water wake 2022-07-04 21:15:34 +00:00
Crypto City
dc6b606751 cc: fix get_influence_bonus using inactive flags, remove unused param 2022-07-04 21:15:34 +00:00
Crypto City
7b03f0b3b6 fix a few warnings 2022-07-04 21:15:34 +00:00
Crypto City
3397c2af50 cc: guard against buffer overflows in decode_blocks_new 2022-07-04 21:15:34 +00:00
Crypto City
88d695b526 game: replace "ID:" with "Item ID:" in item info string for clarity 2022-07-04 21:15:34 +00:00
Crypto City
7322a93a59 game: indent item/flag details in auctions screen 2022-07-04 21:15:34 +00:00
Crypto City
cffba8f7ef game: fix prestige leaderbaord using gold balance 2022-07-04 21:15:34 +00:00
Crypto City
fe13746ce0 game: fix layout issue in some notification widgets 2022-07-04 21:15:34 +00:00
Crypto City
2a81481cea game: only update mortgage screen on new blocks 2022-07-04 21:15:34 +00:00
Crypto City
3a46588fd4 game: do not list collectible coins in the destroy items screen 2022-07-04 21:15:34 +00:00
Crypto City
5165b90d54 game: disable ok button in the service screen when a flag offer none 2022-07-04 21:15:34 +00:00
Crypto City
b50f129e07 game: disable ok button in found city screen if not rich enough 2022-07-04 21:15:34 +00:00
Crypto City
b34098e42b game: display name of mortgaged flag in new mortgage screen 2022-07-04 21:15:34 +00:00
Crypto City
ab1ac98793 game: improve enable/disable of flag dependent panel buttons 2022-07-04 21:15:34 +00:00
Crypto City
50e3e7013a game: fix leaderboard invalid memory access and share filter widget 2022-07-04 21:15:34 +00:00
Crypto City
6a0780f00f game: fix a few things in player info coins screen
- fix is_player init value
- add sanity checks for mint and smelt screens being started
- remove unused (and wrong) get_owned function
2022-07-04 21:15:33 +00:00
Crypto City
24e8dc141b prevent floods in the first year 2022-07-04 21:15:33 +00:00
Crypto City
fd11280d14 game: fix malloc/delete mismatch 2022-07-04 21:15:33 +00:00
Crypto City
e98d064f7b game: fix invalid memory access after okaying a couple screens 2022-07-04 21:15:33 +00:00
Crypto City
cbec2696d2 move fishing functions to a separate file 2022-07-04 21:15:33 +00:00
Crypto City
1a36279fef change flood event to be a rising of water levels 2022-07-04 21:15:33 +00:00
Crypto City
9c09582b7f cc: forbid giving to oneself 2022-07-04 21:15:33 +00:00
Crypto City
d99c161c93 game: fix showing tutorials from the options screen 2022-07-04 21:15:33 +00:00
Crypto City
9da71e4ae1 game: add a button to clear the terrain cache 2022-07-04 21:15:33 +00:00
Crypto City
47f157c553 game: fix approving a build with unused placeholder entries 2022-07-04 21:15:33 +00:00
Crypto City
cb1e459d52 game: save a bit of time rebuilding empty flags 2022-07-04 21:15:33 +00:00
Crypto City
def98a7922 game: remove unused parameter in model construction 2022-07-04 21:15:33 +00:00
Crypto City
af31b656fb game: remember which panel sections are open in config.json 2022-07-04 21:15:33 +00:00
Crypto City
a00fe2ba94 game: fix auto load of backup voxel model on startup 2022-07-04 21:15:33 +00:00
Crypto City
f4f41a2312 daemon: elevation bonus is a bonus, so 0 is 100% 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
4d8229a0fd game: use a better "story/script" icon 2022-07-04 21:15:33 +00:00
Crypto City
d4dad89794 game: hack for buggered script notification layout 2022-07-04 21:15:33 +00:00
Crypto City
be640284aa game: improved spectator mode widget
allows loading a wallet or creating an account depending on state
2022-07-04 21:15:33 +00:00
Crypto City
88c7136845 improve beaches 2022-07-04 21:15:33 +00:00
Crypto City
72c11f0d8b game: fix some warnings 2022-07-04 21:15:33 +00:00
Crypto City
832d91bb15 fix labour supply accounting in fighting fire 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
db14dc7932 game: set a random seed when opening the found city screen 2022-07-04 21:15:33 +00:00
Crypto City
aee10e41a5 game: add a re-center button to the found city screen 2022-07-04 21:15:33 +00:00
Crypto City
b6e80744f3 add a "use existing seed" button to the found city screen 2022-07-04 21:15:33 +00:00
Crypto City
1847806348 game: make the default (free) camera move faster 2022-07-04 21:15:33 +00:00
Crypto City
636d8b7a84 more intricate shoreline 2022-07-04 21:15:33 +00:00
Crypto City
48870f3d1d Revert "Revert "decrease terrain height very slightly""
This reverts commit 3168d6c578.
2022-07-04 21:15:33 +00:00
Crypto City
92f56a23b6 Revert "Revert "cc: give gemstone potential a bit more width at times""
This reverts commit 3b75d0df4f.
2022-07-04 21:15:33 +00:00
Crypto City
ac7dff1cf1 Revert "Revert "tweak bear attack""
This reverts commit c23eb0563f.
2022-07-04 21:15:33 +00:00
Crypto City
b4f964ab45 Revert "Revert "cc: fix bridge score with too many cliff tiles""
This reverts commit bb616c30b0.
2022-07-04 21:15:33 +00:00
Crypto City
259ac82299 remove old TF forks, we'll be starting anew 2022-07-04 21:15:33 +00:00
Crypto City
ce6016306d add fish, fishing and fisheries 2022-07-04 21:15:33 +00:00
luigi1111
b54d5ae383
Merge pull request #8384
8460fcc Revert 'Merge pull request #7937' (j-berman)
2022-07-03 17:29:46 -05:00
luigi1111
82cde936c3
Merge pull request #8356
de2f0d0 wallet_api: add scanTransactions function (selsta)
2022-07-03 17:26:35 -05:00
luigi1111
30a9183091
Merge pull request #7774
ade464a ITS#9385 fix using MDB_NOSUBDIR with nonexistent file (Kris Zyp)
033a32a Remove check is_directory check on lmdb path (Howard Chu)
b096e16 Revert 'db_lmdb: test for mmap support at init time' (Howard Chu)
493577a Silence spurious fallthru warning (Howard Chu)
b46a60e Fix rawpart flag collision (Howard Chu)
4e7586c More RAWPART support (Howard Chu)
747f5d3 Preliminary raw partition support (Howard Chu)
2022-07-03 17:24:47 -05:00
selsta
2ba391f02c
hardforks: set mainnet and stagenet v15/16 fork height 2022-07-01 01:49:59 +02:00
anon
c7b2944f89 multisig: fix critical vulnerabilities in signing 2022-06-30 12:56:40 -05:00
Crypto City
9f6412b083 water/shoreline 2022-06-30 07:26:16 +00:00
tobtoht
09a597ba28
wallet2: don't use DNS to obtain segregation heights 2022-06-28 23:12:03 +02:00
Crypto City
b96242a157 fix fixed multiplication for low magnitude numbers 2022-06-28 16:49:50 +00:00
Crypto City
7927dbfb84 fix sin/cos for negative fixed values 2022-06-28 16:49:49 +00:00
Crypto City
fb48c2e73e add procedures to scripts 2022-06-28 16:49:49 +00:00
Crypto City
981a6098e8 storyline event and log can now take a format string 2022-06-28 16:49:49 +00:00
Crypto City
a1eebef592 game: fix up news about lightning strikes 2022-06-28 16:49:49 +00:00
Crypto City
88442e6bc5 fix choice reserves acounting 2022-06-28 16:49:49 +00:00
Crypto City
ccf94054fa db_lmdb: always remove 0 amount entries from item_balances on write 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
17f4e63baf daemon: add cc_scripts and cc_script_variables daemon commands 2022-06-28 16:49:49 +00:00
Crypto City
beef16dd19 fix line numbers in scripts where multiline strings are used 2022-06-28 16:49:49 +00:00
Crypto City
a530e93341 game: better handling of mouse between 3D view and UI 2022-06-28 16:49:49 +00:00
Crypto City
31e5ad49fa game: print script id in script list for the game account
helps with managing scripts
2022-06-28 16:49:49 +00:00
Crypto City
17348a6a32 game: improve variable replacement in scripts 2022-06-28 16:49:49 +00:00
Crypto City
f831633de4 game: allow more variable substitutions in script strings 2022-06-28 16:49:49 +00:00
Crypto City
8e6714e54a game: do not send a command to set a variable to its current value 2022-06-28 16:49:49 +00:00
Crypto City
2f27497111 db_lmdb: fix setting to 0 a script variable that's already unset 2022-06-28 16:49:49 +00:00
Crypto City
d787ede306 add log action to scripts
for debugging help
2022-06-28 16:49:49 +00:00
Crypto City
c8654eb73b make override integer values 64 bit 2022-06-28 16:49:49 +00:00
Crypto City
87bf592ea4 game: allow multiple override levels
eg, ${${foo}}
2022-06-28 16:49:49 +00:00
Crypto City
26d4914710 fix double blob replacement in scripts 2022-06-28 16:49:49 +00:00
Crypto City
af0b093a3f cc: ensure an exception in command check/execute/revert fails it 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
78a42233fd cc: remove unused variable 2022-06-28 16:49:49 +00:00
Crypto City
f654ba68ec fix snow storm enable condition check 2022-06-28 16:49:49 +00:00
Crypto City
6b2211365a fix player id op when dumping script 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
aec4aede5e allow mulitple enabled statements in choice, they are an OR condition 2022-06-28 16:49:49 +00:00
Crypto City
5b80d3a076 game: add storyline events to news also when triggered at script start 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
0317a1eddd add division and modulo to scripts 2022-06-28 16:49:49 +00:00
Crypto City
43515cfd5e add animal design for the newbie coins 2022-06-28 16:49:49 +00:00
Crypto City
7ac4e219ae keep game account prestige at 0
it'll likely have large amounts of gold coins to distribute,
so would get a prestige boost which isn't fair to players
2022-06-28 16:49:49 +00:00
Crypto City
61b81b5d4e Revert "scripts can now mint event coins"
This reverts commit 14ae96ca39233a88b191c9803864260bd226e5d8.
2022-06-28 16:49:49 +00:00
Crypto City
d4fbf59fe2 scripts can now mint event coins 2022-06-28 16:49:49 +00:00
Crypto City
10ad9c0733 do not give the rarest newbie coins to redeemed accounts 2022-06-28 16:49:49 +00:00
Crypto City
0ba526c764 game: show city coins separately from other coins 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
tobtoht
04c0da2986
Chunk /gettransactions to avoid hitting restricted RPC limit 2022-06-27 21:23:56 +02:00
tobtoht
db8181adf8
wallet2: force using output distribution for ringct outs
Co-authored-by: j-berman <justinberman@protonmail.com>
2022-06-25 13:06:11 +02:00
tobtoht
50ccc7e726
wallet2: remove obsolete rpc version check 2022-06-24 21:58:07 +02:00
moneromooo-monero
4278a3a7e3
cryptonote_basic: catch crypto api errors 2022-06-20 22:17:57 +00:00
hinto.janaiyo
41b1a6b0dd
simplewallet: print usage when given no args 2022-06-20 08:15:07 -04:00
j-berman
8460fcc32b Revert "Merge pull request #7937"
This reverts commit 50410d1f7d, reversing
changes made to d054def63f.
2022-06-13 18:44:09 +01:00
Howard Chu
033a32a20b
Remove check is_directory check on lmdb path
The check interferes with raw device/partition support.
2022-06-03 16:46:47 +01:00
Howard Chu
b096e16699
Revert "db_lmdb: test for mmap support at init time"
This reverts commit bd96536637.

The check interferes with raw device/partition support.
2022-06-03 16:46:35 +01:00
Luke Parker
16f8e042b5
Remove erraneous commas 2022-06-01 19:38:42 -04:00
Luke Parker
da0715e503
Improve consistency between on_money_received and on_money_received_unconfirmed
unconfirmed solely uses a - b, and received now accepts b so it can 
provide more detailed logs on what occurred (printing a - b, yet with a 
and b).
2022-06-01 18:20:11 -04:00
luigi1111
9750e1fa10
Merge pull request #8340
08080df unit_tests: add more sha256sum test cases (Jeffrey Ryan)
a66a52d common: update sha256sum to use OpenSSL 3.0 API (Jeffrey Ryan)
2022-05-26 21:26:42 -05:00
luigi1111
e8252ef99b
Merge pull request #8337
1164874 src, epee: fix a couple compiler warnings (selsta)
2022-05-26 21:25:06 -05:00
luigi1111
1ff2b02064
Merge pull request #8331
fde7c96 wallet2: fix spurious reorg detection with untrusted nodes (moneromooo-monero)
2022-05-26 21:24:38 -05:00
luigi1111
f9d789d68c
Merge pull request #8330
2dab31f Don't exclusively drop tor/i2p outgoing cxns in idle loop (j-berman)
2022-05-26 21:23:38 -05:00
luigi1111
f96cf86532
Merge pull request #8328
2979474 disable multisig by default (moneromooo-monero)
2022-05-26 21:22:52 -05:00
luigi1111
d52b7d0e99
Merge pull request #8326
b9d2c78 fix backoff delay logic when re-relaying txs (j-berman)
2022-05-26 21:21:18 -05:00
luigi1111
7f2f7ce404
Merge pull request #8324
bae4a1a Don't send peerlist larger than max allowed (j-berman)
2022-05-26 21:20:23 -05:00
selsta
de2f0d0102
wallet_api: add scanTransactions function 2022-05-26 03:51:31 +02:00
j-berman
2dab31f62f Don't exclusively drop tor/i2p outgoing cxns in idle loop 2022-05-18 09:54:21 -07:00
Crypto City
fc5196f84a ensure the right amount of gold is set in new event coins record 2022-05-18 06:36:26 +00:00
Crypto City
a591cbee2c prevent snowstorms in the first year
mainly to avoid them messing with tests :)
2022-05-18 06:36:26 +00:00
Jeffrey Ryan
a66a52d144
common: update sha256sum to use OpenSSL 3.0 API
As of OpenSSL 3.0, `SHA256_Init`, `SHA256_Update`, and `SHA256_Final`
are deprectaed in favor of the higher-level `EVP_*` class of functions.
This causes compiler warnings, and sooner or later, will cause build
errors as these functions are excluded from distro headers.

Also add some documentation.
2022-05-18 01:34:16 +02: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
selsta
1164874afc
src, epee: fix a couple compiler warnings 2022-05-17 00:33:10 +02:00
luigi1111
6e60919e6d
Merge pull request #8315
1ddb1ee Give better error messages when missing SSL files (Jeffrey Ryan)
2022-05-16 13:53:16 -05:00
luigi1111
5b9724b03d
Merge pull request #8308
f63f7dc wallet2: fix a couple unused variable warnings (selsta)
2022-05-16 13:51:18 -05:00
luigi1111
3d1e5db44d
Merge pull request #8307
b7978cf Remove src/serialization/list.h (Jeffrey)
2022-05-16 13:50:52 -05:00
moneromooo-monero
fde7c96b5c
wallet2: fix spurious reorg detection with untrusted nodes
When forced to deal with an untrusted node, a wallet will quantize
its current height to disguise the real height to the adversary, to
try and minimize the daemon's ability to distinguish returning
wallets.
Daemons will thus return more blocks than the wallet needs, starting
from earlier in the chain. These extra blocks will be disregarded
by the wallet, which had already scanned them.
However, for the purposes of reorg size detection, the wallet assumes
all blocks the daemon sends are different, which is only correct if
the wallet hasn't been coy, which is only the case for trusted
daemons (which you should use). This causes an issue when the size
of this "fake reorg" is above the sanity check threshold at which
the wallet refuses a reorg.
To fix this, the reorg size check is moved later on, when the reorg
is about to actually happen, after the wallet has checked which
blocks are actually different from the ones it expects.
2022-05-15 11:57:37 +00:00
moneromooo-monero
df2e680825
wallet2: speedup large tx construction: reserve vector memory
2.8 seconds -> 2.6 seconds on a test case
2022-05-13 17:43:22 +00:00
Crypto City
38cdf01c64
wallet2: speedup large tx construction: batch ringdb lookups
3.3 seconds -> 2.8 seconds on a test case
2022-05-13 17:43:22 +00:00
Crypto City
353cd5355e
wallet2: speedup large tx construction: no pointless clsag generation
4.1 seconds -> 3.3 seconds on a test case
2022-05-13 17:43:21 +00:00
Crypto City
2b95178897
wallet2: speedup large tx construction: batch ringdb updates
5.2 seconds -> 4.1 seconds on a test case
2022-05-13 17:43:20 +00:00
moneromooo-monero
c9cf0b78f8
wallet2: speedup large tx construction: cache public key validity
5.9 second -> 5.2 seconds on a test case
2022-05-13 17:43:16 +00:00
j-berman
b9d2c788bc fix backoff delay logic when re-relaying txs 2022-05-12 08:39:51 -07:00
j-berman
bae4a1ad8f Don't send peerlist larger than max allowed 2022-05-11 18:41:24 -07:00
luigi1111
8349cfe4a6
Merge pull request #8321
7d6c748 Set hf v15 testnet fork heights (j-berman)
2022-05-10 16:57:53 -05:00
luigi1111
d58ea37a8d
Merge pull request #8302
41da2fe Update copyright to 2022 for Hardfork files (Akrit)
2022-05-10 16:56:39 -05:00
luigi1111
8480575cec
Merge pull request #8300
070e41d Change Github to GitHub (Abdullah)
2022-05-10 16:53:48 -05:00
luigi1111
fbd1f1e476
Merge pull request #8293
4f08bcd refactor(bp+): save one inversion, use sc_muladd (Dusan Klinec)
2022-05-10 16:51:59 -05:00
luigi1111
436ca13722
Merge pull request #8277
baee2c0 Preserve commitment format inside transactions (kayabaNerve)
2022-05-10 16:49:13 -05:00
luigi1111
156151396e
Merge pull request #8262
268a039 Optimized keccak implementation (SChernykh)
2022-05-10 16:47:13 -05: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
j-berman
7d6c7489a7 Set hf v15 testnet fork heights 2022-05-09 14:38:54 -07:00
d44ea96fca game: More stable env/sun colors 2022-05-09 15:35:56 +00:00
224c08e7e0 game: add GraniteGrassPath material 2022-05-09 15:35:19 +00:00
efcf1492fd game: add Berries material 2022-05-09 15:34:12 +00:00
b863862143 game: add Flowers_Pink material 2022-05-09 15:34:12 +00:00
317ab73835 game: add Flowers_Yellow material 2022-05-09 15:34:12 +00:00
be3697481b game: replace Leaves_Yellow material 2022-05-09 15:33:53 +00:00
a85b11d47b game: replace Leaves_Red material 2022-05-09 15:32:22 +00:00
0bd67a04f5 game: replace Leaves_Grey material 2022-05-09 15:32:22 +00:00
b783ee9a1e game: replace Leaves_DarkGreen material 2022-05-09 15:32:12 +00:00
7b62feab75 game: replace Leaves_DarkBrown material 2022-05-09 15:32:12 +00:00
20f2f044bf game: replace Leaves_Brown material 2022-05-09 15:31:58 +00:00
7325a8b395 game: replace Leaves_Blue -> Flowers_Blue material 2022-05-09 15:31:58 +00:00
0ca4606124 game: replace Leaves material 2022-05-09 15:31:57 +00:00
1fe9b8374f game: replace Bark Red and Yellow materials 2022-05-09 15:31:42 +00:00
ca786e932d game: replace Bark1_Orange -> Bark_Grey material 2022-05-09 15:31:42 +00:00
79818e4136 game: replace Bark_Green material 2022-05-09 15:31:42 +00:00
055a08f80f game: replace Bark_Dark material 2022-05-09 15:31:42 +00:00
e5829197c6 game: update PloughedField material 2022-05-09 15:31:20 +00:00
f0b31c7734 game: replace Bark1 -> Bark_Mossy material 2022-05-09 15:31:20 +00:00
dd602ee241 game: replace VegetationTest2 -> Ivy material 2022-05-09 15:31:20 +00:00
e2fedaac52 game: replace VegetationText1 -> Meadow material 2022-05-09 15:31:20 +00:00
8714dccab2 game: add TeakFloor material 2022-05-09 15:31:20 +00:00
d7c710ee87 game: add TeakSquared material 2022-05-09 15:30:56 +00:00