summaryrefslogtreecommitdiff
path: root/src/cryptonote_core
Commit message (Collapse)AuthorAgeFilesLines
* 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)
| * | | enforce claiming maximum coinbase amountmoneromooo-monero2020-08-211-2/+2
| | |/ | |/| | | | | | | | | | Claiming a slightly lesser amount does not yield the size gains that were seen pre rct, so this closes a fingerprinting vector
* | | Avoid some temporary strings when reading off the databasemoneromooo-monero2020-08-173-17/+17
| | |
* | | Merge pull request #6727Alexander Blair2020-08-161-0/+11
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 13eee1d6a rpc: reject wrong sized txid (moneromooo-monero) 92e6b7df2 easylogging++: fix crash with reentrant logging (moneromooo-monero) 6dd95d530 epee: guard against exceptions in RPC handlers (moneromooo-monero) 90016ad74 blockchain: guard against exceptions in add_new_block/children (moneromooo-monero)
| * | | blockchain: guard against exceptions in add_new_block/childrenmoneromooo-monero2020-07-301-0/+11
| |/ / | | | | | | | | | Reporter requested credit to be given to Decred
* | | Merge pull request #6661Alexander Blair2020-08-161-1/+1
|\ \ \ | | | | | | | | | | | | 267ce5b71 avoid a couple needless copies (moneromooo-monero)
| * | | avoid a couple needless copiesmoneromooo-monero2020-06-141-1/+1
| | | |
* | | | Merge pull request #6614Alexander Blair2020-08-161-3/+2
|\ \ \ \ | |_|_|/ |/| | | | | | | fb31167b1 Wallet, daemon: From 'help_advanced' back to 'help', and new 'apropos' command (rbrunner7)
| * | | Wallet, daemon: From 'help_advanced' back to 'help', and new 'apropos' commandrbrunner72020-07-241-3/+2
| | |/ | |/|
* | | Merge pull request #6354Alexander Blair2020-08-092-10/+54
|\ \ \ | | | | | | | | | | | | 67ade8005 Add randomized delay when forwarding txes from i2p/tor -> ipv4/6 (Lee Clagett)
| * | | Add randomized delay when forwarding txes from i2p/tor -> ipv4/6Lee Clagett2020-05-152-10/+54
| | | |
* | | | Adding ZMQ/Pub support for txpool_add and chain_main eventsLee Clagett2020-05-044-16/+77
| |/ / |/| |
* | | Merge pull request #6534Alexander Blair2020-07-194-0/+146
|\ \ \ | | | | | | | | | | | | 7bd66b01b daemon: guard against rare 'difficulty drift' bug with checkpoints and recalculation (stoffu)
| * | | daemon: guard against rare 'difficulty drift' bug with checkpoints and ↵stoffu2020-06-094-0/+146
| | |/ | |/| | | | | | | | | | | | | recalculation On startup, it checks against the difficulty checkpoints, and if any mismatch is found, recalculates all the blocks with wrong difficulties. Additionally, once a week it recalculates difficulties of blocks after the last difficulty checkpoint.
* | | Merge pull request #6526Alexander Blair2020-07-191-0/+1
|\ \ \ | | | | | | | | | | | | 5d882f4f1 blockchain: fix theoretical race getting bulk timestamps (moneromooo-monero)
| * | | blockchain: fix theoretical race getting bulk timestampsmoneromooo-monero2020-05-131-0/+1
| | | |
* | | | Merge pull request #6512Alexander Blair2020-07-1913-13/+13
|\ \ \ \ | | | | | | | | | | | | | | | 5ef0607da Update copyright year to 2020 (SomaticFanatic)
| * | | | Update copyright year to 2020SomaticFanatic2020-05-0613-13/+13
| | | | | | | | | | | | | | | | | | | | Update copyright year to 2020
* | | | | tx_pool: mine stem txes in fake chain modemoneromooo-monero2020-07-093-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the functional tests, since txes would not be mined after being sent to the daemon (they'd be waiting for the dandelion timeout first)
* | | | | blockchain: fix timestamp/difficulty cache getting out of syncmoneromooo-monero2020-07-082-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The cache is discarded when a block is popped, but then gets rebuilt when the difficulty for next block is requested. While this is all properly locked, it does not take into account the delay caused by a database transaction being only committed (and thus its effects made visible to other threads) later on, which means another thread could request difficulty between the pop and the commit, which would end up using stale database view to build the cache, but that cache would not be invalidated again when the transaction gets committed, which would cause the cache to not match the new database data. To fix this, we now keep track of when the cache is invalidated so we can invalidate it again upon database transaction commit to ensure it gets calculated again with fresh data next time it is nedeed.
* | | | | Merge pull request #6647luigi11112020-07-081-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 4d8d121 Fix D++ block template check (vtnerd)
| * | | | | Fix D++ block template checkLee Clagett2020-06-121-1/+1
| | |_|/ / | |/| | |