summaryrefslogtreecommitdiff
path: root/src/cryptonote_core
Commit message (Collapse)AuthorAgeFilesLines
* build: prepare v0.17.3.2selsta2022-04-201-1/+1
|
* multisig key exchange update and refactorkoe2022-02-241-1/+0
|
* Merge pull request #8085luigi11112021-11-261-1/+1
|\ | | | | | | 39bb22a blocks: update checkpoints.dat (selsta)
| * blocks: update checkpoints.datselsta2021-11-261-1/+1
| |
* | Add calcpow RPCHoward Chu2021-11-202-4/+11
|/ | | | Calculate PoW hash for a block candidate
* Merge pull request #8023luigi11112021-11-091-1/+1
|\ | | | | | | 3cb7fda build: prepare v0.17.3.0 (selsta)
| * build: prepare v0.17.3.0selsta2021-10-291-1/+1
| |
* | blockchain: fix pedantic assertselsta2021-10-141-0/+2
| |
* | daemon: allow proxy configurationanon2021-10-062-3/+6
|/ | | | | Co-authored-by: selsta <selsta@sent.at> Co-authored-by: tobtoht <thotbot@protonmail.com>
* RPC and ZeroMQ APIs to support p2poolSChernykh2021-09-217-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
* build: prepare v0.17.2.3selsta2021-08-191-1/+1
|
* Merge pull request #7350luigi11112021-04-061-2/+2
|\ | | | | | | 4a9ae3e fix serialization being different on mac (moneromooo-monero)
| * fix serialization being different on macmoneromooo-monero2021-03-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | On Mac, size_t is a distinct type from uint64_t, and some types (in wallet cache as well as cold/hot wallet transfer data) use pairs/containers with size_t as fields. Mac would save those as full size, while other platforms would save them as varints. Might apply to other platforms where the types are distinct. There's a nasty hack for backward compatibility, which can go after a couple forks.
* | build: prepare v0.17.2.0selsta2021-03-261-1/+1
|/
* Merge pull request #7269Alexander Blair2021-01-031-0/+2
|\ | | | | | | 1128146c4 blockchain: lock access to m_blocks_hash_of_hashes (moneromooo-monero)
| * blockchain: lock access to m_blocks_hash_of_hashesmoneromooo-monero2021-01-021-0/+2
| | | | | | | | | | it is accessed both when adding and when prevalidating a set of new hashes from a peer
* | build: prepare v0.17.1.9selsta2021-01-021-1/+1
|/
* protocol: more sanity checks in new chain block hashesmoneromooo-monero2020-12-314-6/+28
|
* rpc: limit the number of txes for get_blocks.binmoneromooo-monero2020-12-294-8/+9
|
* build: prepare v0.17.1.8selsta2020-12-231-1/+1
|
* build: prepare v0.17.1.7selsta2020-12-101-1/+1
|
* build: prepare v0.17.1.6selsta2020-12-031-1/+1
|
* Merge pull request #7039luigi11112020-11-253-3/+16
|\ | | | | | | 9d7f473 cryptonote_core: dandelion - use local height or median height if syncing (xiphon)
| * cryptonote_core: dandelion - use local height or median height if syncingxiphon2020-11-253-3/+16
| |
* | Merge pull request #7038Alexander Blair2020-11-241-1/+1
|\ \ | | | | | | | | | 5bb83ab04 build: prepare v0.17.1.5 (selsta)
| * | build: prepare v0.17.1.5selsta2020-11-231-1/+1
| |/
* | Merge pull request #7028Alexander Blair2020-11-241-2/+2
|\ \ | | | | | | | | | 9b7ed2fd8 Change Dandelion++ fluff probability to 20%, and embargo timeout to 39s (Lee Clagett)
| * | Change Dandelion++ fluff probability to 20%, and embargo timeout to 39sLee Clagett2020-10-211-2/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | A 20% fluff probability increases the precision of a spy connected to every node by 10% on average, compared to a network using 0% fluff probability. The current value (10% fluff) should increase precision by ~5% compared to baseline. This decreases the expected stem length from 10 to 5. The embargo timeout was therefore lowered to 39s; the fifth node in a stem is expected to have a 90% chance of being the first to timeout, which is the same probability we currently have with an expected stem length of 10 nodes.
* / Fix timeout checks for forwarded and Dandelion++ stem txesLee Clagett2020-10-214-9/+46
|/
* build: prepare v0.17.1.2selsta2020-11-071-1/+1
|
* build: prepare v0.17.1.1selsta2020-10-181-1/+1
|
* blockchain: fix sync at v14 boundarymoneromooo-monero2020-10-181-3/+15
| | | | | | | | | Miners with MLSAG txes which they'd already verified included a couple in that block, but the consensus rules had changed in the meantime, so that block is technically invalid and any node which did not already have those two txes in their txpool could not sync. Grandfather them in, since it has no effect in practice.
* Merge pull request #6888luigi11112020-10-131-1/+1
|\ | | | | | | a2e37eb build: prepare v0.17.1.0 (selsta)
| * build: prepare v0.17.1.0selsta2020-10-131-1/+1
| |
* | Merge pull request #6884luigi11112020-10-132-1/+2
|\ \ | | | | | | | | | 6352090 Dandelion++: skip desynced peers in stem phase (xiphon)
| * | Dandelion++: skip desynced peers in stem phasexiphon2020-10-122-1/+2
| | |
* | | tx_pool: silence spammy harmless warning till we fix the bugmoneromooo-monero2020-10-121-1/+4
| |/ |/|
* | build: prepare v0.17.0.1selsta2020-09-251-1/+1
|/
* blockchain: deterministic UNIX time unlock checksmoneromooo-monero2020-09-152-28/+64
| | | | Based on a patch by TheCharlatan <seb.kung@gmail.com>
* build: prepare v0.17selsta2020-09-141-1/+1
|
* blockchain: fix pow skipping for old blocks without precalc hashmoneromooo-monero2020-09-071-1/+1
|
* Merge pull request #6111Riccardo Spagni2020-09-066-26/+101
|\ | | | | | | | | | | d20ff4f64 functional_tests: add a large (many randomx epochs) p2p reorg test (moneromooo-monero) 6a0b3b1f8 functional_tests: add randomx tests (moneromooo-monero) 9d42649d5 core: fix mining from a block that's not the current top (moneromooo-monero)
| * functional_tests: add a large (many randomx epochs) p2p reorg testmoneromooo-monero2020-08-271-4/+35
| |
| * core: fix mining from a block that's not the current topmoneromooo-monero2020-08-276-22/+66
| |
* | Merge pull request #6757luigi11112020-09-032-10/+14
|\ \ | | | | | | | | | 6a37da8 threadpool: guard against exceptions in jobs, and armour plating (moneromooo-monero)
| * | threadpool: guard against exceptions in jobs, and armour platingmoneromooo-monero2020-09-012-10/+14
| | | | | | | | | | | | | | | Those would, if uncaught, exit run and leave the waiter to wait indefinitely for the number of active jobs to reach 0
* | | Integrate CLSAGs into moneromoneromooo-monero2020-08-272-4/+55
| |/ |/| | | | | They are allowed from v12, and MLSAGs are rejected from v13.
* | Merge pull request #6767Alexander Blair2020-08-271-0/+3
|\ \ | | | | | | | | | 07442a605 Fix build with Boost 1.74 (moneromooo-monero)
| * | Fix build with Boost 1.74moneromooo-monero2020-08-161-0/+3
| | | | | | | | | | | | Thanks iDunk for testing
* | | Merge pull request #6760Alexander Blair2020-08-271-2/+2
|\ \ \ | | | | | | | | | | | | 844fb4e94 enforce claiming maximum coinbase amount (moneromooo-monero)