| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| | |
4f1262b build: prepare v0.18.2.2 (selsta)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
059b975 cryptonote core/protocol: don't drop peers for soft offenses (jeffro256)
|
| | |/
| |
| |
| |
| |
| | |
Also: txs with tx_extra which is too large will not get published to ZMQ
Co-authored-by: SChernykh <sergey.v.chernykh@gmail.com>
|
| |/
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |\
| |
| |
| | |
cdeb286 build: prepare v0.18.2.1 (selsta)
|
| | | |
|
| |\ \
| | |
| | |
| | |
| | | |
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)
|
| | | | |
|
| | |/ |
|
| |\ \
| | |
| | |
| | | |
5900ed3 Add a size limit for tx_extra in tx pool (tevador)
|
| | |/ |
|
| |\ \
| | |
| | |
| | | |
c59e009 verRctNonSemanticsSimpleCached: fix fragility (Jeffrey Ryan)
|
| | |/ |
|
| |/ |
|
| |\
| |
| |
| | |
dc18efa build: prepare v0.18.2.0 (selsta)
|
| | | |
|
| |\ \
| |/
|/|
| |
| | |
988056d p2p: add plowsof seed nodes (selsta)
ce4ef6d p2p: remove offline seed nodes (selsta)
|
| | | |
|
| | | |
|
| |\ \
| | |
| | |
| | | |
573a369 blockchain-stats: print any remaining data at end of loop (Howard Chu)
|
| | |/
| |
| |
| | |
Fix #8711
|
| | | |
|
| |/ |
|
| |\
| |
| |
| | |
29208a3 Cache successful erRctNonSemanticsSimple calls (SChernykh)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
cbc297a common: add missing includes (selsta)
|
| | |/ |
|
| |\ \
| | |
| | |
| | | |
f698f2b Refactored rx-slow-hash.c (SChernykh)
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| | |
- 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
|
| |\ \
| | |
| | |
| | | |
2c24322 DNSResolver: fix not handling hostnames without dot characters [release] (Jeffrey Ryan)
|
| | | |
| | |
| | |
| | | |
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.
|
| |\ \ \
| | | |
| | | |
| | | | |
38d4811 p2p: fix exclusive node DNS resolution for certain hosts [release] (Jeffrey Ryan)
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |\ \ \
| |_|/
|/| |
| | | |
146cac0 p2p: fix back ping to discover healthy peers to connect to (j-berman)
|
| | |/ |
|
| |\ \
| | |
| | |
| | | |
1bb5d25 Fix dandelion++ fluff/stem bug with local txes (Lee Clagett)
|
| | |/ |
|
| |\ \
| | |
| | |
| | | |
85c9fe5 wallet2: fix create view-only wallet from existing wallet (j-berman)
|
| | |/ |
|
| |\ \
| |/
|/|
| | |
401dda5 wallet_api: take priority into account when estimating fee (selsta)
|
| | | |
|
| |/ |
|
| |\
| |
| |
| | |
802c4bb Move update_checkpoints() to a later stage (SChernykh)
|
| | |
| |
| |
| | |
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.
|
| |\ \
| | |
| | |
| | | |
5ffa31c wallet2: fail to establish daemon cxn == 'Disconnected' cxn status (j-berman)
|
| | |/ |
|
| |\ \
| | |
| | |
| | | |
1cd21bf add an option to force-update multisig key exchange under some circumstances (koe)
|
| | |/ |
|