aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-03-08Merge pull request #9224luigi11111-0/+1
eeb7c7c tx_memory_pool: make double spends a no-drop offense (jeffro256)
2024-03-08Merge pull request #9220luigi11112-3/+3
32b3a56 wallet2: adjust fee during backlog, fix set priority (selsta)
2024-03-08tx_memory_pool: make double spends a no-drop offensejeffro2561-0/+1
Nodes who see different txs in a double spend attack will drop each other, splitting the network. Issue found by @boog900.
2024-03-08wallet2: adjust fee during backlog, fix set priorityselsta2-3/+3
2024-03-07Merge pull request #9217luigi11111-1/+0
7807f56 unit_tests: fix strtoul unit test (jeffro256)
2024-03-07unit_tests: fix strtoul unit testjeffro2561-1/+0
2024-02-24Merge pull request #9158luigi11119-152/+87
33e3f72 serialization: fix infinite loops and clean up dispatching (jeffro256)
2024-02-24Merge pull request #9136luigi11117-9/+10
f2360a7 build: prepare v0.18.3.2 (selsta)
2024-02-24Merge pull request #9190luigi11111-2/+2
c97c2ec docs: omit i2p port number from ANONYMITY_NETWORKS (selsta)
2024-02-24Merge pull request #9188luigi11111-1/+2
0cc8f7a cryptonote_core: early out on out of bounds scaling parameter (selsta)
2024-02-24Merge pull request #9178luigi11114-15/+15
b987870 depends: openssl: update to 3.0.13 (tobtoht) 3aabfcf depends: unbound: update to 1.19.1 (tobtoht) 8322f9c depends: expat: update to 2.6.0 (tobtoht)
2024-02-24Merge pull request #9159luigi11111-1/+1
fbd0b19 remove ARCH=x86-64 from release-static (woodser)
2024-02-24Merge pull request #9156luigi11111-0/+4
052df1b Zero initialize rctSigBase elements (Lee *!* Clagett)
2024-02-24Merge pull request #9145luigi11111-0/+1
f5b8634 Add <cstdint> to aligned test (Lee *!* Clagett)
2024-02-24Merge pull request #9142luigi11115-85/+52
98ee46f Disable/fix ports with I2P (Lee Clagett)
2024-02-24Merge pull request #9130luigi11111-16/+43
dfb990e wallet: mitigate statistical dependence for decoy selection within rings (jeffro256)
2024-02-24Merge pull request #9008luigi11112-1/+5
9a89e2d wallet2: call on_reorg callback in handle_reorg (j-berman) 1df5630 wallet2: add on_reorg callback (Crypto City)
2024-02-24Merge pull request #8945luigi111110-43/+405
51d7a69 wallet: feature: transfer amount with fee included (jeffro256)
2024-02-21docs: omit i2p port number from ANONYMITY_NETWORKSselsta1-2/+2
2024-02-20wallet: feature: transfer amount with fee includedjeffro25610-43/+405
To transfer ~5 XMR to an address such that your balance drops by exactly 5 XMR, provide a `subtractfeefrom` flag to the `transfer` command. For example: transfer 76bDHojqFYiFCCYYtzTveJ8oFtmpNp3X1TgV2oKP7rHmZyFK1RvyE4r8vsJzf7SyNohMnbKT9wbcD3XUTgsZLX8LU5JBCfm 5 subtractfeefrom=all If my walet balance was exactly 30 XMR before this transaction, it will be exactly 25 XMR afterwards and the destination address will receive slightly less than 5 XMR. You can manually select which destinations fund the transaction fee and which ones do not by providing the destination index. For example: transfer 75sr8AAr... 3 74M7W4eg... 4 7AbWqDZ6... 5 subtractfeefrom=0,2 This will drop your balance by exactly 12 XMR including fees and will spread the fee cost proportionally (3:5 ratio) over destinations with addresses `75sr8AAr...` and `7AbWqDZ6...`, respectively. Disclaimer: This feature was paid for by @LocalMonero.
2024-02-20build: prepare v0.18.3.2selsta7-9/+10
2024-02-20cryptonote_core: early out on out of bounds scaling parameterselsta1-1/+2
2024-02-18depends: openssl: update to 3.0.13tobtoht1-2/+2
2024-02-18depends: unbound: update to 1.19.1tobtoht2-7/+7
2024-02-18depends: expat: update to 2.6.0tobtoht1-6/+6
2024-02-10remove ARCH=x86-64 from release-staticwoodser1-1/+1
2024-02-08serialization: fix infinite loops and clean up dispatchingjeffro2569-152/+87
Resolves #8687
2024-02-06Zero initialize rctSigBase elementsLee *!* Clagett1-0/+4
2024-01-30Disable/fix ports with I2PLee Clagett5-85/+52
2024-01-29Add <cstdint> to aligned testLee *!* Clagett1-0/+1
2024-01-19wallet: mitigate statistical dependence for decoy selection within ringsjeffro2561-16/+43
Since we are required to check for uniqueness of decoy picks within any given ring, and since some decoy picks may fail due to unlock time or malformed EC points, the wallet2 decoy selection code was building up a larger than needed *unique* set of decoys for each ring according to a certain distribution *without replacement*. After filtering out the outputs that it couldn't use, it chooses from the remaining decoys uniformly random *without replacement*. The problem with this is that the picks later in the picking process are not independent from the picks earlier in the picking process, and the later picks do not follow the intended decoy distribution as closely as the earlier picks. To understand this intuitively, imagine that you have 1023 marbles. You label 512 marbles with the letter A, label 256 with the letter B, so on and so forth, finally labelling one marble with the letter J. You put them all into a bag, shake it well, and pick 8 marbles from the bag, but everytime you pick a marble of a certain letter, you remove all the other marbles from that bag with the same letter. That very first pick, the odds of picking a certain marble are exactly how you would expect: you are twice as likely to pick A as you are B, twice as likely to pick B as you are C, etc. However, on the second pick, the odds of getting the first pick are 0%, and the chances for everything else is higher. As you go down the line, your picked marbles will have letters that are increasingly more unlikely to pick if you hadn't remove the other marbles. In other words, the distribution of the later marbles will be more "skewed" in comparison to your original distribution of marbles. In Monero's decoy selection, this same statistical effect applies. It is not as dramatic since the distribution is not so steep, and we have more unique values to choose from, but the effect *is* measureable. Because of the protocol rules, we cannot have duplicate ring members, so unless that restriction is removed, we will never have perfectly independent picking. However, since the earlier picks are less affected by this statistical effect, the workaround that this commit offers is to store the order that the outputs were picked and commit to this order after fetching output information over RPC.
2024-01-18Merge pull request #9080luigi11112-0/+208
47d8899 Fix missing checks for IsObject in ZMQ jsonrpc reading (Lee Clagett)
2024-01-18Merge pull request #9053luigi11111-7/+16
fe746dc Fix EAGAIN bug in ZMQ-RPC/ZMQ-PUB (Lee *!* Clagett)
2023-11-28Fix missing checks for IsObject in ZMQ jsonrpc readingLee Clagett2-0/+208
2023-11-06Merge pull request #9051luigi11111-0/+26
fe47806 wallet: fix multisig key memory leak (jeffro256)
2023-11-06Merge pull request #9047luigi11112-0/+18
6c38c21 heed NO_COLOR environment variable (moneromooo-monero)
2023-11-06Merge pull request #9046luigi11111-0/+4
5435202 readline_buffer: disable bracketed paste escape sequences (Jeffrey Ryan)
2023-11-06Merge pull request #9043luigi11111-4/+13
e7d51e5 JH hash compiler workarounds (SChernykh)
2023-11-06Merge pull request #9039luigi11111-3/+6
0f75585 multisig: better errors for small malformed kex msgs (jeffro256)
2023-11-06Merge pull request #9036luigi11111-3/+9
eae62a0 ringct: make ctSigBase serialization follow strict aliasing rule (jeffro256)
2023-11-06Merge pull request #9034luigi11111-0/+1
14ae812 cryptonote_config: include cstdint (jeffro256)
2023-11-06Merge pull request #9029luigi11111-2/+9
5b0c274 gitian: add riscv64 support (selsta)
2023-11-04JH hash compiler workaroundsSChernykh1-4/+13
- Fixed uninitialized `state->x` warning - Fixed broken code with `-O3` or `-Ofast` The old code is known to break GCC 10.1 and GCC 11.4
2023-11-04Fix EAGAIN bug in ZMQ-RPC/ZMQ-PUBLee *!* Clagett1-7/+16
2023-11-03wallet: fix multisig key memory leakjeffro2561-0/+26
Multisig keys per-transfer were being wiped, but not erased, which lead to a ginormous quadratic bloat the more transfers and exports you performed with the wallet.
2023-10-31heed NO_COLOR environment variablemoneromooo-monero2-0/+18
2023-10-31readline_buffer: disable bracketed paste escape sequencesJeffrey Ryan1-0/+4
2023-10-25Merge pull request #9027luigi11112-2/+2
09a88cc Update RandomX to 1.2.1 (tevador)
2023-10-25Merge pull request #9022luigi11111-3/+3
bdebf68 wallet2: ensure transfers and sweeps use same fee calc logic (j-berman)
2023-10-25Merge pull request #9020luigi11111-16/+26
e0b2123 http_client: reduce number of packets sent for small bodies (jeffro256)
2023-10-25multisig: better errors for small malformed kex msgsjeffro2561-3/+6
Resolves https://github.com/monero-project/monero/issues/8493
2023-10-25Merge pull request #8992luigi11112-8/+8
0c04018 depends: openssl: update to 3.0.11 (tobtoht)
2023-10-24ringct: make `rctSigBase` serialization follow strict aliasing rulejeffro2561-3/+9
Accessing an object of type `char` thru an lvalue of type `crypto::hash8` is undefined behavior. https://developers.redhat.com/blog/2020/06/03/the-joys-and-perils-of-aliasing-in-c-and-c-part-2
2023-10-23cryptonote_config: include cstdintjeffro2561-0/+1
Header was using `uint64_t` without including `<cstdint>` which caused some issues downstream for windows builds
2023-10-21gitian: add riscv64 supportselsta1-2/+9
2023-10-20Update RandomX to 1.2.1tevador2-2/+2
2023-10-16wallet2: ensure transfers and sweeps use same fee calc logicj-berman1-3/+3
Ensures both transfers and sweeps use a fee that's calculated from the tx's weight. Using different logic could theoretically enable distinguishability between the two types of txs. We don't want that.
2023-10-15http_client: reduce number of packets sent for small bodiesjeffro2561-16/+26
2023-10-02Merge pull request #9014v0.18.3.1luigi11112-33/+37
69de381 add a test for the long term weight cache (Boog900) 810f6a6 Fix: long term block weight cache The long term block weight cache was doing a wrong calculation when adding a new block to the cache. (Boog900)
2023-10-02Merge pull request #9012luigi11117-9/+10
fbcd8da build: prepare v0.18.3.1 (selsta)
2023-10-02Merge pull request #9011luigi11113-3/+3
03d51b7 wallet2: fix refresh function parameters (selsta)
2023-10-02add a test for the long term weight cacheBoog9001-0/+35
2023-10-02Fix: long term block weight cacheBoog9001-33/+2
The long term block weight cache was doing a wrong calculation when adding a new block to the cache.
2023-10-02build: prepare v0.18.3.1selsta7-9/+10
2023-10-01wallet2: fix refresh function parametersselsta3-3/+3
max_blocks is last on master branch
2023-09-30Merge pull request #9001v0.18.3.0luigi11112-0/+6
3f9140e storages: change error log category to serialization (selsta) It's over 9000!!!
2023-09-30Merge pull request #8999luigi11111-2/+2
205c804 wallet: store watch-only wallet correctly when change_password() is called (jeff)
2023-09-27wallet2: call on_reorg callback in handle_reorgj-berman1-4/+4
2023-09-27wallet2: add on_reorg callbackCrypto City2-0/+4
2023-09-22storages: change error log category to serializationselsta2-0/+6
2023-09-22wallet: store watch-only wallet correctly when `change_password()` is calledjeff1-2/+2
The Monero GUI code was calling `Monero::wallet::setPassword()` on every open/close for some reason, and the old `store_to()` code called `store_keys()` with `watch_only=false`, even for watch-only wallets. This caused a bug where the watch-only keys file got saved with with the JSON field `watch_only` set to 0, and after saving a watch-only wallet once, a user could never open it back up against because `load()` errored out. This never got brought up before this because you would have to change the file location of the watch-only wallet to see this bug, and I guess that didn't happen often, but calling the new `store_to()` function with the new `force_rewrite` parameter set to `true` triggers key restoring and the bug appeared.
2023-09-19depends: openssl: update to 3.0.11tobtoht2-8/+8
2023-09-14Merge pull request #8988luigi11117-9/+10
64ed938 build: prepare v0.18.3.0 (selsta)
2023-09-14Merge pull request #8977luigi11111-89/+50
7dbb14b functional_tests: fix multisig tests noutputs assertion (jeffro256)
2023-09-14Merge pull request #8941luigi11113-6/+14
356e687 wallet_rpc_server: chunk refresh to keep responding to RPC while refreshing (moneromooo-monero) 633e1b7 wallet_rpc_server: add --no-initial-sync flag for quicker network binding (moneromooo-monero)
2023-09-14Merge pull request #8938luigi11117-42/+359
ba98269 wallet2: fix store_to() and change_password() (jeffro256)
2023-09-10build: prepare v0.18.3.0selsta7-9/+10
2023-08-23wallet2: fix `store_to()` and `change_password()`jeffro2567-42/+359
Resolves #8932 and: 2. Not storing cache when new path is different from old in `store_to()` and 3. Detecting same path when new path contains entire string of old path in `store_to()` and 4. Changing your password / decrypting your keys (in this method or others) and providing a bad original password and getting no error and 5. Changing your password and storing to a new file
2023-08-19functional_tests: fix multisig tests noutputs assertionjeffro2561-89/+50
The changes to the multisig tests in #8914 and #8904 affected each other, this PR cleans up the code and fixes that issue.
2023-08-17wallet_rpc_server: chunk refresh to keep responding to RPC while refreshingmoneromooo-monero3-5/+9
2023-08-17wallet_rpc_server: add --no-initial-sync flag for quicker network bindingmoneromooo-monero1-1/+5
2023-08-17Merge pull request #8957luigi11111-4/+9
b51f4a9 scan_tx: fix custom comparator for == case; fixes #8951 (j-berman)
2023-08-17Merge pull request #8953luigi11111-4/+4
ed05ac6 wallet2: when checking frozen multisig tx set, don't assume order (jeffro256)
2023-08-17Merge pull request #8942luigi11117-35/+217
78348bc wallet-rpc: restore from multisig seed (jeffro256)
2023-08-17Merge pull request #8891luigi11113-2/+17
842478c core_rpc_server: return ID of submitted block (jeffro256)
2023-08-17Merge pull request #8800luigi111113-295/+926
f137a35 Enforce restricted # pool txs served via RPC + optimize chunked reqs [release-v0.18] (j-berman) 23f782b wallet2, RPC: Optimize RPC calls for periodic refresh from 3 down to 1 call [release-v0.18] (rbrunner7)
2023-08-10wallet-rpc: restore from multisig seedjeffro2567-35/+217
2023-07-19scan_tx: fix custom comparator for == case; fixes #8951j-berman1-4/+9
Co-authored-by: woodser <woodser@protonmail.com>
2023-07-17wallet2: when checking frozen multisig tx set, don't assume orderjeffro2561-4/+4
2023-07-09Enforce restricted # pool txs served via RPC + optimize chunked reqs ↵j-berman12-168/+245
[release-v0.18] - `/getblocks.bin` respects the `RESTRICTED_TX_COUNT` (=100) when returning pool txs via a restricted RPC daemon. - A restricted RPC daemon includes a max of `RESTRICTED_TX_COUNT` txs in the `added_pool_txs` field, and returns any remaining pool hashes in the `remaining_added_pool_txids` field. The client then requests the remaining txs via `/gettransactions` in chunks. - `/gettransactions` no longer does expensive no-ops for ALL pool txs if the client requests a subset of pool txs. Instead it searches for the txs the client explicitly requests. - Reset `m_pool_info_query_time` when a user: (1) rescans the chain (so the wallet re-requests the whole pool) (2) changes the daemon their wallets points to (a new daemon would have a different view of the pool) - `/getblocks.bin` respects the `req.prune` field when returning pool txs. - Pool extension fields in response to `/getblocks.bin` are optional with default 0'd values.
2023-07-09wallet2, RPC: Optimize RPC calls for periodic refresh from 3 down to 1 call ↵rbrunner79-205/+759
[release-v0.18]
2023-07-06Merge pull request #8917luigi11111-0/+2
835896e wallet2: do not lose exception in current thread on refresh (Crypto City) 62bb95b wallet2: fix missing exceptions from failing wallet refresh (Crypto City)
2023-07-06Merge pull request #8916luigi11111-0/+10
1924c17 protocol: drop peers sending duplicate txes (moneromooo-monero)
2023-07-06Merge pull request #8909luigi11111-5/+8
aed36a2 Set SSL SNI even when server verification is disabled (Lee *!* Clagett)
2023-07-06Merge pull request #8908luigi11112-0/+29
c6530d2 Add CLSAG serialization to ZMQ code (Lee Clagett)
2023-07-06Merge pull request #8905luigi11113-2/+141
dc24312 wallet: respect frozen key images in multisig wallets [RELEASE] (jeffro256)
2023-07-06Merge pull request #8900luigi11111-4/+1
438554e properly terminate interrupted TCP connection. fixes #8685 (j-berman)
2023-07-06Merge pull request #8895luigi11111-1/+1
26025cb Speed up perf_timer init on x86 (SChernykh)
2023-07-06Merge pull request #8892luigi11111-157/+59
aa139f0 wallet_rpc_server: dedup transfer RPC responses [RELEASE] (jeffro256)
2023-06-30core_rpc_server: return ID of submitted blockjeffro2563-2/+17
2023-06-27Merge pull request #8883luigi11111-2/+2
a4a58eb depends: update openssl to 1.1.1u (tobtoht)
2023-06-27Merge pull request #8878luigi11113-20/+66
8dc4abd common: do not use DNS to determine if address is local (tobtoht)
2023-06-27Merge pull request #8851luigi11111-1/+1
1fad8cc blockchain: ensure base fee cannot reach 0 (Crypto City)
2023-06-27Merge pull request #8845luigi11111-1/+1
cfc6227 cryptonote_basic: fix amount overflow detection on 32-bit systems [RELEASE] (jeffro256)
2023-06-27Merge pull request #8831luigi11111-1/+8
1d1d5fb Fixed RandomX initialization when mining from scratch (SChernykh)
2023-06-27Merge pull request #8566luigi111112-69/+631
65e13db wallet2: fix rescanning tx via scan_tx (j-berman)
2023-06-27wallet2: do not lose exception in current thread on refreshCrypto City1-0/+1
2023-06-27wallet2: fix missing exceptions from failing wallet refreshCrypto City1-0/+1
2023-06-27protocol: drop peers sending duplicate txesmoneromooo-monero1-0/+10
2023-06-16Set SSL SNI even when server verification is disabledLee *!* Clagett1-5/+8
2023-06-16Add CLSAG serialization to ZMQ codeLee Clagett2-0/+29
2023-06-12wallet: respect frozen key images in multisig wallets [RELEASE]jeffro2563-2/+141
Before this change, if a multisig peer asked you to sign a transaction with a frozen enote, the wallet will do it without any error or warning. This change makes it so that wallets will refuse to sign multisig transactions with frozen enotes. Disclaimer: This PR was generously funded by @LocalMonero.
2023-06-09properly terminate interrupted TCP connection. fixes #8685j-berman1-4/+1
2023-06-08Speed up perf_timer init on x86SChernykh1-1/+1
All Monero binaries have 1 second startup delay because of this code. This is especially noticeable and affects UX in Monero GUI wallet with local node where it often starts another monerod instance to run commands and query node status.
2023-06-02cryptonote_basic: fix amount overflow detection on 32-bit systems [RELEASE]jeffro2561-1/+1
2023-06-02wallet_rpc_server: dedup transfer RPC responses [RELEASE]jeffro2561-157/+59
2023-05-30depends: update openssl to 1.1.1utobtoht1-2/+2
2023-05-25common: do not use DNS to determine if address is localtobtoht3-20/+66
Co-authored-by: j-berman <justinberman@protonmail.com>
2023-05-12Merge pull request #8846luigi11114-0/+4
f983ac7 fix missing <cstdint> includes (tobtoht)
2023-05-11blockchain: ensure base fee cannot reach 0Crypto City1-1/+1
reported by sech1
2023-05-08fix missing <cstdint> includestobtoht4-0/+4
2023-04-27Fixed RandomX initialization when mining from scratchSChernykh1-1/+8
2023-04-25Merge pull request #8766luigi11111-0/+13
ad80f1b Handle case where a command line flag is not allowed in the config file (almalh)
2023-04-02Merge pull request #8805v0.18.2.2luigi11117-9/+10
4f1262b build: prepare v0.18.2.2 (selsta)
2023-04-02Merge pull request #8813luigi11114-3/+10
059b975 cryptonote core/protocol: don't drop peers for soft offenses (jeffro256)
2023-04-02Merge pull request #8811luigi11112-5/+8
c742fa4 Fixed deadlock and crash when syncing with full dataset on Windows (SChernykh)
2023-03-29cryptonote core/protocol: don't drop peers for soft offensesjeffro2564-3/+10
Also: txs with tx_extra which is too large will not get published to ZMQ Co-authored-by: SChernykh <sergey.v.chernykh@gmail.com>
2023-03-29Fixed deadlock and crash when syncing with full dataset on WindowsSChernykh2-5/+8
It's not allowed to use WaitForSingleObject with _beginthread, because the thread closes its own handle before exiting. So the wait function will either wait on an invalid handle, or on a different handle used by something else. Or, if it starts waiting before the thread exits, the behavior is undefined according to MS: "If this handle is closed while the wait is still pending, the function's behavior is undefined." In my test sync I observed threads getting stuck infinitely on WaitForSingleObject, and then rx_set_main_seedhash spamming new threads when RandomX seed changes again. Eventually the system ran out of resources, and monerod aborted with "Couldn't start RandomX seed thread" message. This PR fixes it by using `_beginthreadex` instead and explicitly closing the handle when it's safe.
2023-03-27build: prepare v0.18.2.2selsta7-9/+10
2023-03-27Merge pull request #8801v0.18.2.1luigi11112-3/+4
1328048 wallet2: fix infinite loop in fake out selection (Crypto City)
2023-03-25wallet2: fix infinite loop in fake out selectionCrypto City2-3/+4
The gamma picker and the caller code did not quite agree on the number of rct outputs available for use - by one block - which caused an infinite loop if the picker could never pick outputs from that block but already had picked all other outputs from previous blocks. Also change the range to select from using code from UkoeHB.
2023-03-24Merge pull request #8785luigi11117-9/+10
cdeb286 build: prepare v0.18.2.1 (selsta)
2023-03-24Merge pull request #8787luigi11111-2/+22
c4cfaa4 p2p: do not log to global when re-blocking a subnet (moneromooo-monero) f0e326b p2p: avoid spam blocking ipv4 addresses in a blocked subnet (moneromooo-monero)
2023-03-19p2p: do not log to global when re-blocking a subnetmoneromooo-monero1-1/+5
2023-03-19p2p: avoid spam blocking ipv4 addresses in a blocked subnetmoneromooo-monero1-1/+17
2023-03-18Merge pull request #8784luigi11116-1/+22
5900ed3 Add a size limit for tx_extra in tx pool (tevador)
2023-03-18Merge pull request #8781luigi111112-111/+715
c59e009 verRctNonSemanticsSimpleCached: fix fragility (Jeffrey Ryan)
2023-03-18Merge pull request #8779luigi11111-0/+1
14de562 device: Add ledger Stax device id to device detection (Francois Beutin)
2023-03-18Merge pull request #8746luigi11113-19/+21
77d883e workflows: update dependencies to fix warnings (selsta)
2023-03-18build: prepare v0.18.2.1selsta7-9/+10
2023-03-18Add a size limit for tx_extra in tx pooltevador6-1/+22
2023-03-17verRctNonSemanticsSimpleCached: fix fragilityJeffrey Ryan12-111/+715
2023-03-17device: Add ledger Stax device id to device detectionFrancois Beutin1-0/+1
2023-03-13wallet2: fix rescanning tx via scan_txj-berman12-69/+631
- Detach & re-process txs >= lowest scan height - ensures that if a user calls scan_tx(tx1) after scanning tx2, the wallet correctly processes tx1 and tx2 - if a user provides a tx with a height higher than the wallet's last scanned height, the wallet will scan starting from that tx's height - scan_tx requires trusted daemon iff need to re-process existing txs: in addition to querying a daemon for txids, if a user provides a txid of a tx with height *lower* than any *already* scanned txs in the wallet, then the wallet will also query the daemon for all the *higher* txs as well. This is likely unexpected behavior to a caller, and so to protect a caller from revealing txid's to an untrusted daemon in an unexpected way, require the daemon be trusted.
2023-03-06Handle case where a command line flag is not allowed in the config filealmalh1-0/+13
2023-02-20workflows: update dependencies to fix warningsselsta3-19/+21
2023-02-15Merge pull request #8739v0.18.2.0luigi11117-9/+10
dc18efa build: prepare v0.18.2.0 (selsta)
2023-02-15Merge pull request #8738luigi11112-65/+3
d8e39bd depends: bump openssl to 1.1.1t (tobtoht)
2023-02-15Merge pull request #8721luigi11111-9/+11
988056d p2p: add plowsof seed nodes (selsta) ce4ef6d p2p: remove offline seed nodes (selsta)
2023-02-08build: prepare v0.18.2.0selsta7-9/+10
2023-02-07depends: bump openssl to 1.1.1ttobtoht2-65/+3
https://www.openssl.org/news/secadv/20230207.txt Patch can be removed, it was included upstream.
2023-02-06Merge pull request #8723luigi11111-74/+83
573a369 blockchain-stats: print any remaining data at end of loop (Howard Chu)
2023-02-06Merge pull request #8714luigi11114-8/+11
15384cc depends: bump hidapi/libusb (tobtoht)
2023-02-06Merge pull request #8706luigi11111-4/+15
f456b3f Demote large pages warning to mdebug (SChernykh) 480b050 RandomX: print VM allocation warnings only once (SChernykh)
2023-01-29blockchain-stats: print any remaining data at end of loopHoward Chu1-74/+83
Fix #8711
2023-01-27p2p: add plowsof seed nodesselsta1-1/+11
2023-01-27p2p: remove offline seed nodesselsta1-8/+0
2023-01-25depends: bump hidapi/libusbtobtoht4-8/+11
fixes Trezor connectivity issues on Windows 10/11 Co-authored-by: selsta <selsta@sent.at>
2023-01-17Demote large pages warning to `mdebug`SChernykh1-4/+7
2023-01-11RandomX: print VM allocation warnings only onceSChernykh1-2/+10
2023-01-11Merge pull request #8676luigi11114-1/+104
29208a3 Cache successful erRctNonSemanticsSimple calls (SChernykh)
2023-01-11Merge pull request #8683luigi11112-0/+3
cbc297a common: add missing includes (selsta)
2023-01-11Merge pull request #8678luigi111111-257/+402
f698f2b Refactored rx-slow-hash.c (SChernykh)
2023-01-11Merge pull request #8654luigi11111-0/+1
5973985 workflows: set a public DNS when doing tests (selsta)
2023-01-11Merge pull request #8649luigi11113-24/+11
2c24322 DNSResolver: fix not handling hostnames without dot characters [release] (Jeffrey Ryan)
2023-01-11Merge pull request #8644luigi11114-14/+55
38d4811 p2p: fix exclusive node DNS resolution for certain hosts [release] (Jeffrey Ryan)
2023-01-11Merge pull request #8641luigi11111-1/+1
146cac0 p2p: fix back ping to discover healthy peers to connect to (j-berman)
2022-12-20Cache successful `verRctNonSemanticsSimple` callsSChernykh4-1/+104
2022-12-18common: add missing includesselsta2-0/+3
2022-12-14Refactored rx-slow-hash.cSChernykh11-257/+402
- Straight-forward call interface: `void rx_slow_hash(const char *seedhash, const void *data, size_t length, char *result_hash)` - Consensus chain seed hash is now updated by calling `rx_set_main_seedhash` whenever a block is added/removed or a reorg happens - `rx_slow_hash` will compute correct hash no matter if `rx_set_main_seedhash` was called or not (the only difference is performance) - New environment variable `MONERO_RANDOMX_FULL_MEM` to force use the full dataset for PoW verification (faster block verification) - When dataset is used for PoW verification, dataset updates don't stall other threads (verification is done in light mode then) - When mining is running, PoW checks now also use dataset for faster verification
2022-12-01Merge pull request #8642luigi11111-0/+12
8c53995 Fix static builds for Ubuntu 22.04 (AgoraDesk / LocalMonero)
2022-12-01Merge pull request #8636luigi11110-0/+0
02b24cb workflows: ubuntu 18.04 is deprecated (selsta)
2022-12-01Merge pull request #8628luigi11112-18/+88
1bb5d25 Fix dandelion++ fluff/stem bug with local txes (Lee Clagett)
2022-12-01Merge pull request #8615luigi11112-8/+4
85c9fe5 wallet2: fix create view-only wallet from existing wallet (j-berman)
2022-12-01Merge pull request #8611luigi11111-1/+1
401dda5 wallet_api: take priority into account when estimating fee (selsta)
2022-12-01Merge pull request #8604luigi11111-0/+49
cbf636c workflows: build gitian on tag (selsta)
2022-11-29workflows: set a public DNS when doing testsselsta1-0/+1
2022-11-21DNSResolver: fix not handling hostnames without dot characters [release]Jeffrey Ryan3-24/+11
Unrelated, but similar code-wise to #8643. There is a check in `DNSResolver` which automatically fails to resolve hostnames which do not contain the `.` character. This PR removes that check.
2022-11-17p2p: fix exclusive node DNS resolution for certain hosts [release]Jeffrey Ryan4-14/+55
Fixes #8633. The function `append_net_address` did not parse hostname + port addresses (e.g. `bar:29080`) correctly if the hostname did not contain a `'.'` character. @vtnerd comments 1 clear up 2nd conditional statement
2022-11-17workflows: build gitian on tagselsta1-0/+49
2022-11-16Fix static builds for Ubuntu 22.04AgoraDesk / LocalMonero1-0/+12
Link libbsd, libmd, libprotokit for ZMQ to fix static builds for Ubuntu 22.04
2022-11-15p2p: fix back ping to discover healthy peers to connect toj-berman1-1/+1
2022-11-14workflows: ubuntu 18.04 is deprecatedselsta1-1/+1
2022-10-28Merge pull request #8594luigi11112-4/+4
d7445b5 workflows: ubuntu 18.04 is deprecated (selsta)
2022-10-28Merge pull request #8578luigi11111-1/+1
07f8e9e epee: dont shrink slice when storing to binary [release] (Jeffrey Ryan)
2022-10-25Fix dandelion++ fluff/stem bug with local txesLee Clagett2-18/+88
2022-10-18wallet2: fix create view-only wallet from existing walletj-berman2-8/+4
2022-10-13wallet_api: take priority into account when estimating feeselsta1-1/+1
2022-09-27Merge pull request #8597v0.18.1.2luigi11117-9/+10
853171b build: prepare v0.18.1.2 (selsta)
2022-09-26build: prepare v0.18.1.2selsta7-9/+10
2022-09-26Merge pull request #8588luigi11114-4/+10
802c4bb Move update_checkpoints() to a later stage (SChernykh)
2022-09-26Merge pull request #8585luigi11113-4/+5
5ffa31c wallet2: fail to establish daemon cxn == 'Disconnected' cxn status (j-berman)
2022-09-26Merge pull request #8582luigi111115-115/+244
1cd21bf add an option to force-update multisig key exchange under some circumstances (koe)
2022-09-26Merge pull request #8579luigi111115-354/+10
7d358cd repo: remove ldns leftovers (selsta) 09402d0 depends: remove unused Qt package (selsta)
2022-09-26Merge pull request #8577luigi11118-13/+17
6adf03c Second thread pool for IO (SChernykh)
2022-09-24workflows: ubuntu 18.04 is deprecatedselsta2-4/+4
And will soon be removed.
2022-09-22Move update_checkpoints() to a later stageSChernykh4-4/+10
update_checkpoints() makes a few DNS requests and can take up to 20-30 seconds to complete (3-6 seconds on average). It is currently called from core::handle_incoming_block() which holds m_incoming_tx_lock, so it blocks all incoming transactions and blocks processing while update_checkpoints() is running. This PR moves it to until after a new block has been processed and relayed, to avoid full monerod locking.
2022-09-21wallet2: fail to establish daemon cxn == "Disconnected" cxn statusj-berman3-4/+5
2022-09-21add an option to force-update multisig key exchange under some circumstanceskoe15-115/+244
2022-09-20repo: remove ldns leftoversselsta6-43/+7