Commit Graph

10645 Commits

Author SHA1 Message Date
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
d2edc8a13e game: add TeakPanel material 2022-05-09 15:30:40 +00:00
dd30b96545 game: add TeakArc material 2022-05-09 15:30:40 +00:00
259646c186 game: add TeakStarsDark material 2022-05-09 15:30:40 +00:00
7c9d6c9bc6 game: add TeakStars material 2022-05-09 15:30:40 +00:00
2f10235299 game: replace Teak -> TeakPlanks material 2022-05-09 15:30:40 +00:00
a880e6e7d0 game: add OakBurned material 2022-05-09 15:30:40 +00:00
be4f234467 game: add OakGappedPlanks material 2022-05-09 15:30:40 +00:00
9783df70d4 game: replace set Oak2 -> OakPainted materials 2022-05-09 15:30:40 +00:00
5a223880f3 game: replace Oak2 -> OakNaval material 2022-05-09 15:30:40 +00:00
af883cd20e game: replace Oak -> OakPlanks material 2022-05-09 15:29:45 +00:00
4e47f8a678 game: fix PineWall_Greenish material 2022-05-09 15:29:45 +00:00
c1c0f7b68f game: add PineBlooded material 2022-05-09 15:29:45 +00:00
c9313c5d92 game: replace set Pine4 -> PineFence materials 2022-05-09 15:29:45 +00:00
d9a4da17b7 game: replace set Pine3 -> PineRoof materials 2022-05-09 15:29:45 +00:00
88b7654f9f game: replace set Pine2 -> PineWall materials 2022-05-09 15:29:45 +00:00
19bb643447 game: replace set Pine -> PinePainted materials 2022-05-09 15:29:08 +00:00
527eb3be14 game: replace Pine -> PinePlanks material 2022-05-09 15:29:08 +00:00
22792723dc game: add MarbleRuned material 2022-05-09 15:29:08 +00:00
ffdb0882be game: add MarbleRoad material 2022-05-09 15:29:07 +00:00
6d46c338e6 game: add MarbleCobblestones material 2022-05-09 15:29:07 +00:00
19b064dfde game: replace set VeinedMarble materials 2022-05-09 15:29:07 +00:00
80165e2ff3 game: replace set Marble2 -> MarblePolished materials 2022-05-09 15:28:29 +00:00
089e0517a1 game: replace MarbleBlue -> MarbleBlocksBlue material 2022-05-09 15:28:20 +00:00
299d0d4efa game: replace MarbleRed -> MarbleBlocksRed 2022-05-09 15:28:20 +00:00
b0f7dbb643 game: replace MarbleGrey -> MarbleBlocksDark material 2022-05-09 15:28:20 +00:00
12a785129d game: replace Marble -> MarbleBlocks material 2022-05-09 15:28:20 +00:00
bf0a9793d1 game: add GraniteRunedRocks material 2022-05-09 15:28:20 +00:00
f21ff2165c game: add GraniteRuned material 2022-05-09 15:28:20 +00:00
e3b6038921 game: add GraniteOrnamentedCobblestone material 2022-05-09 15:27:39 +00:00
cbf890845e game: add GraniteCastleWall material 2022-05-09 15:27:39 +00:00
50db35796f game: add GraniteBlocks material 2022-05-09 15:27:39 +00:00
03774c968b game: replace GraniteDark material 2022-05-09 15:27:39 +00:00
d78bdb5fde game: replace GraniteMidDark material 2022-05-09 15:27:39 +00:00
26ec0bf0f7 game: replace cobblestones2 material 2022-05-09 15:26:45 +00:00
8630cb2896 game: replace Granite material 2022-05-09 15:26:38 +00:00
ce8531d058 game: add Sandstone Ornamented material 2022-05-09 15:26:25 +00:00
d42c6d0290 game: Sandstone materials small tweaks 2022-05-09 15:26:18 +00:00
947ea19b84 game: small light boost 2022-05-09 15:26:04 +00:00
33668cb82a game: enable build settings preview 2022-05-09 15:26:01 +00:00
Crypto City
7b7ac63401 game: undo stray debug change in material selection screen 2022-05-09 15:26:01 +00:00
Jeffrey Ryan
1ddb1ee819 Give better error messages when missing SSL files
While copying my data dir to another drive, I missed copying the rpc_ssl.key file b/c of the file permissions.
This change will give a much more clear, descriptive error in that scenario.
2022-05-05 21:48:19 -05:00
Crypto City
4c7801aa9a game: add a richest player leaderboard 2022-05-04 15:31:04 +00:00
bef63d2134 game: light camera color intensity 2022-05-04 15:31:03 +00:00
selsta
f63f7dc7e2
wallet2: fix a couple unused variable warnings 2022-05-02 21:28:40 +02:00
Jeffrey
b7978cfd4e Remove src/serialization/list.h
Unused ;)

