aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/blockchain.cpp (follow)
AgeCommit message (Expand)AuthorFilesLines
2019-06-14prep for 0.14.1 releaseRiccardo Spagni1-1/+1
2019-06-01Merge pull request #5571Riccardo Spagni1-12/+19
2019-05-26blockchain: do not try to pop blocks down to the genesis blockmoneromooo-monero1-0/+3
2019-05-25core: do not commit half constructed batch db txnmoneromooo-monero1-12/+16
2019-05-19Fix #5553Howard Chu1-1/+2
2019-05-07Merge pull request #5510Riccardo Spagni1-2/+2
2019-05-02blockchain: keep a rolling long term block weight medianmoneromooo-monero1-27/+29
2019-05-01fix wide difficulty conversion with some versions of boostmoneromooo-monero1-2/+2
2019-04-16Merge pull request #5448Riccardo Spagni1-5/+13
2019-04-16Merge pull request #5414Riccardo Spagni1-1/+0
2019-04-15rpc: fix get_block_hashes.bin from wallet on pruned blockchainmoneromooo-monero1-5/+9
2019-04-15blockchain: lock the blockchain while pruningmoneromooo-monero1-0/+4
2019-04-14blockchain_db: fix db txn ending too earlymoneromooo-monero1-29/+23
2019-04-11functional_tests: add more blockchain related testsmoneromooo-monero1-61/+136
2019-04-11Merge pull request #5380Riccardo Spagni1-0/+2
2019-04-11Merge pull request #5378Riccardo Spagni1-6/+0
2019-04-11Merge pull request #5373Riccardo Spagni1-2/+4
2019-04-11Merge pull request #5123Riccardo Spagni1-0/+6
2019-04-09blockchain: remove unused calc of short_term_constraintstoffu1-1/+0
2019-04-06Merge pull request #5346Riccardo Spagni1-4/+7
2019-04-05cryptonote: rework block blob size sanity checkmoneromooo-monero1-0/+6
2019-04-01blockchain: some debug info when adding txes-from-block failsmoneromooo-monero1-0/+2
2019-04-01Merge pull request #5352Riccardo Spagni1-0/+44
2019-04-01Merge pull request #5294Riccardo Spagni1-0/+2
2019-04-01Allow pruning before v10moneromooo-monero1-6/+0
2019-03-30blockchain: fix returned height in create_block_templatemoneromooo-monero1-2/+4
2019-03-28blockchain: incremental long term block weight cachemoneromooo-monero1-0/+22
2019-03-28blockchain: simple cache for the long term block weightsmoneromooo-monero1-0/+22
2019-03-25cryptonote: block parsing + hash calculation speedupmoneromooo-monero1-4/+6
2019-03-25blockchain: avoid unneeded block copymoneromooo-monero1-1/+2
2019-03-25save some database calls when getting top block hash and heightmoneromooo-monero1-0/+1
2019-03-25Avoid repeated (de)serialization when syncingmoneromooo-monero1-2/+1
2019-03-24Make difficulty 128 bit instead of 64 bitmoneromooo-monero1-2/+6
2019-03-21Merge pull request #5256Riccardo Spagni1-13/+11
2019-03-17Merge pull request #5061Riccardo Spagni1-1/+1
2019-03-15blockchain: do not try to pop the genesis blockmoneromooo-monero1-0/+2
2019-03-10blockchain: fix ahead of time PoW batch calcmoneromooo-monero1-2/+2
2019-03-08blockchain: speed up getting N blocks weights/long term weightsmoneromooo-monero1-13/+11
2019-03-07Merge pull request #5232Riccardo Spagni1-1/+1
2019-03-05Update 2019 copyrightbinaryFate1-1/+1
2019-03-05cryptonote: avoid double parsing blocks when syncingmoneromooo-monero1-10/+3
2019-03-05core: avoid double parsing blocks after hohmoneromooo-monero1-2/+2
2019-03-05blockchain: avoid unneeded block copymoneromooo-monero1-1/+2
2019-03-05save some database calls when getting top block hash and heightmoneromooo-monero1-25/+35
2019-03-05blockchain: avoid pointless transaction copy and temporarymoneromooo-monero1-3/+4
2019-03-05blockchain: avoid duplicate block hash computationmoneromooo-monero1-2/+1
2019-03-05Avoid repeated (de)serialization when syncingmoneromooo-monero1-9/+14
2019-03-05fix merge errors, update recommended version to 0.14.0.2Riccardo Spagni1-1/+1
2019-03-05update checkpoints hashRiccardo Spagni1-2/+2
2019-03-04various: remove unused variablesmoneromooo-monero1-2/+0
2019-03-04Merge pull request #5092Riccardo Spagni1-2/+2
2019-03-04blockchain: forbid older BP rct versions from v11moneromooo-monero1-1/+18
2019-03-04Merge pull request #5174Riccardo Spagni1-0/+5
2019-03-04blockchain: add v10 fork heightsmoneromooo-monero1-0/+5
2019-03-04blockchain: include number of discarded blocks in --reorg-notifymoneromooo-monero1-1/+2
2019-03-04Merge pull request #5124Riccardo Spagni1-21/+118
2019-03-04ArticMine's new block weight algorithmmoneromooo-monero1-21/+118
2019-02-01cryptonote: Fix enum check in expand_transaction_2Tom Smeding1-1/+1
2019-01-28blockchain: add --reorg-notifymoneromooo-monero1-0/+5
2019-01-28notify: handle arbitrary tagsmoneromooo-monero1-1/+1
2019-01-28Merge pull request #5052Riccardo Spagni1-2/+15
2019-01-26blockchain: fix default genesis block timestampmoneromooo-monero1-2/+2
2019-01-22add a bulletproof version, new bulletproof type, and rct configmoneromooo-monero1-2/+15
2019-01-22Pruningmoneromooo-monero1-3/+93
2019-01-18Merge pull request #5048Riccardo Spagni1-1/+2
2019-01-16Merge pull request #5032Riccardo Spagni1-7/+5
2019-01-16Merge pull request #5015Riccardo Spagni1-58/+4
2019-01-16Merge pull request #4993Riccardo Spagni1-1/+3
2019-01-16Merge pull request #4984Riccardo Spagni1-8/+17
2019-01-07blockchain: don't propagate exception past dtormoneromooo-monero1-1/+2
2019-01-01blockchain: fix wrong hf version when popping multiple blocksmoneromooo-monero1-6/+4
2019-01-01blockchain: use the version passed as parameter, not a new onemoneromooo-monero1-1/+1
2018-12-31Merge pull request #4940luigi11111-7/+10
2018-12-31Merge pull request #4928luigi11111-5/+3
2018-12-25cryptonote_core: revert extra_tx_mapmoneromooo-monero1-58/+4
2018-12-18blockchain: fix block rate check for empty blockchainsmoneromooo-monero1-1/+3
2018-12-18blockchain_db: speedup tx output gatheringmoneromooo-monero1-8/+17
2018-12-12Merge pull request #4909Riccardo Spagni1-33/+84
2018-12-12Merge pull request #4903Riccardo Spagni1-0/+32
2018-12-05blockchain: call deinit in dtormoneromooo-monero1-7/+10
2018-12-04Merge pull request #4894Riccardo Spagni1-3/+3
2018-12-04move int-util.h to epeemoneromooo-monero1-1/+1
2018-12-04Merge pull request #4869Riccardo Spagni1-1/+1
2018-12-02blockchain: fix race between two external mining threadsmoneromooo-monero1-5/+3
2018-11-28add command pop_blocksJason Wong1-0/+32
2018-11-27blockchain: avoid unnecessary DB lookups when syncingmoneromooo-monero1-33/+84
2018-11-26rpc: speedup get_outs.binmoneromooo-monero1-8/+26
2018-11-23a few minor (but easy) performance tweaksmoneromooo-monero1-3/+3
2018-11-19Avoid unnecessary temp block and copy ctormoneromooo-monero1-1/+1
2018-11-16tests: add unit tests for get_output_distributionmoneromooo-monero1-0/+1
2018-11-16blockchain: remove "0 is height" shortcut from get_output_distributionmoneromooo-monero1-2/+0
2018-11-16Revert "blockchain: simplify output distribution code"moneromooo-monero1-2/+7
2018-11-16Merge pull request #4806Riccardo Spagni1-1/+2
2018-11-14Merge pull request #4769Riccardo Spagni1-10/+7
2018-11-05blockchain: fix innocuous difficulty cache inconsistencymoneromooo-monero1-0/+1
2018-11-05blockchain: use uint64_t for block height, not size_tmoneromooo-monero1-1/+1
2018-11-04blockchain: remove unused output_scan_worker parametermoneromooo-monero1-7/+4
2018-11-04blockchain: don't run threads if we have just one function to runmoneromooo-monero1-1/+1
2018-11-01core: avoid unnecessary tx/blob conversionsmoneromooo-monero1-2/+2
2018-10-27core: fix unmixable special case allowing ring size below 11moneromooo-monero1-1/+1
2018-10-26Merge pull request #4536Riccardo Spagni1-15/+14
2018-10-26Merge pull request #4408Riccardo Spagni1-0/+9
2018-10-22blocks: use auto-generated .c files instead of 'LD -r -b binary'xiphon1-15/+14
2018-10-20Merge pull request #4522Riccardo Spagni1-0/+3
2018-10-19blockchain: move two new verification errors to the verify categorymoneromooo-monero1-2/+2
2018-10-08Revert "Merge pull request #4472"Riccardo Spagni1-14/+15
2018-10-08blockchain: add check test options are given for fakechain modemoneromooo-monero1-0/+3
2018-10-04blocks: use auto-generated .c files instead of 'LD -r -b binary'xiphon1-15/+14
2018-10-02Merge pull request #4467Riccardo Spagni1-2/+2
2018-09-29Merge pull request #4333Riccardo Spagni1-0/+5
2018-09-29daemon: silence daemon update warnings on testnetiDunk54001-2/+2
2018-09-25Merge pull request #4423v0.13.0.0-RC1Riccardo Spagni1-1/+1
2018-09-24blockchain: add stagenet v8 and v9, two weeks before mainnetmoneromooo-monero1-0/+2
2018-09-23update checkpoints.datRiccardo Spagni1-1/+1
2018-09-21Merge pull request #4369Riccardo Spagni1-7/+2
2018-09-20cryptonote_core: warn when the block rate deviates from expectationsmoneromooo-monero1-0/+9
2018-09-18Merge pull request #4325Riccardo Spagni1-0/+6
2018-09-14remove obsolete daemon selection of fake outs and old tx constructionmoneromooo-monero1-242/+0
2018-09-12blockchain: simplify output distribution codemoneromooo-monero1-7/+2
2018-09-11blockchain: add a testnet v9 a day after v8moneromooo-monero1-0/+1
2018-09-11v8: per byte fee, pad bulletproofs, fixed 11 ring sizemoneromooo-monero1-122/+175
2018-09-11Bulletproof aggregated verification and testsmoneromooo-monero1-8/+7
2018-09-11bulletproofs: add aggregated verificationmoneromooo-monero1-1/+1
2018-09-11bulletproofs: add multi output bulletproofs to rctmoneromooo-monero1-0/+16
2018-09-02blockchain: add mainnet v8 height targetting 18 octobermoneromooo-monero1-0/+6
2018-08-22Merge pull request #4240luigi11111-1/+1
2018-08-22Merge pull request #4204luigi11111-4/+8
2018-08-16core: cache block template where possiblemoneromooo-monero1-1/+43
2018-08-15Merge pull request #4164luigi11111-15/+19
2018-08-12core: sync database based on bytes added, not blocks addedmoneromooo-monero1-4/+8
2018-08-09blockchain: use uint64_t for height, not size_tmoneromooo-monero1-1/+1
2018-07-27Merge pull request #4108luigi11111-0/+1
2018-07-21blockchain: some batch tx scanning speedupmoneromooo-monero1-15/+19
2018-07-19Merge pull request #4081luigi11111-1/+2
2018-07-19Merge pull request #4076luigi11111-0/+2
2018-07-19Merge pull request #3981luigi11111-5/+34
2018-07-19Merge pull request #3973luigi11111-5/+6
2018-07-19Merge pull request #3854luigi11111-1/+45
2018-07-13db: store cumulative rct output distribution in the db for speedmoneromooo-monero1-5/+34
2018-07-07blockchain: cache next block difficulty after adding a blockmoneromooo-monero1-0/+1
2018-06-29blockchain: fix getting invalid block data on failuremoneromooo-monero1-1/+2
2018-06-29add --regtest and --fixed-difficulty for regression testingvictorsintnicolaas1-1/+45
2018-06-28blockchain: set the m_verifivation_failed flag in a couple more placesmoneromooo-monero1-0/+2
2018-06-28blockchain: fix build after waiter::wait prototype changemoneromooo-monero1-1/+1
2018-06-27Merge pull request #3986luigi11111-2/+2
2018-06-27Merge pull request #3982luigi11111-12/+1
2018-06-27Merge pull request #3716luigi11111-46/+74
2018-06-26threadpool: allow leaf functions to run concurrentlymoneromooo-monero1-6/+6
2018-06-26blockchain: simplify/speedup handle_get_objectsmoneromooo-monero1-13/+8
2018-06-26rpc: rework to avoid repeated calculations in get_blocks.binmoneromooo-monero1-6/+15
2018-06-26replace std::list with std::vector on some hot pathsmoneromooo-monero1-21/+45
2018-06-26alt_chain_info can now give more info about a particular alt chainmoneromooo-monero1-5/+6
2018-06-25Merge pull request #3975luigi11111-1/+1
2018-06-20Merge pull request #3919luigi11111-1/+1
2018-06-20Merge pull request #3904luigi11111-6/+13
2018-06-16Merge pull request #3732luigi11111-1/+1
2018-06-16Merge pull request #3726luigi11111-8/+11
2018-06-12Merge pull request #3687luigi11111-3/+3
2018-06-11Remove old logic saved in comments.Jean Pierre Dudey1-2/+2
2018-06-11cryptonote_config: add get_config to refactor x = testnet ? config::testnet::...stoffu1-12/+1
2018-06-09blockchain: avoid duplicate db query for heightmoneromooo-monero1-1/+1
2018-06-08Merge pull request #3908luigi11111-1/+1
2018-06-07Merge pull request #3940luigi11111-8/+12
2018-06-06blockchain: fix deadlock with the difficulty cachemoneromooo-monero1-8/+12
2018-06-04blockchain: pop forked blocks only when DB is not read-onlystoffu1-1/+1
2018-06-02blockchain: demote a hash-of-hashes validation warning to debugmoneromooo-monero1-1/+1
2018-06-02update checkpoints.dat for point releaseRiccardo Spagni1-1/+1
2018-06-01blockchain: return error when requesting non existent outputmoneromooo-monero1-6/+13
2018-05-30Merge pull request #3525luigi11111-0/+1
2018-05-30Merge pull request #3731luigi11111-4/+10
2018-05-29Merge pull request #3251luigi11111-6/+9
2018-05-29Merge pull request #3420luigi11111-3/+18
2018-05-23db_lmdb: save pruned and prunable tx data separatelymoneromooo-monero1-6/+9
2018-05-23update checkpointsRiccardo Spagni1-1/+1
2018-05-21Merge pull request #3787Riccardo Spagni1-0/+6
2018-05-21speed up get_output_distribution (and precalc common case)moneromooo-monero1-17/+2
2018-05-13Use median timestamp if current time renders a block invalid.Thaer Khawaja1-4/+10
2018-05-09blockchain: avoid exception if asked for a block we do not havemoneromooo-monero1-8/+11
2018-05-09blockchain: invalidate misc caches when popping blocksmoneromooo-monero1-0/+6
2018-05-06blockchain: pop top if block version disagrees with the ideal fork versionstoffu1-0/+47
2018-04-29Ensure m_timestamps has the correct number for computing difficulty.Thaer Khawaja1-1/+1
2018-04-23blockchain: log in DEBUG when a block is found, and wheremoneromooo-monero1-3/+3
2018-04-23speedup get_output_histogram for all amounts when min_count > 0moneromooo-monero1-2/+2
2018-03-30blockchain: add scope guard to waiter for threaded txv1 verificationstoffu1-0/+1
2018-03-24update block hashes for checkpoints.datRiccardo Spagni1-1/+1
2018-03-19blockchain: cache difficulty for next blockmoneromooo-monero1-3/+18
2018-03-18Move v7 fork to 1546000 to give more update timemoneromooo-monero1-2/+2
2018-03-17Merge pull request #3418Riccardo Spagni1-1/+2
2018-03-16blockchain: forbid bulletproof types before v8moneromooo-monero1-1/+2
2018-03-16Merge pull request #3414Riccardo Spagni1-1/+1
2018-03-16Merge pull request #3336Riccardo Spagni1-2/+2
2018-03-16add RPC to get a histogram of outputs of a given amountmoneromooo-monero1-1/+45
2018-03-16blockchain: fix log message about per-kB feestoffu1-1/+1
2018-03-15Fix typos in various filesDimitris Apostolou1-2/+2
2018-03-14Remove the `Blockchain::get_all_known_block_ids` function.Jean Pierre Dudey1-19/+0
2018-03-14Merge pull request #3371Riccardo Spagni1-0/+3
2018-03-09Stagenet: successive forks up to v7stoffu1-0/+8
2018-03-07core: add v7 for 1539500 on mainnetmoneromooo-monero1-0/+3
2018-03-07Bump min ring size from 5 to 7 from v7moneromooo-monero1-1/+1
2018-03-05Merge pull request #3308Riccardo Spagni1-1/+4