aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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-1110-249/+394
|\ \ | | | | | | | | | f698f2b Refactored rx-slow-hash.c (SChernykh)
| * | Refactored rx-slow-hash.cSChernykh2022-12-1410-249/+394
| |/ | | | | | | | | | | | | | | | | - 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 #8649luigi11112023-01-112-24/+0
|\ \ | | | | | | | | | 2c24322 DNSResolver: fix not handling hostnames without dot characters [release] (Jeffrey Ryan)
| * | DNSResolver: fix not handling hostnames without dot characters [release]Jeffrey Ryan2022-11-212-24/+0
| | | | | | | | | | | | 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-113-14/+20
|\ \ \ | | | | | | | | | | | | 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-173-14/+20
| |/ / | | | | | | | | | | | | | | | | | | | | | 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 #8628luigi11112022-12-011-3/+4
|\ \ | | | | | | | | | 1bb5d25 Fix dandelion++ fluff/stem bug with local txes (Lee Clagett)
| * | Fix dandelion++ fluff/stem bug with local txesLee Clagett2022-10-251-3/+4
| |/
* | Merge pull request #8615luigi11112022-12-012-8/+4
|\ \ | | | | | | | | | 85c9fe5 wallet2: fix create view-only wallet from existing wallet (j-berman)
| * | wallet2: fix create view-only wallet from existing walletj-berman2022-10-182-8/+4
| |/
* | Merge pull request #8611luigi11112022-12-011-1/+1
|\ \ | |/ |/| | | 401dda5 wallet_api: take priority into account when estimating fee (selsta)
| * wallet_api: take priority into account when estimating feeselsta2022-10-131-1/+1
| |
* | build: prepare v0.18.1.2selsta2022-09-264-2/+3
|/
* Merge pull request #8588luigi11112022-09-262-4/+8
|\ | | | | | | 802c4bb Move update_checkpoints() to a later stage (SChernykh)
| * Move update_checkpoints() to a later stageSChernykh2022-09-222-4/+8
| | | | | | | | 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.
* | Merge pull request #8585luigi11112022-09-263-4/+5
|\ \ | | | | | | | | | 5ffa31c wallet2: fail to establish daemon cxn == 'Disconnected' cxn status (j-berman)
| * | wallet2: fail to establish daemon cxn == "Disconnected" cxn statusj-berman2022-09-213-4/+5
| |/
* | Merge pull request #8582luigi11112022-09-2613-90/+178
|\ \ | | | | | | | | | 1cd21bf add an option to force-update multisig key exchange under some circumstances (koe)
| * | add an option to force-update multisig key exchange under some circumstanceskoe2022-09-2113-90/+178
| |/
* / Second thread pool for IOSChernykh2022-09-207-12/+16
|/
* Merge pull request #8545v0.18.1.1luigi11112022-09-157-27/+55
|\ | | | | | | | | | | | | 12e7c41 Merge pull request #5 from j-berman/restore-msig-encrypted-seed (Justin Berman) 848a0c0 Fix segfault restoring encrypted multisig seed (j-berman) 401f5d9 Require user ack multisig is experimental to restore (j-berman) fc8a5d6 multisig: fix #8537 seed restore (suggestions by @UkoeHB) (j-berman)
| * Fix segfault restoring encrypted multisig seedj-berman2022-09-062-17/+17
| |
| * Require user ack multisig is experimental to restorej-berman2022-09-061-0/+13
| |
| * multisig: fix #8537 seed restore (suggestions by @UkoeHB)j-berman2022-09-015-10/+25
| | | | | | | | | | | | | | | | - spend secret key is no longer the sum of multisig key shares; no need to check that is the case upon restore. - restoring a multisig wallet from multisig info means that the wallet must have already completed all setup rounds. Upon restore, set the number of rounds completed accordingly.
* | wallet2: check wallet compatibility with daemon's hard fork versionj-berman2022-09-1212-26/+246
| |
* | Merge pull request #8555luigi11112022-09-099-61/+345
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | e29b2e9 wallet2: ensure imported outputs subaddresses are created (moneromooo-monero) 1d3657a wallet2: better test on whether to allow output import (moneromooo-monero) 0cbf557 allow exporting outputs in chunks (moneromooo-monero) b03d709 wallet2: fixes for export/import output flow (j-berman) 4b7eb57 wallet2: do not assume imported outputs must be non empty (moneromooo-monero) 5b98beb wallet2: prevent importing outputs in a hot wallet (moneromooo-monero) 0de1571 wallet2: fix missing subaddress indices in 'light' exported outputs (moneromooo-monero)
| * | wallet2: ensure imported outputs subaddresses are createdmoneromooo-monero2022-09-071-0/+4
| | | | | | | | | | | | reported by j-berman
| * | wallet2: better test on whether to allow output importmoneromooo-monero2022-09-072-6/+25
| | | | | | | | | | | | | | | | | | | | | | | | Being offline is not a good enough heuristic, so we keep track of whether the wallet ever refreshed from a daemon, which is a lot better, and probably the best we can do without manual user designation (which would break existing cold wallet setups till the user designates those wallets)
| * | allow exporting outputs in chunksmoneromooo-monero2022-09-079-56/+303
| | | | | | | | | | | | | | | this will make it easier huge wallets to do so without hitting random limits (eg, max string size in node).
| * | wallet2: fixes for export/import output flowj-berman2022-09-062-2/+8
| | | | | | | | | | | | | | | | | | - only allow offline wallets to import outputs - don't import empty outputs - export subaddress indexes when exporting outputs
| * | wallet2: do not assume imported outputs must be non emptymoneromooo-monero2022-09-061-2/+2
| | |
| * | wallet2: prevent importing outputs in a hot walletmoneromooo-monero2022-09-061-0/+2
| | |
| * | wallet2: fix missing subaddress indices in "light" exported outputsmoneromooo-monero2022-09-062-2/+8
| |/
* | Merge pull request #8553luigi11112022-09-091-1/+1
|\ \ | | | | | | | | | 625147e Fix missing semi-colon in error message (j-berman)
| * | Fix missing semi-colon in error messagej-berman2022-09-061-1/+1
| |/ | | | | | | Co-authored-by: woodser <woodser@protonmail.com>
* | Merge pull request #8552luigi11112022-09-094-0/+24
|\ \ | | | | | | | | | 93db74a rpc: skip bootstrap nodes that are lower than last checkpoint (selsta)
| * | rpc: skip bootstrap nodes that are lower than last checkpointselsta2022-09-064-0/+24
| |/
* / build: prepare v0.18.1.1selsta2022-09-064-2/+3
|/
* Merge pull request #8467luigi11112022-08-092-5/+31
|\ | | | | | | fac7c43 continue pool pruning even if a tx can't be found (j-berman)
| * continue pool pruning even if a tx can't be foundj-berman2022-07-262-5/+31
| |
* | Merge pull request #8463luigi11112022-08-091-1/+1
|\ \ | | | | | | | | | 265d6ca device: set ledger min app version (selsta)
| * | device: set ledger min app versionselsta2022-07-261-1/+1
| |/
* | Merge pull request #8470luigi11112022-08-094-2/+3
|\ \ | | | | | | | | | 309f6ba build: prepare v0.18.1.0 (selsta)
| * | build: prepare v0.18.1.0selsta2022-07-284-2/+3
| |/
* | Merge pull request #8455luigi11112022-08-082-17/+56
|\ \ | | | | | | | | | 099fc1f Fixed get_block_template_backlog performance (SChernykh)
| * | Fixed get_block_template_backlog performanceSChernykh2022-07-222-17/+56
| |/ | | | | | | | | | | Before the fix, it processed all transactions in the mempool which could be very slow when mempool grows to several MBs in size. I observed `get_block_template_backlog` taking up to 15 seconds of CPU time under high mempool load. After the fix, only transactions that can potentially be mined in the next block will be processed (a bit more than the current block median weight).