Also a comment from serialization.h
2022-05-02 12:08:05 -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
Akrit
41da2fe6f3 Update copyright to 2022 for Hardfork files
Update Makefile and LICENSE
2022-04-29 11:12:36 +02:00
Abdullah
070e41d88b Change "Github" to "GitHub" 2022-04-27 18:53:03 +01:00
Dusan Klinec
4f08bcd800
refactor(bp+): save one inversion, use sc_muladd 2022-04-26 13:37:11 +02:00
luigi1111
67e5ca9ad6
Merge pull request #8275
9209880 add a sanity check to RPC input data size (moneromooo-monero)
2022-04-25 10:22:03 -05:00
luigi1111
a092b943d5
Merge pull request #8249
a14fdf8 Remove /include (Jeffrey)
2022-04-25 10:20:10 -05:00
luigi1111
e13244ea9c
Merge pull request #8178
5d388eb Bump ring size to 16 for v15 & remove set default in wallet cli (j-berman)
2022-04-25 10:18:26 -05:00
Luke Parker
baee2c06ec
Preserve commitment format inside transactions 2022-04-21 18:58:47 -04:00
moneromooo-monero
9209880e9c
add a sanity check to RPC input data size
reported by m31007
2022-04-21 22:22:56 +00:00
luigi1111
9f814edbd7
Merge pull request #8254
9df7179 wallet2: use BP+ for cold signing (moneromooo-monero)
2022-04-19 22:21:21 -05:00
luigi1111
4abbf442b4
Merge pull request #8245
3593a98 simplewallet: fix integrated_address output string (selsta)
2022-04-19 22:18:42 -05:00
luigi1111
8ddbe18277
Merge pull request #8232
0f7b20a Added support for Ledger Nano S Plus (Mathias Herberts)
2022-04-19 22:15:10 -05:00
luigi1111
96758a7d05
Merge pull request #8061
ea87b30 Add view tags to outputs to reduce wallet scanning time (j-berman)
2022-04-19 22:14:03 -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
Jeffrey
11371425f5 "Change C-cast to static_cast in net_peerlist.h"
Thanks @mj-xmr: https://github.com/monero-project/monero/pull/8211#discussion_r823870855
2022-04-18 09:55:21 -05:00
Jeffrey
1f25aa27c5 Factor out move_it_backward from misc_language.h
Relevant commit from old PR:
330df2952cb2863a591158b984c0fb7f652887ac
2022-04-18 09:55:21 -05:00
Jeffrey
7764d69782 Move copyable_atomic into connection_context
Relevant commit from old PR:
bd0a5119957d3ef9130a0b82599e1696995ef235
2022-04-18 09:55:21 -05:00
Jeffrey
441c860738 Merge functionality of misc_os_dependent into time_helper.h
Actions:
1. Remove unused functions from misc_os_dependent.h
2. Move three remaining functions, get_gmt_time, get_ns_count, and get_tick_count into time_helper.h
3. Remove unused functions from time_helper.h
4. Refactor get_ns_count and get_internet_time_str and get_time_interval_string
5. Remove/add includes as needed

