aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Fixed RandomX initialization when mining from scratchSChernykh2023-04-271-1/+8
| | |/ | |/|
* | | Merge pull request #8566luigi11112023-06-2712-69/+631
|\ \ \ | |_|/ |/| | | | | 65e13db wallet2: fix rescanning tx via scan_tx (j-berman)
| * | wallet2: fix rescanning tx via scan_txj-berman2023-03-1312-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.
* | | Merge pull request #8846luigi11112023-05-124-0/+4
|\ \ \ | |_|/ |/| | | | | f983ac7 fix missing <cstdint> includes (tobtoht)
| * | fix missing <cstdint> includestobtoht2023-05-084-0/+4
|/ /
* | Merge pull request #8766luigi11112023-04-251-0/+13
|\ \ | | | | | | | | | ad80f1b Handle case where a command line flag is not allowed in the config file (almalh)
| * | Handle case where a command line flag is not allowed in the config filealmalh2023-03-061-0/+13
| |/
* | Merge pull request #8805v0.18.2.2luigi11112023-04-027-9/+10
|\ \ | | | | | | | | | 4f1262b build: prepare v0.18.2.2 (selsta)
| * | build: prepare v0.18.2.2selsta2023-03-277-9/+10
| | |
* | | Merge pull request #8813luigi11112023-04-024-3/+10
|\ \ \ | | | | | | | | | | | | 059b975 cryptonote core/protocol: don't drop peers for soft offenses (jeffro256)
| * | | cryptonote core/protocol: don't drop peers for soft offensesjeffro2562023-03-294-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>
* | | Merge pull request #8811luigi11112023-04-022-5/+8
|\ \ \ | |/ / |/| | | | | c742fa4 Fixed deadlock and crash when syncing with full dataset on Windows (SChernykh)
| * | Fixed deadlock and crash when syncing with full dataset on WindowsSChernykh2023-03-292-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.
* | Merge pull request #8801v0.18.2.1luigi11112023-03-272-3/+4
|\ \ | | | | | | | | | 1328048 wallet2: fix infinite loop in fake out selection (Crypto City)
| * | wallet2: fix infinite loop in fake out selectionCrypto City2023-03-252-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.
* | Merge pull request #8785luigi11112023-03-247-9/+10
|\ \ | | | | | | | | | cdeb286 build: prepare v0.18.2.1 (selsta)
| * | build: prepare v0.18.2.1selsta2023-03-187-9/+10
| |/
* | Merge pull request #8787luigi11112023-03-241-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)
| * | p2p: do not log to global when re-blocking a subnetmoneromooo-monero2023-03-191-1/+5
| | |
| * | p2p: avoid spam blocking ipv4 addresses in a blocked subnetmoneromooo-monero2023-03-191-1/+17
| |/
* | Merge pull request #8784luigi11112023-03-186-1/+22
|\ \ | | | | | | | | | 5900ed3 Add a size limit for tx_extra in tx pool (tevador)
| * | Add a size limit for tx_extra in tx pooltevador2023-03-186-1/+22
| |/
* | Merge pull request #8781luigi11112023-03-1812-111/+715
|\ \ | | | | | | | | | c59e009 verRctNonSemanticsSimpleCached: fix fragility (Jeffrey Ryan)
| * | verRctNonSemanticsSimpleCached: fix fragilityJeffrey Ryan2023-03-1712-111/+715
| |/
* | Merge pull request #8779luigi11112023-03-181-0/+1
|\ \ | | | | | | | | | 14de562 device: Add ledger Stax device id to device detection (Francois Beutin)
| * | device: Add ledger Stax device id to device detectionFrancois Beutin2023-03-171-0/+1
| |/
* | Merge pull request #8746luigi11112023-03-183-19/+21
|\ \ | |/ |/| | | 77d883e workflows: update dependencies to fix warnings (selsta)
| * workflows: update dependencies to fix warningsselsta2023-02-203-19/+21
|/
* Merge pull request #8739v0.18.2.0luigi11112023-02-157-9/+10
|\ | | | | | | dc18efa build: prepare v0.18.2.0 (selsta)
| * build: prepare v0.18.2.0selsta2023-02-087-9/+10
| |
* | Merge pull request #8738luigi11112023-02-152-65/+3
|\ \ | | | | | | | | | d8e39bd depends: bump openssl to 1.1.1t (tobtoht)
| * | depends: bump openssl to 1.1.1ttobtoht2023-02-072-65/+3
| |/ | | | | | | | | | | https://www.openssl.org/news/secadv/20230207.txt Patch can be removed, it was included upstream.
* | Merge pull request #8721luigi11112023-02-151-9/+11
|\ \ | |/ |/| | | | | 988056d p2p: add plowsof seed nodes (selsta) ce4ef6d p2p: remove offline seed nodes (selsta)
| * p2p: add plowsof seed nodesselsta2023-01-271-1/+11
| |
| * p2p: remove offline seed nodesselsta2023-01-271-8/+0
| |
* | Merge pull request #8723luigi11112023-02-061-74/+83
|\ \ | | | | | | | | | 573a369 blockchain-stats: print any remaining data at end of loop (Howard Chu)
| * | blockchain-stats: print any remaining data at end of loopHoward Chu2023-01-291-74/+83
| |/ | | | | | | Fix #8711
* | Merge pull request #8714luigi11112023-02-064-8/+11
|\ \ | | | | | | | | | 15384cc depends: bump hidapi/libusb (tobtoht)
| * | depends: bump hidapi/libusbtobtoht2023-01-254-8/+11
| |/ | | | | | | | | | | fixes Trezor connectivity issues on Windows 10/11 Co-authored-by: selsta <selsta@sent.at>
* | Merge pull request #8706luigi11112023-02-061-4/+15
|\ \ | |/ |/| | | | | f456b3f Demote large pages warning to mdebug (SChernykh) 480b050 RandomX: print VM allocation warnings only once (SChernykh)
| * Demote large pages warning to `mdebug`SChernykh2023-01-171-4/+7
| |
| * RandomX: print VM allocation warnings only onceSChernykh2023-01-111-2/+10
|/
* Merge pull request #8676luigi11112023-01-114-1/+104
|\ | | | | | | 29208a3 Cache successful erRctNonSemanticsSimple calls (SChernykh)
| * Cache successful `verRctNonSemanticsSimple` callsSChernykh2022-12-204-1/+104
| |
* | Merge pull request #8683luigi11112023-01-112-0/+3
|\ \ | | | | | | | | | cbc297a common: add missing includes (selsta)
| * | common: add missing includesselsta2022-12-182-0/+3
| |/
* | Merge pull request #8678luigi11112023-01-1111-250/+395
|\ \ | | | | | | | | | f698f2b Refactored rx-slow-hash.c (SChernykh)
| * | Refactored rx-slow-hash.cSChernykh2022-12-1411-250/+395
| |/ | | | | | | | | | | | | | | | | - 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
* | Merge pull request #8654luigi11112023-01-111-0/+1
|\ \ | | | | | | | | | 5973985 workflows: set a public DNS when doing tests (selsta)
| * | workflows: set a public DNS when doing testsselsta2022-11-291-0/+1
| | |