summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
* | | Merge pull request #8649luigi11112023-01-113-24/+11
|\ \ \ | | | | | | | | | | | | 2c24322 DNSResolver: fix not handling hostnames without dot characters [release] (Jeffrey Ryan)
| * | | DNSResolver: fix not handling hostnames without dot characters [release]Jeffrey Ryan2022-11-213-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.
* | | | Merge pull request #8644luigi11112023-01-114-14/+55
|\ \ \ \ | | | | | | | | | | | | | | | 38d4811 p2p: fix exclusive node DNS resolution for certain hosts [release] (Jeffrey Ryan)
| * | | | p2p: fix exclusive node DNS resolution for certain hosts [release]Jeffrey Ryan2022-11-174-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
* | | | Merge pull request #8641luigi11112023-01-111-1/+1
|\ \ \ \ | |_|_|/ |/| | | | | | | 146cac0 p2p: fix back ping to discover healthy peers to connect to (j-berman)
| * | | p2p: fix back ping to discover healthy peers to connect toj-berman2022-11-151-1/+1
| |/ /
* | | Merge pull request #8642luigi11112022-12-011-0/+12
|\ \ \ | | | | | | | | | | | | 8c53995 Fix static builds for Ubuntu 22.04 (AgoraDesk / LocalMonero)