Relevant commits on the old PR:
a9fbe52b02ffab451e90c977459fea4642731cd1
9a59b131c4ed1be8afe238fff3780fe203c65a46
7fa9e2817df9b9ef3f0290f7f86357939829e588
2022-04-18 09:55:21 -05:00
Jeffrey
40f02f9d73 Add Include statements 2022-04-18 09:55:20 -05:00
Jeffrey
12b1b74d32 Trimming Fat
Remove unused include statements or unused definitions.
2022-04-18 09:55:20 -05:00
Jeffrey
690ce560b0 Boring Old Deletes
Here lies dozens of unused files. This commit is ONLY file deletions except
for the removing of a couple of #includes and removing filenames from CmakeLists
where appropriate.
2022-04-18 09:55:20 -05:00
SChernykh
268a0393e9 Optimized keccak implementation
All tests were conducted on the same PC (Ryzen 5 5600X running at fixed 4.65 GHz).

Before:
test_cn_fast_hash<32> (100000 calls) - OK: 1 us/call
test_cn_fast_hash<16384> (1000 calls) - OK: 164 us/call

After:
test_cn_fast_hash<32> (100000 calls) - OK: 0 us/call
test_cn_fast_hash<16384> (1000 calls) - OK: 31 us/call

More than 5 times speedup for cn_fast_hash.

Also noticed consistent 1-2% improvement in test_construct_tx results.
2022-04-18 10:01:13 +02:00
j-berman
ea87b30f89 Add view tags to outputs to reduce wallet scanning time
Implements view tags as proposed by @UkoeHB in MRL issue
https://github.com/monero-project/research-lab/issues/73

