summaryrefslogtreecommitdiff
path: root/src/cryptonote_core
Commit message (Collapse)AuthorAgeFilesLines
* update checkpoints.dat hashRiccardo Spagni2019-07-181-1/+1
|
* Merge pull request #5664luigi11112019-07-041-1/+1
|\ | | | | | | c1eba2b core: fix --prune-blockchain not pruning if no blockchain exists (moneromooo-monero)
| * core: fix --prune-blockchain not pruning if no blockchain existsmoneromooo-monero2019-06-171-1/+1
| |
* | Merge pull request #5651luigi11112019-07-041-4/+8
|\ \ | | | | | | | | | c382677 blockchain: silence an error getting blocks for pruned nodes (moneromooo-monero)
| * | blockchain: silence an error getting blocks for pruned nodesmoneromooo-monero2019-06-161-4/+8
| |/ | | | | | | | | This happens often when a pre-pruning node asks a pruned node for data it does not have
* / tx_sanity_check: relax the median check a lotmoneromooo-monero2019-06-191-1/+1
|/ | | | we don't want to prevent bona fide txes, just obvious bad ones
* prep for 0.14.1 releaseRiccardo Spagni2019-06-131-1/+1
|
* Merge pull request #5578Riccardo Spagni2019-06-011-1/+7
|\ | | | | | | b7a96a08 core: update pruning if using --prune-blockchain on a pruned blockchain (moneromooo-monero)
| * core: update pruning if using --prune-blockchain on a pruned blockchainmoneromooo-monero2019-05-281-1/+7
| | | | | | | | | | Avoids a massive amount of spurious warnings if the last update before the daemon exited was a while ago and the daemon was syncing
* | Merge pull request #5572Riccardo Spagni2019-06-013-14/+38
|\ \ | | | | | | | | | | | | a663ccba blockchain: do not try to pop blocks down to the genesis block (moneromooo-monero) 8f2a99d8 core: do not commit half constructed batch db txn (moneromooo-monero)
| * | blockchain: do not try to pop blocks down to the genesis blockmoneromooo-monero2019-05-261-0/+3
| | |
| * | core: do not commit half constructed batch db txnmoneromooo-monero2019-05-253-14/+35
| |/
* / Fix #5553Howard Chu2019-05-191-1/+2
|/ | | | Make sure the tip hash still matches the cached block
* Merge pull request #5510Riccardo Spagni2019-05-071-2/+2
|\ | | | | | | e9809382 fix wide difficulty conversion with some versions of boost (moneromooo-monero)
| * fix wide difficulty conversion with some versions of boostmoneromooo-monero2019-05-011-2/+2
| |
* | blockchain: keep a rolling long term block weight medianmoneromooo-monero2019-05-022-33/+36
|/
* tx_sanity_check: relax uniqueness check a bitmoneromooo-monero2019-04-231-2/+2
| | | | It triggers easily on testnet
* Merge pull request #5448Riccardo Spagni2019-04-162-6/+15
|\ | | | | | | | | d009f6dd rpc: fix get_block_hashes.bin from wallet on pruned blockchain (moneromooo-monero) bb0ef5b1 blockchain: lock the blockchain while pruning (moneromooo-monero)
| * rpc: fix get_block_hashes.bin from wallet on pruned blockchainmoneromooo-monero2019-04-152-6/+11
| | | | | | | | We want to get all blocks here, even pruned ones
| * blockchain: lock the blockchain while pruningmoneromooo-monero2019-04-151-0/+4
| |
* | Merge pull request #5434Riccardo Spagni2019-04-163-0/+138
|\ \ | | | | | | | | | ccb996af rpc: new sanity check on relayed transactions (moneromooo-monero)
| * | rpc: new sanity check on relayed transactionsmoneromooo-monero2019-04-123-0/+138
| |/ | | | | | | This will weed out some transactions with silly rings
* | Merge pull request #5414Riccardo Spagni2019-04-161-1/+0
|\ \ | | | | | | | | | | | | | | | | | | e9fac29a unit_tests/long_term_block_weight: some tweaks that seem to make more sense (stoffu) 467f4c7e tests/block_weight: use integer division when computing median (stoffu) 815d08dc tests/block_weight: remove unused MULTIPLIER_SMALL (stoffu) 661f1fb8 blockchain: remove unused calc of short_term_constraint (stoffu)
| * | blockchain: remove unused calc of short_term_constraintstoffu2019-04-091-1/+0
| | |
* | | Merge pull request #5405Riccardo Spagni2019-04-161-1/+4
|\ \ \ | | | | | | | | | | | | ffdbcfb6 core: don't check block rate nor fork time in regtest mode (moneromooo-monero)
| * | | core: don't check block rate nor fork time in regtest modemoneromooo-monero2019-04-071-1/+4
| |/ /
* | / blockchain_db: fix db txn ending too earlymoneromooo-monero2019-04-141-29/+23
| |/ |/| | | | | | | | | | | | | | | | | The db txn in add_block ending caused the entire overarching batch txn to stop. Also add a new guard class so a db txn can be stopped in the face of exceptions. Also use a read only db txn in init when the db itself is read only, and do not save the max tx size in that case.
* | functional_tests: add more blockchain related testsmoneromooo-monero2019-04-114-68/+164
| | | | | | | | | | Related to emission, reorgs, getting tx data back, output distribution and histogram
* | Merge pull request #5380Riccardo Spagni2019-04-111-0/+2
|\ \ | | | | | | | | | | | | | | | 113e4877 blockchain_stats: fix sign in formatting function (moneromooo-monero) adaea3ea various: remove unused variables (moneromooo-monero) 631ef00e blockchain: some debug info when adding txes-from-block fails (moneromooo-monero)
| * | blockchain: some debug info when adding txes-from-block failsmoneromooo-monero2019-04-011-0/+2
| | |
* | | Merge pull request #5378Riccardo Spagni2019-04-111-6/+0
|\ \ \ | | | | | | | | | | | | eda2661a Allow pruning before v10 (moneromooo-monero)
| * | | Allow pruning before v10moneromooo-monero2019-04-011-6/+0
| | | | | | | | | | | | | | | | | | | | This check is now not needed anymore, and would prevent people from using --prune-blockchain when starting a new sync
* | | | Merge pull request #5373Riccardo Spagni2019-04-112-3/+6
|\ \ \ \ | | | | | | | | | | | | | | | aff80e70 blockchain: fix returned height in create_block_template (moneromooo-monero)
| * | | | blockchain: fix returned height in create_block_templatemoneromooo-monero2019-03-302-3/+6
| |/ / / | | | | | | | | | | | | It's now needed for CNv4, and was not retained when cached
* | | | Merge pull request #5123Riccardo Spagni2019-04-112-8/+24
|\ \ \ \ | |_|_|/ |/| | | | | | | 089c7637 cryptonote: rework block blob size sanity check (moneromooo-monero)
| * | | cryptonote: rework block blob size sanity checkmoneromooo-monero2019-04-052-8/+24
| | |/ | |/| | | | | | | | | | Use the actual block weight limit, assuming that weight is always greater or equal to size
* | | Merge pull request #5346Riccardo Spagni2019-04-062-5/+9
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | c84ea299 cryptonote_basic: some more minor speedups (moneromooo-monero) e40eb2ad cryptonote_basic: speedup calculate_block_hash (moneromooo-monero) 547a9708 cryptonote: block parsing + hash calculation speedup (moneromooo-monero) 11604b6d blockchain: avoid unneeded block copy (moneromooo-monero) 8461df04 save some database calls when getting top block hash and height (moneromooo-monero) 3bbc3661 Avoid repeated (de)serialization when syncing (moneromooo-monero)
| * | cryptonote: block parsing + hash calculation speedupmoneromooo-monero2019-03-252-5/+8
| | | | | | | | | | | | This saves a duplicate serialization step
| * | blockchain: avoid unneeded block copymoneromooo-monero2019-03-251-1/+2
| | |
| * | save some database calls when getting top block hash and heightmoneromooo-monero2019-03-251-0/+1
| | |
| * | Avoid repeated (de)serialization when syncingmoneromooo-monero2019-03-251-2/+1
| |/
* | Merge pull request #5332Riccardo Spagni2019-04-011-0/+7
|\ \ | | | | | | | | | | | | | | | 7c440915 Add get_tx_proof support, needed for new sanity check (cslashm) 98fdcb2a Add support for V11 protocol with BulletProofV2 and short amount. New scheme key destination contrfol Fix dummy decryption in debug mode (cslashm) 3a981a33 Add application version compatibility check. (cslashm)
| * | Add support for V11 protocol with BulletProofV2 and short amount.cslashm2019-03-281-0/+7
| |/ | | | | | | | | New scheme key destination contrfol Fix dummy decryption in debug mode
* | Merge pull request #5352Riccardo Spagni2019-04-012-0/+46
|\ \ | | | | | | | | | | | | ae6885f6 blockchain: incremental long term block weight cache (moneromooo-monero) 9b687c78 blockchain: simple cache for the long term block weights (moneromooo-monero)
| * | blockchain: incremental long term block weight cachemoneromooo-monero2019-03-281-0/+22
| | |
| * | blockchain: simple cache for the long term block weightsmoneromooo-monero2019-03-282-0/+24
| |/
* | Merge pull request #5317Riccardo Spagni2019-04-011-1/+17
|\ \ | | | | | | | | | 1730a44f core: improve block rate monitor trigger probabilities (moneromooo-monero)
| * | core: improve block rate monitor trigger probabilitiesmoneromooo-monero2019-03-251-1/+17
| |/ | | | | | | | | | | | | | | | | | | The original intent of one false positive a week on average was not met, since what we really want is not the probability of having N blocks in T seconds, but either N blocks of fewer in T seconds, or N blocks or more in T seconds. Some of this could be cached since it calculates the same fairly complex floating point values, but it seems pretty fast already.
* | Merge pull request #5294Riccardo Spagni2019-04-011-0/+2
|\ \ | | | | | | | | | 77e9815d blockchain: do not try to pop the genesis block (moneromooo-monero)
| * | blockchain: do not try to pop the genesis blockmoneromooo-monero2019-03-151-0/+2
| | |