aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-07-18translations: use host compilerv0.18.0.0Bertrand Jacquin2-1/+7
Do not pass target compiler and compiler flags as generate_translations_header need to be created using host compiler and compiler flags
2022-07-18Use gentoo dev-libs/randomxBertrand Jacquin1-1/+0
2022-07-18Use gentoo versioningBertrand Jacquin1-15/+3
2022-07-18Drop in-tree miniupnpcBertrand Jacquin2-19/+6
Since 6b8539803184 ("Build: update CMake and p2p for in-tree miniupnp"), a hard dependency is made on miniupnpc which is a git submodule not part of the archive available upstream.
2022-07-15Merge pull request #8435v0.18.0.0luigi11111-0/+10
cf3be99 Template hash func to fix compiler error on < gcc-6 (j-berman)
2022-07-15Merge pull request #8426luigi11116-835/+1474
a82fba4 address PR comments (j-berman) 3be1dbd connection: fix implementation (anon) 724ff21 connection: add segfault and deadlocks demo (anon)
2022-07-15Merge pull request #8425luigi111111-15/+16
fe5d1be build: prepare v0.18.0.0 (selsta)
2022-07-15Merge pull request #8414luigi11111-2/+4
2ba391f hardforks: set mainnet and stagenet v15/16 fork height (selsta)
2022-07-14Merge pull request #8433luigi11111-9/+14
db8181a wallet2: force using output distribution for ringct outs (tobtoht)
2022-07-14Merge pull request #8432luigi11116-15/+147
edcc094 derive multisig tx secret keys from an entropy source plus the tx inputs' key images (koe)
2022-07-14Merge pull request #7986luigi11111-2/+5
5770265 wallet2: keep around transaction prefix for confirmed transfers (tobtoht)
2022-07-13Template hash func to fix compiler error on < gcc-6j-berman1-0/+10
2022-07-13build: prepare v0.18.0.0selsta11-15/+16
2022-07-13derive multisig tx secret keys from an entropy source plus the tx inputs' ↵koe6-15/+147
key images
2022-07-13Merge pull request #8421luigi11111-0/+2
bd1e7c5 wallet2: prevent crash when reading tx w/fewer outputs than expected (j-berman)
2022-07-13Merge pull request #8149luigi111124-387/+1857
c7b2944 multisig: fix critical vulnerabilities in signing (anon)
2022-07-08address PR commentsj-berman4-395/+390
2022-07-05connection: fix implementationanon5-836/+1230
2022-07-05connection: add segfault and deadlocks demoanon1-2/+252
2022-07-06Merge pull request #8413luigi11111-1/+1
8e9c60a README: depends has only been tested on ubuntu 18.04 and 20.04 (selsta)
2022-07-06Merge pull request #8412luigi11111-1/+1
83aa817 (fix): Confusingly named CI-Job (Klaus Frank)
2022-07-06Merge pull request #8408luigi11111-37/+0
09a597b wallet2: don't use DNS to obtain segregation heights (tobtoht)
2022-07-06Merge pull request #8404luigi11111-26/+1
50ccc7e wallet2: remove obsolete rpc version check (tobtoht)
2022-07-06Merge pull request #8400luigi11112-1/+22
6f3abbe Depends: Unbound disable getentropy()/reallocarray() (glibc < 2.26) (TheCharlatan)
2022-07-06Merge pull request #8394luigi11113-7/+12
4278a3a cryptonote_basic: catch crypto api errors (moneromooo-monero)
2022-07-05Merge pull request #8391luigi11111-0/+16
41b1a6b simplewallet: print usage when given no args (hinto.janaiyo)
2022-07-05Merge pull request #8390luigi11114-0/+241
d486c03 utils: add fish shell completions (Leo Nerone)
2022-07-05Merge pull request #8388luigi11111-7/+11
04c0da2 Chunk /gettransactions to avoid hitting restricted RPC limit (tobtoht)
2022-07-05Merge pull request #8371luigi11115-10/+17
16f8e04 Remove erraneous commas (Luke Parker) da0715e Improve consistency between on_money_received and on_money_received_unconfirmed (Luke Parker)
2022-07-05wallet2: prevent crash when reading tx w/fewer outputs than expectedj-berman1-0/+2
2022-07-03Merge pull request #8384luigi11111-36/+14
8460fcc Revert 'Merge pull request #7937' (j-berman)
2022-07-03Merge pull request #8358luigi11111-0/+4
fb3f7ce clang warning fix for #8338 (Jeffrey Ryan)
2022-07-03Merge pull request #8357luigi11111-0/+2
bc05d2d README.md: Add v15/v16 network upgrade (garth-xmr)
2022-07-03Merge pull request #8356luigi11113-0/+44
de2f0d0 wallet_api: add scanTransactions function (selsta)
2022-07-03Merge pull request #8296luigi11112-3/+6
61d0712 Gitian: refresh the stale Monero dir via --setup switch (mj-xmr)
2022-07-03Merge pull request #7774luigi11113-41/+58
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-01hardforks: set mainnet and stagenet v15/16 fork heightselsta1-2/+4
2022-06-30utils: add fish shell completionsLeo Nerone4-0/+241
Fish shell completions for monerod, monero-wallet-cli, and monero-wallet-rpc.
2022-06-30multisig: fix critical vulnerabilities in signinganon24-387/+1857
2022-06-29README: depends has only been tested on ubuntu 18.04 and 20.04selsta1-1/+1
2022-06-29(fix): Confusingly named CI-JobKlaus Frank1-1/+1
Rename the "build-macos" job within "depends", as it is not building on macOS as the similarly named job within build.yml does. Also, both names overlap which is confusing when looking for step-by-step build instruction examples or when looking at the logfile.
2022-06-28wallet2: don't use DNS to obtain segregation heightstobtoht1-37/+0
2022-06-27Chunk /gettransactions to avoid hitting restricted RPC limittobtoht1-7/+11
2022-06-25wallet2: force using output distribution for ringct outstobtoht1-9/+14
Co-authored-by: j-berman <justinberman@protonmail.com>
2022-06-24wallet2: remove obsolete rpc version checktobtoht1-26/+1
2022-06-22Depends: Unbound disable getentropy()/reallocarray() (glibc < 2.26)TheCharlatan2-1/+22
2022-06-20cryptonote_basic: catch crypto api errorsmoneromooo-monero3-7/+12
2022-06-20simplewallet: print usage when given no argshinto.janaiyo1-0/+16
2022-06-13Revert "Merge pull request #7937"j-berman1-36/+14
This reverts commit 50410d1f7d04bf60053f2263410c39e81d3ddad1, reversing changes made to d054def63f9b8950fe20b2d8e841f5a9ae09418f.
2022-06-06Gitian: refresh the stale Monero dir via --setup switchmj-xmr2-3/+6
2022-06-03ITS#9385 fix using MDB_NOSUBDIR with nonexistent fileKris Zyp1-4/+1
2022-06-03Remove check is_directory check on lmdb pathHoward Chu1-8/+2
The check interferes with raw device/partition support.
2022-06-03Revert "db_lmdb: test for mmap support at init time"Howard Chu2-31/+0
This reverts commit bd96536637724413173271e8d5df1777f7879c29. The check interferes with raw device/partition support.
2022-06-03Silence spurious fallthru warningHoward Chu1-1/+1
2022-06-03Fix rawpart flag collisionHoward Chu1-2/+2
2022-06-03More RAWPART supportHoward Chu1-1/+43
Use mmap to read and initialize the meta pages, raw device may not support read/write syscalls.
2022-06-03Preliminary raw partition supportHoward Chu1-1/+16
Autodetects that a block device is being used.
2022-06-01Remove erraneous commasLuke Parker1-3/+3
2022-06-01Improve consistency between on_money_received and on_money_received_unconfirmedLuke Parker5-10/+17
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-05-27clang warning fix for #8338Jeffrey Ryan1-0/+4
Unlike some other warnings, clang does not have a `stringop-overflow` group so it doesn't recognize the `#pragma GCC ...` directive in #8338
2022-05-26Merge pull request #8340luigi11117-13/+68
08080df unit_tests: add more sha256sum test cases (Jeffrey Ryan) a66a52d common: update sha256sum to use OpenSSL 3.0 API (Jeffrey Ryan)
2022-05-26Merge pull request #8338luigi11111-0/+3
5858f05 GCC: Fix -Wstringop-overflow= warnings (Jeffrey Ryan)
2022-05-26Merge pull request #8337luigi11113-5/+0
1164874 src, epee: fix a couple compiler warnings (selsta)
2022-05-26Merge pull request #8331luigi11111-9/+5
fde7c96 wallet2: fix spurious reorg detection with untrusted nodes (moneromooo-monero)
2022-05-26Merge pull request #8330luigi11114-29/+65
2dab31f Don't exclusively drop tor/i2p outgoing cxns in idle loop (j-berman)
2022-05-26Merge pull request #8328luigi11119-7/+111
2979474 disable multisig by default (moneromooo-monero)
2022-05-26Merge pull request #8326luigi11111-4/+4
b9d2c78 fix backoff delay logic when re-relaying txs (j-berman)
2022-05-26Merge pull request #8325luigi11111-0/+6
62914e7 Ignore gitian build files (Jeffrey Ryan)
2022-05-26Merge pull request #8324luigi11111-2/+6
bae4a1a Don't send peerlist larger than max allowed (j-berman)
2022-05-26Merge pull request #8318luigi11111-45/+0
af08c83 utils: delete outdated windows build script (selsta)
2022-05-26README.md: Add v15/v16 network upgradegarth-xmr1-0/+2
Remade #8270 (includes edits from UkoeHB)
2022-05-26wallet_api: add scanTransactions functionselsta3-0/+44
2022-05-23Merge pull request #8349luigi11111-1/+1
026dbc8 Windows build: fix narrowing error for WaitForSingleObject (Jeffrey Ryan)
2022-05-23Windows build: fix narrowing error for WaitForSingleObjectJeffrey Ryan1-1/+1
`WaitForSingleObject` returns a `DWORD`, not an int, so assign `retval` as such and it should fix the error.
2022-05-18Don't exclusively drop tor/i2p outgoing cxns in idle loopj-berman4-29/+65
2022-05-18unit_tests: add more sha256sum test casesJeffrey Ryan5-0/+42
2022-05-18common: update sha256sum to use OpenSSL 3.0 APIJeffrey Ryan2-13/+26
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-17disable multisig by defaultmoneromooo-monero9-7/+111
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-16GCC: Fix -Wstringop-overflow= warningsJeffrey Ryan1-0/+3
Resolves #8320
2022-05-17src, epee: fix a couple compiler warningsselsta3-5/+0
2022-05-16Merge pull request #8315luigi11112-6/+40
1ddb1ee Give better error messages when missing SSL files (Jeffrey Ryan)
2022-05-16Merge pull request #8312luigi111128-156/+307
5c27fd8 depends: Package cleanup (Howard Chu) c1d47eb Update randomx: fix Mac linking error (Howard Chu) 02e6af2 Update CI for aarch64 mac build (selsta) 7ea1e21 Make Mac SDK into a regular depends package (Howard Chu) e81ab9b Silence some protobuf link warnings (Howard Chu) fe5c2ae Fix arm64 darwin package defs (Howard Chu) fb68465 Boost 1.64 doesn't recognize arm64 darwin (Howard Chu) 617f908 more... update to clang 9.0.0 (Howard Chu) 83ae3ad Split native_clang out of native_cctools (Howard Chu) 1008318 Update native_cctools for newer SDK support (Howard Chu) a86c4cb Update to MacOSX SDK 11.1, add Mac M1 (Howard Chu)
2022-05-16Merge pull request #8308luigi11111-6/+1
f63f7dc wallet2: fix a couple unused variable warnings (selsta)
2022-05-16Merge pull request #8307luigi11112-65/+0
b7978cf Remove src/serialization/list.h (Jeffrey)
2022-05-16Merge pull request #8266luigi11111-2/+2
ab9766e depends: update unbound to 1.15.0 (selsta)
2022-05-16Merge pull request #8046luigi11115-40/+143
df2e680 wallet2: speedup large tx construction: reserve vector memory (moneromooo-monero) 38cdf01 wallet2: speedup large tx construction: batch ringdb lookups (Crypto City) 353cd53 wallet2: speedup large tx construction: no pointless clsag generation (Crypto City) 2b95178 wallet2: speedup large tx construction: batch ringdb updates (Crypto City) c9cf0b7 wallet2: speedup large tx construction: cache public key validity (moneromooo-monero)
2022-05-15wallet2: fix spurious reorg detection with untrusted nodesmoneromooo-monero1-9/+5
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-13wallet2: speedup large tx construction: reserve vector memorymoneromooo-monero1-1/+7
2.8 seconds -> 2.6 seconds on a test case
2022-05-13wallet2: speedup large tx construction: batch ringdb lookupsCrypto City4-5/+58
3.3 seconds -> 2.8 seconds on a test case
2022-05-13wallet2: speedup large tx construction: no pointless clsag generationCrypto City1-1/+12
4.1 seconds -> 3.3 seconds on a test case
2022-05-13wallet2: speedup large tx construction: batch ringdb updatesCrypto City4-5/+30
5.2 seconds -> 4.1 seconds on a test case
2022-05-13wallet2: speedup large tx construction: cache public key validitymoneromooo-monero2-28/+36
5.9 second -> 5.2 seconds on a test case
2022-05-12Ignore gitian build filesJeffrey Ryan1-0/+6
2022-05-12fix backoff delay logic when re-relaying txsj-berman1-4/+4
2022-05-11Don't send peerlist larger than max allowedj-berman1-2/+6
2022-05-10Merge pull request #8321luigi11111-0/+2
7d6c748 Set hf v15 testnet fork heights (j-berman)
2022-05-10Merge pull request #8304luigi11111-0/+14
0226df9 More tests for view tags (SChernykh)
2022-05-10Merge pull request #8302luigi111117-17/+17
41da2fe Update copyright to 2022 for Hardfork files (Akrit)
2022-05-10Merge pull request #8301luigi11112-2/+2
6ef945d Doxygen: Hide anonymous namespaces from documentation by default (Jeffrey)
2022-05-10Merge pull request #8300luigi11115-7/+7
070e41d Change Github to GitHub (Abdullah)
2022-05-10Merge pull request #8293luigi11111-3/+3
4f08bcd refactor(bp+): save one inversion, use sc_muladd (Dusan Klinec)
2022-05-10Merge pull request #8281luigi11111-15/+34
ca5921d readme: arch/fedora deps + small fixes (hinto.janaiyo)
2022-05-10Merge pull request #8280luigi11112-0/+198
fc9b77d Changes to PORTABLE_STORAGE.md (Jeffrey) 34941ac Docs: Add documentation for EPEE Portable Storage (Jeffrey)
2022-05-10Merge pull request #8279luigi11112-237/+1
f7d50cb EPEE: Remove gzip_encoding.h (Jeffrey)
2022-05-10Merge pull request #8278luigi11113-302/+0
63c7f8b EPEE: Remove hmac-md5 (Jeffrey)
2022-05-10Merge pull request #8277luigi11115-30/+6
baee2c0 Preserve commitment format inside transactions (kayabaNerve)
2022-05-10Merge pull request #8262luigi11111-33/+62
268a039 Optimized keccak implementation (SChernykh)
2022-05-10Merge pull request #8235luigi11111-2/+4
9c42b72 CMake: Add missing BUILD_SHARED_LIBS option (mj-xmr)
2022-05-10Merge pull request #8226luigi11113-5/+5
002bf9c Fix typo: SERIALIZE_TYPE_DUOBLE (Jeffrey)
2022-05-10Merge pull request #8220luigi11119-195/+337
0d6ecb1 multisig: add post-kex verification round to check that all participants have completed the multisig address (koe)
2022-05-10depends: Package cleanupHoward Chu7-20/+15
All patching should be in _preprocess_cmd. config_cmd should just run configure and nothing else before it, otherwise $PATH is broken when it runs. Also remove redundant settings to configure, _autoconf already sets them. We leave explicit AR_FLAGS settings because the builtin rule uses ARFLAGS, and so would leave AR_FLAGS unset otherwise.
2022-05-10Update randomx: fix Mac linking errorHoward Chu1-0/+0
Also silence randomx malloc exceptions
2022-05-09Set hf v15 testnet fork heightsj-berman1-0/+2
2022-05-09Update CI for aarch64 mac buildselsta1-8/+4
2022-05-09Make Mac SDK into a regular depends packageHoward Chu11-54/+17
2022-05-09Silence some protobuf link warningsHoward Chu2-0/+164
4 warnings remain but it's better than before
2022-05-07utils: delete outdated windows build scriptselsta1-45/+0
2022-05-07readme: arch/fedora deps + small fixeshinto.janaiyo1-15/+34
2022-05-06Fix arm64 darwin package defsHoward Chu5-5/+6
2022-05-06Boost 1.64 doesn't recognize arm64 darwinHoward Chu2-2/+14
2022-05-06more... update to clang 9.0.0Howard Chu1-6/+6
2022-05-06Split native_clang out of native_cctoolsHoward Chu4-49/+36
Needed for compiling native_libtapi
2022-05-06Update native_cctools for newer SDK supportHoward Chu5-18/+33
2022-05-05Give better error messages when missing SSL filesJeffrey Ryan2-6/+40
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-04Update to MacOSX SDK 11.1, add Mac M1Howard Chu6-20/+38
2022-05-04Changes to PORTABLE_STORAGE.mdJeffrey2-35/+77
* More information about array entries (especially nesting) * Varint encoding examples * Expanded string and integer encoding information
2022-05-02wallet2: fix a couple unused variable warningsselsta1-6/+1
2022-05-02Remove src/serialization/list.hJeffrey2-65/+0
Unused ;) Also a comment from serialization.h
2022-04-29More tests for view tagsSChernykh1-0/+14
P2Pool can create transactions with more than 128 outputs, which make output_index's varint larger than 1 byte. Added this test case.
2022-04-29multisig: add post-kex verification round to check that all participants ↵koe9-195/+337
have completed the multisig address
2022-04-29Update copyright to 2022 for Hardfork filesAkrit17-17/+17
Update Makefile and LICENSE
2022-04-28Doxygen: Hide anonymous namespaces from documentation by defaultJeffrey2-2/+2
Bonus: little doc fix for net_ssl.h
2022-04-27Change "Github" to "GitHub"Abdullah5-7/+7
2022-04-26refactor(bp+): save one inversion, use sc_muladdDusan Klinec1-3/+3
2022-04-25Merge pull request #8275luigi11114-0/+15
9209880 add a sanity check to RPC input data size (moneromooo-monero)
2022-04-25Merge pull request #8260luigi11111-0/+2
50ae6ba Tiny: add .vscode/ to .gitignore (mj-xmr)
2022-04-25Merge pull request #8249luigi11113-177/+0
a14fdf8 Remove /include (Jeffrey)
2022-04-25Merge pull request #8248luigi11113-72/+0
d1cb9c3 Remove serialization/enableable (Jeffrey)
2022-04-25Merge pull request #8178luigi11119-87/+38
5d388eb Bump ring size to 16 for v15 & remove set default in wallet cli (j-berman)
2022-04-23Docs: Add documentation for EPEE Portable StorageJeffrey1-0/+156
Ripped directly from @jtgrassie 's monero-binary-rpc repo. It's a very helpful little document and I think it deserves a place in the main repo.
2022-04-22EPEE: Remove gzip_encoding.hJeffrey2-237/+1
2022-04-22EPEE: Remove hmac-md5Jeffrey3-302/+0
2022-04-21Preserve commitment format inside transactionsLuke Parker5-30/+6
2022-04-21add a sanity check to RPC input data sizemoneromooo-monero4-0/+15
reported by m31007
2022-04-19Merge pull request #8254luigi11111-1/+1
9df7179 wallet2: use BP+ for cold signing (moneromooo-monero)
2022-04-19Merge pull request #8247luigi11111-15/+29
b99242f readme: small fixes (hinto.janaiyo)
2022-04-19Merge pull request #8246luigi11112-13/+13
6491700 Makefile: fix spelling of CMAKE_BUILD_TYPE value (selsta)
2022-04-19Merge pull request #8245luigi11111-1/+1
3593a98 simplewallet: fix integrated_address output string (selsta)
2022-04-19Merge pull request #8240luigi11111-0/+0
c68d78d randomx: update submodule (selsta)
2022-04-19Merge pull request #8232luigi11111-0/+1
0f7b20a Added support for Ledger Nano S Plus (Mathias Herberts)
2022-04-19Merge pull request #8061luigi111139-230/+1165
ea87b30 Add view tags to outputs to reduce wallet scanning time (j-berman)
2022-04-19readme: small fixeshinto.janaiyo1-15/+29
2022-04-19depends: update unbound to 1.15.0selsta1-2/+2
2022-04-18Bump ring size to 16 for v15 & remove set default in wallet clij-berman9-87/+38
2022-04-18Merge pull request #8211luigi1111103-10281/+98
1137142 Change C-cast to static_cast in net_peerlist.h (Jeffrey) 175b411 Change C-style-casts to static_cast in time_helper.h (Jeffrey) b49ed59 Remove the only 4 non-UTF8 characters in codebase (Jeffrey) 1f25aa2 Factor out move_it_backward from misc_language.h (Jeffrey) 7764d69 Move copyable_atomic into connection_context (Jeffrey) 801568d Refactor out to_nonconst_iterator.h (Jeffrey) 87ec36c Refactor out pragma_comp_defs (Jeffrey) 441c860 Merge functionality of misc_os_dependent into time_helper.h (Jeffrey) 40f02f9 Add Include statements (Jeffrey) 12b1b74 Trimming Fat (Jeffrey 690ce56 Boring Old Deletes (Jeffrey)
2022-04-18"Change C-cast to static_cast in net_peerlist.h"Jeffrey1-1/+1
Thanks @mj-xmr: https://github.com/monero-project/monero/pull/8211#discussion_r823870855
2022-04-18Change C-style-casts to static_cast in time_helper.hJeffrey1-4/+4
At the request of @mj-xmr: https://github.com/monero-project/monero/pull/8211#discussion_r822868321
2022-04-18Remove the only 4 non-UTF8 characters in codebaseJeffrey1-4/+4
Relevant commit in old PR: 1b798a7042070cc8063bd341ebf7025da554b632
2022-04-18Factor out move_it_backward from misc_language.hJeffrey2-17/+16
Relevant commit from old PR: 330df2952cb2863a591158b984c0fb7f652887ac
2022-04-18Move copyable_atomic into connection_contextJeffrey2-60/+35
Relevant commit from old PR: bd0a5119957d3ef9130a0b82599e1696995ef235
2022-04-18Refactor out to_nonconst_iterator.hJeffrey4-55/+1
Relevant commit on old PR: 2499269696192ce30dd125ddee90a80d4326dff9
2022-04-18Refactor out pragma_comp_defsJeffrey4-35/+4
Relevant commits on the old cleanup PR: 36933c7f5c7778e2d7fbfea5361c11fb41070467 21e43de0f300ee47b7e597098908601bf591950b 3c678bb1cedfd7b865ac2e7aaf014de4bfb3eb3d
2022-04-18Merge functionality of misc_os_dependent into time_helper.hJeffrey10-281/+35
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-18Add Include statementsJeffrey3-0/+3
2022-04-18Trimming FatJeffrey9-151/+0
Remove unused include statements or unused definitions.
2022-04-18Boring Old DeletesJeffrey71-9678/+0
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-18Optimized keccak implementationSChernykh1-33/+62
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-18Add view tags to outputs to reduce wallet scanning timej-berman39-230/+1165
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-18Merge pull request #8207luigi111115-138/+15
4db6aed CMake: Add missing headers via monero_find_all_headers macro (mj-xmr)
2022-04-18Merge pull request #7819luigi111117-49/+530
b030f20 Fee changes from ArticMine (moneromooo-monero) 9f786f0 epee: allow copying a rolling_median_t object (moneromooo-monero)
2022-04-15Tiny: add .vscode/ to .gitignoremj-xmr1-0/+2
2022-04-10wallet2: use BP+ for cold signingmoneromooo-monero1-1/+1
reported by ukoehb
2022-04-10CMake: Add missing BUILD_SHARED_LIBS optionmj-xmr1-2/+4
2022-04-10Fee changes from ArticMinemoneromooo-monero15-48/+498
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-10epee: allow copying a rolling_median_t objectmoneromooo-monero2-1/+32
2022-04-09Remove /includeJeffrey3-177/+0
* `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-09Remove serialization/enableableJeffrey3-72/+0
Currently working on an EPEE [ser/de]ialization library for Rust and at first glance, EPEE seemed to have support for optional wrappers. However, after looking into it, this feature appears to be half-baked and unused. Furthermore, adding support for optional values would be better suited to implement at the storage level, in my opinion. That would make parsing DOMs easier and less error-prone. If anyone is currently using this code, please comment. Thanks! At the time of writing, this PR has no merge conflicts with #8211
2022-04-08Makefile: fix spelling of CMAKE_BUILD_TYPE valueselsta2-13/+13
2022-04-08simplewallet: fix integrated_address output stringselsta1-1/+1
2022-04-06Merge pull request #8242luigi11111-3/+1
6abe3fe tests: integrated_address: remove missing payment id assertion (reemuru)
2022-04-06tests: integrated_address: remove missing payment id assertionreemuru1-3/+1
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-06CMake: Add missing headers via monero_find_all_headers macromj-xmr15-138/+15
2022-04-06randomx: update submoduleselsta1-0/+0
2022-04-06Merge pull request #8228luigi11113-144/+75
1ce9e9c Remove dead code from parserse_base_utils and fix unit tests (Jeffrey)
2022-04-06Merge pull request #8223luigi111110-50/+43
17772ef Eliminate dependence on boost::interprocess #8223 (Jeffrey)
2022-04-06Merge pull request #8215luigi11112-3/+13
d1f1947 wallet_rpc_server: support regex for get_accounts tag (reemuru)
2022-04-06Merge pull request #8213luigi11111-6/+0
7dcfccb wallet_rpc_server: fix make_integrated_address with no payment id (moneromooo-monero)
2022-04-06Merge pull request #8212luigi11111-3/+0
591c174 Remove footgun doc comment in miner TX validation (Luke Parker)
2022-04-06Merge pull request #8205luigi11112-1/+2
0d6fce8 Compil. time: cryptonote_core minus portable_storage header (mj-xmr)
2022-04-06Merge pull request #8197luigi1111695-695/+793
da9aa1f Copyright: Update to 2022 (mj-xmr)
2022-04-06Merge pull request #8195luigi11111-4/+4
3c82958 wallet2: update stagenet rollback blocks (selsta)
2022-04-06Merge pull request #8180luigi11111-13/+47
3f88fdd simplewallet: add option for exporting tx keys (reemuru)
2022-04-06Merge pull request #8179luigi11112-10/+167
ae0a840 wallet2: decrease the amount of data exchanged for output export (moneromooo-monero)
2022-04-06Merge pull request #8053luigi11111-2/+2
cf44349 account info text alignment (im)
2022-04-06Merge pull request #7937luigi11111-14/+36
83bb027 Make RPC server functions that read db thread safe (j-berman)
2022-04-05Merge pull request #7170luigi111137-165/+2674
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-05Merge pull request #7153luigi11114-0/+38
354e1d9 Make the wallet name optional when locked. (Norman Moeschter)
2022-04-05Make RPC server functions that read db thread safej-berman1-14/+36
- 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-05bulletproofs+: some minor cleanup from vtnerd's reviewmoneromooo-monero1-11/+2
2022-04-05store outPk/8 in the tx for speedmoneromooo-monero5-7/+31
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