At tx construction, the sender adds a 1-byte view tag to each
output. The view tag is derived from the sender-receiver
shared secret. When scanning for outputs, the receiver can
check the view tag for a match, in order to reduce scanning
time. When the view tag does not match, the wallet avoids the
more expensive EC operations when deriving the output public
key using the shared secret.
2022-04-18 00:49:53 -07:00
luigi1111
6694597974
Merge pull request #8207
4db6aed CMake: Add missing headers via monero_find_all_headers macro (mj-xmr)
2022-04-18 02:14:04 -05:00
moneromooo-monero
9df7179aaf
wallet2: use BP+ for cold signing
reported by ukoehb
2022-04-10 21:03:09 +00: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
Jeffrey
a14fdf8d5a Remove /include
* `IWallet.h` hasn't been touched since 2014, and has been replaced by `src/wallet/api/wallet2_api.h`
* `INode.h` is in a similar situation with `src/p2p/net_node.h`
2022-04-09 23:47:02 -05:00
selsta
3593a986d8
simplewallet: fix integrated_address output string 2022-04-08 16:20:37 +02:00
mj-xmr
4db6aed98c CMake: Add missing headers via monero_find_all_headers macro 2022-04-06 08:12:44 +02:00
luigi1111
bb093ec9a8
Merge pull request #8223
17772ef Eliminate dependence on boost::interprocess #8223 (Jeffrey)
2022-04-06 00:19:59 -04:00
luigi1111
f096ac1349
Merge pull request #8215
d1f1947 wallet_rpc_server: support regex for get_accounts tag (reemuru)
2022-04-06 00:16:20 -04:00
luigi1111
9a124f6811
Merge pull request #8213
7dcfccb wallet_rpc_server: fix make_integrated_address with no payment id (moneromooo-monero)
2022-04-06 00:15:40 -04:00
luigi1111
627f04c19a
Merge pull request #8212
591c174 Remove footgun doc comment in miner TX validation (Luke Parker)
2022-04-06 00:14:44 -04:00
luigi1111
04e490c8da
Merge pull request #8205
0d6fce8 Compil. time: cryptonote_core minus portable_storage header (mj-xmr)
2022-04-06 00:11:14 -04:00
luigi1111
0eb1b570b6
Merge pull request #8197
da9aa1f Copyright: Update to 2022 (mj-xmr)
2022-04-06 00:08:53 -04:00
luigi1111
88a5606795
Merge pull request #8195
3c82958 wallet2: update stagenet rollback blocks (selsta)
2022-04-06 00:07:36 -04:00
luigi1111
ffe439d38a
Merge pull request #8180
3f88fdd simplewallet: add option for exporting tx keys (reemuru)
2022-04-06 00:06:58 -04:00
luigi1111
0285c07d7d
Merge pull request #8179
ae0a840 wallet2: decrease the amount of data exchanged for output export (moneromooo-monero)
2022-04-06 00:06:20 -04:00
luigi1111
922acb05fd
Merge pull request #8053
cf44349 account info text alignment (im)
2022-04-06 00:03:41 -04:00
luigi1111
50410d1f7d
Merge pull request #7937
83bb027 Make RPC server functions that read db thread safe (j-berman)
2022-04-06 00:02:47 -04:00
luigi1111
d054def63f
Merge pull request #7170
bd27deb Bulletproofs+ (SarangNoether)
b7713cc Precompute initial transcript hash (SarangNoether)
b535d66 Updates from security audit (SarangNoether)
a0d80b1 plug bulletproofs plus into consensus (moneromooo-monero)
75bd004 ringct: a few minor optimizations from review (moneromooo-monero)
a345060 ringct: port some of vtnerd's review changes from BP+ to BP (moneromooo-monero)
4c94cfe store outPk/8 in the tx for speed (moneromooo-monero)
5acdd0e bulletproofs+: some minor cleanup from vtnerd's review (moneromooo-monero)
2022-04-05 23:56:09 -04:00
luigi1111
fb2f822c52
Merge pull request #7153
354e1d9 Make the wallet name optional when locked. (Norman Moeschter)
2022-04-05 23:48:18 -04:00
j-berman
83bb02745a Make RPC server functions that read db thread safe
- grab an lmdb db_rtxn_guard to ensure consistent data from the db
- fixed on_getblockhash error resp when requested height >= blockchain height
- left functions that read shared memory untouched for now
2022-04-05 20:20:12 -07:00
moneromooo-monero
5acdd0e2cb
bulletproofs+: some minor cleanup from vtnerd's review 2022-04-05 18:50:23 +00:00
moneromooo-monero
4c94cfecfc
store outPk/8 in the tx for speed
It avoids dividing by 8 when deserializing a tx, which is a slow
operation, and multiplies by 8 when verifying and extracing the
amount, which is much faster as well as less frequent
2022-04-05 18:50:22 +00:00
moneromooo-monero
a345060ace
ringct: port some of vtnerd's review changes from BP+ to BP 2022-04-05 18:50:21 +00:00
moneromooo-monero
75bd004f4e
ringct: a few minor optimizations from review 2022-04-05 18:50:21 +00:00
moneromooo-monero
a0d80b1f95
plug bulletproofs plus into consensus 2022-04-05 18:50:17 +00:00
Sarang Noether
b535d662b9 Updates from security audit
https://suyash67.github.io/homepage/assets/pdfs/bulletproofs_plus_audit_report_v1.1.pdf
2022-04-04 08:23:21 +00:00
Sarang Noether
b7713cce26 Precompute initial transcript hash 2022-04-04 08:23:21 +00:00
Sarang Noether
bd27debb2d Bulletproofs+ 2022-04-04 08:23:21 +00:00
Mathias Herberts
0f7b20a1ce Added support for Ledger Nano S Plus 2022-03-31 18:25:09 +02:00
Jeffrey
17772ef53e Eliminate dependence on boost::interprocess #8223
In this repo, `boost::interprocess` was being used soley to make `uint32_t` operations atomic. So I replaced each instance of
`boost::interprocess::ipcdetail::atomic(...)32` with `std::atomic` methods. I replaced member declarations as applicable. For example,
when I needed to change a `volatile uint32_t` into a `std::atomic<uint32_t>`. Sometimes, a member was being used a boolean flag, so
I replaced it with `std::atomic<bool>`.

You may notice that I didn't touch `levin_client_async.h`. That is because this file is entirely unused and will be deleted in PR monero-project#8211.

Additional changes from review:
* Make some local variables const
* Change postfix operators to prefix operators where value was not need
2022-03-30 13:18:32 -05:00
moneromooo-monero
ae0a840fda
wallet2: decrease the amount of data exchanged for output export 2022-03-29 08:40:32 +00:00
a2eca8ef81 game: texture: Sandstone Pack 2022-03-25 19:36:55 +00:00