summaryrefslogtreecommitdiff
path: root/src/cryptonote_core
Commit message (Collapse)AuthorAgeFilesLines
* build: prepare v0.18.2.0selsta2023-02-081-1/+1
|
* Merge pull request #8676luigi11112023-01-111-1/+1
|\ | | | | | | 29208a3 Cache successful erRctNonSemanticsSimple calls (SChernykh)
| * Cache successful `verRctNonSemanticsSimple` callsSChernykh2022-12-201-1/+1
| |
* | Refactored rx-slow-hash.cSChernykh2022-12-144-43/+41
|/ | | | | | | | | - 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
* build: prepare v0.18.1.2selsta2022-09-261-1/+1
|
* Merge pull request #8588luigi11112022-09-261-4/+0
|\ | | | | | | 802c4bb Move update_checkpoints() to a later stage (SChernykh)
| * Move update_checkpoints() to a later stageSChernykh2022-09-221-4/+0
| | | | | | | | 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.
* | Second thread pool for IOSChernykh2022-09-202-3/+3
|/
* wallet2: check wallet compatibility with daemon's hard fork versionj-berman2022-09-121-0/+7
|
* Merge pull request #8552luigi11112022-09-093-0/+18
|\ | | | | | | 93db74a rpc: skip bootstrap nodes that are lower than last checkpoint (selsta)
| * rpc: skip bootstrap nodes that are lower than last checkpointselsta2022-09-063-0/+18
| |
* | build: prepare v0.18.1.1selsta2022-09-061-1/+1
|/
* 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 #8470luigi11112022-08-091-1/+1
|\ \ | | | | | | | | | 309f6ba build: prepare v0.18.1.0 (selsta)
| * | build: prepare v0.18.1.0selsta2022-07-281-1/+1
| |/
* | 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).
* / Publish submitted txs via zmqj-berman2022-07-214-5/+67
|/
* Merge pull request #8425luigi11112022-07-151-1/+1
|\ | | | | | | fe5d1be build: prepare v0.18.0.0 (selsta)
| * build: prepare v0.18.0.0selsta2022-07-131-1/+1
| |
* | multisig: fix critical vulnerabilities in signinganon2022-06-303-21/+11
|/
* fix backoff delay logic when re-relaying txsj-berman2022-05-121-4/+4
|
* Merge pull request #8178luigi11112022-04-251-9/+15
|\ | | | | | | 5d388eb Bump ring size to 16 for v15 & remove set default in wallet cli (j-berman)
| * Bump ring size to 16 for v15 & remove set default in wallet clij-berman2022-04-181-9/+15
| |
* | Add view tags to outputs to reduce wallet scanning timej-berman2022-04-185-32/+62
|/ | | | | | | | | | | | | Implements view tags as proposed by @UkoeHB in MRL issue https://github.com/monero-project/research-lab/issues/73 At tx construction, the sender adds a 1-byte view tag to each output. The view tag is derived from the sender-receiver shared secret. When scanning for outputs, the receiver can check the view tag for a match, in order to reduce scanning time. When the view tag does not match, the wallet avoids the more expensive EC operations when deriving the output public key using the shared secret.
* Merge pull request #8207luigi11112022-04-181-7/+1
|\ | | | | | | 4db6aed CMake: Add missing headers via monero_find_all_headers macro (mj-xmr)
| * CMake: Add missing headers via monero_find_all_headers macromj-xmr2022-04-061-7/+1
| |
* | Fee changes from ArticMinemoneromooo-monero2022-04-102-7/+146
|/ | | | | | https://github.com/ArticMine/Monero-Documents/blob/master/MoneroScaling2021-02.pdf with a change to use 1.7 instead of 2.0 for the max long term increase rate
* Merge pull request #8212luigi11112022-04-061-3/+0
|\ | | | | | | 591c174 Remove footgun doc comment in miner TX validation (Luke Parker)
| * Remove footgun doc comment in miner TX validationLuke Parker2022-03-101-3/+0
| | | | | | This comment suggests this check is unnecessary, when it is completely necessary as miner TXs can have multiple outputs *which is a statement directly, and incorrectly, contradicted by this comment*. While I don't ever see someone removing this code and getting their edits merged into Monero, someone inexperienced who thinks they're cleaning old code may break their own work, and then there's really just zero benefit to keeping this around.
* | Merge pull request #8205luigi11112022-04-061-1/+0
|\ \ | | | | | | | | | 0d6fce8 Compil. time: cryptonote_core minus portable_storage header (mj-xmr)
| * | Compil. time: cryptonote_core minus portable_storage headermj-xmr2022-03-041-1/+0
| |/
* | Merge pull request #8197luigi11112022-04-0613-13/+13
|\ \ | | | | | | | | | da9aa1f Copyright: Update to 2022 (mj-xmr)
| * | Copyright: Update to 2022mj-xmr2022-03-0413-13/+13
| |/
* / plug bulletproofs plus into consensusmoneromooo-monero2022-04-052-5/+53
|/
* Merge pull request #7877luigi11112022-03-021-1/+0
|\ | | | | | | e08abaa multisig key exchange update and refactor (koe)
| * multisig key exchange update and refactorkoe2022-02-221-1/+0
| |
* | Merge pull request #8070luigi11112021-11-262-4/+11
|\ \ | | | | | | | | | | | | a4ebec9 Add python method (Howard Chu) 0221b01 Add calcpow RPC (Howard Chu)
| * | Add calcpow RPCHoward Chu2021-11-202-4/+11
| | | | | | | | | | | | Calculate PoW hash for a block candidate
* | | cryptonote_core: fix unused lambda warningselsta2021-11-161-1/+1
|/ /
* | tx_pool: full tx revalidation on fork boundariesmoneromooo-monero2021-11-012-45/+64
| | | | | | | | | | | | avoids mining txes after a fork that are invalid by this fork's rules, but were valid by the previous fork rules at the time they were verified and added to the txpool.
* | blockchain: fix pedantic assertselsta2021-10-111-0/+2
|/
* Merge pull request #7891luigi11112021-09-237-9/+174
|\ | | | | | | dfee15e RPC and ZeroMQ APIs to support p2pool (SChernykh)
| * RPC and ZeroMQ APIs to support p2poolSChernykh2021-09-117-9/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the following: - "get_miner_data" to RPC API - "json-miner-data" to ZeroMQ subscriber contexts Both provide the necessary data to create a custom block template. They are used by p2pool. Data provided: - major fork version - current height - previous block id - RandomX seed hash - network difficulty - median block weight - coins mined by the network so far - mineable mempool transactions
* | Merge pull request #7616luigi11112021-09-092-3/+6
|\ \ | |/ |/| | | 4ced092 daemon: allow proxy configuration (anon, selsta, tobtoht)
| * daemon: allow proxy configurationanon2021-08-202-3/+6
| | | | | | | | | | Co-authored-by: selsta <selsta@sent.at> Co-authored-by: tobtoht <thotbot@protonmail.com>
* | Merge pull request #7754luigi11112021-07-101-1/+1
|\ \ | | | | | | | | | 8ff21e1 doc: update IRC references to Libera (fdov)
| * | doc: update IRC references to Liberafdov2021-06-201-1/+1
| | |
* | | Merge pull request #7612luigi11112021-06-244-12/+14
|\ \ \ | |/ / |/| | | | | 254a133 core: speed up print_coinbase_tx_sum (moneromooo-monero)