Commit Graph

15099 Commits

Author SHA1 Message Date
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
1ce9e9cda4 Remove dead code from parserse_base_utils and fix unit tests
* Remove `match_string()`, `match_number()`, and `match_word()`
* Remove `match_word_with_extrasymb()` and `match_word_til_equal_mark()`
* Adapt unit test for `match_number()` to `match_number2()`
* Adapt unit test for `match_string()` to `match_string2()`

Note: the unit tests were testing for the old version of the functions, and
the interfaces for these functions changed slightly, so I had to also edit
the tests.

As of writing, this PR has no merge conflicts with #8211

Additional changes during review:
* Explicitly set up is_[float/signed]_val to be changed before each call
* Structify the tests and fix uninitialized variables
2022-03-30 13:29:32 -05: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
396b0a722a game: cube shader optimize 2022-03-25 19:37:27 +00:00
a2eca8ef81 game: texture: Sandstone Pack 2022-03-25 19:36:55 +00:00
ed15ceb22f game: add data: cubes shader 2022-03-25 19:36:46 +00:00
6ee6986a30 game: push shadow distance 2022-03-25 19:35:49 +00:00
4c0fbd4f6a game: camera light to physical values 2022-03-25 19:33:34 +00:00
3f1c89d7f9 game: remove redundant function call 2022-03-25 19:32:36 +00:00
375d6c2efb game: lit selected cubes + colors 2022-03-25 19:28:36 +00:00
c52d0d265f game: slower selection pulse 2022-03-25 19:23:54 +00:00
2fc7cc6be1 game: ownership shader 2022-03-25 19:23:45 +00:00
6e8f207ced game: gizmo shader update for ownership use 2022-03-25 19:23:35 +00:00
e498aefcf4 game: less saturated random colors 2022-03-25 19:22:46 +00:00
ede17b6a4a game: gizmo shader 2022-03-25 19:22:20 +00:00
0eca8f74a4 game: gizmo colors 2022-03-25 19:21:42 +00:00
c3f8ae74bd game: config: terrain shadows (need fix: subsampling and terrain shadows not loading config values at start) 2022-03-25 19:10:00 +00:00
Crypto City
63cad24345 game: remove obsolete space skybox 2022-03-25 19:08:30 +00:00
285da7d492 game: texture: night stars 2022-03-25 19:07:06 +00:00
065102f7e8 game: default daytime 2022-03-25 19:06:28 +00:00
d4104362ff game: post: add ColorLUT 2022-03-25 18:56:40 +00:00
576648d122 game: post: add Bloom 2022-03-25 18:54:54 +00:00
7c59156857 game: light system clean up 2022-03-25 18:50:04 +00:00
ab8dd13d10 game: ambiance influence on clouds colors 2022-03-25 18:49:49 +00:00
410c0a3369 game: fog uses ambient colors 2022-03-25 18:38:39 +00:00
fb2fe3639a game: fog distance 2022-03-25 18:35:06 +00:00
2d13424e19 game: ambient colors values 2022-03-25 18:30:56 +00:00
b08940269f game: custom TF icon 2022-03-25 18:29:31 +00:00
698e50c4b6 game: shader: whisper interpolate with day cycle 2022-03-25 18:25:18 +00:00
313948db3a game: shader: whisper to add 2022-03-25 18:12:45 +00:00
2c3b0f2375 game: texture: clouds 2022-03-25 17:59:54 +00:00
f3ad094dac game: cloud lights to physical values + yellowish clouds sunrise 2022-03-25 17:48:05 +00:00
09c9902256 game: ui: build-overview 2022-03-25 17:40:33 +00:00
787f7d1e12 game: ui: main 2022-03-25 17:39:55 +00:00
Crypto City
d2a1940842 game: print an error on invalid config setting 2022-03-25 17:32:06 +00:00
eb51aac4f5 game: config: when invalid set lowest 2022-03-25 17:26:38 +00:00
Jeffrey
002bf9c4fd Fix typo: SERIALIZE_TYPE_DUOBLE 2022-03-25 12:11:08 -05:00
f3ac1c057d game: sun to physical values 2022-03-25 16:41:03 +00:00
5c4e8d72ba game: texture: Runed Gizmo 2022-03-25 16:26:49 +00:00
ee829da0ac game: post: add SSAO 2022-03-25 16:26:33 +00:00