aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/blockchain.cpp (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2022-07-13build: prepare v0.18.0.0selsta1-1/+1
2022-04-18Bump ring size to 16 for v15 & remove set default in wallet clij-berman1-9/+15
2022-04-18Add view tags to outputs to reduce wallet scanning timej-berman1-9/+23
2022-04-10Fee changes from ArticMinemoneromooo-monero1-7/+130
2022-04-05plug bulletproofs plus into consensusmoneromooo-monero1-4/+31
2022-03-10Remove footgun doc comment in miner TX validationLuke Parker1-3/+0
2022-03-04Copyright: Update to 2022mj-xmr1-1/+1
2021-11-01tx_pool: full tx revalidation on fork boundariesmoneromooo-monero1-0/+21
2021-10-11blockchain: fix pedantic assertselsta1-0/+2
2021-09-11RPC and ZeroMQ APIs to support p2poolSChernykh1-1/+68
2021-06-20doc: update IRC references to Liberafdov1-1/+1
2021-05-08Warnings: unused variable in core/blockchain.cppmj-xmr1-1/+1
2021-04-26blockchain: speed up repeated pops (mostly in tests)moneromooo-monero1-1/+4
2021-04-16Revert "Merge pull request #7136"luigi11111-1/+0
2021-03-18core: speed up print_coinbase_tx_summoneromooo-monero1-4/+6
2021-02-09Remove unused variables in monero codebaseKevin Barbour1-1/+0
2021-01-28Remove copies from foreach loops (thanks to Clang)Lee Clagett1-1/+1
2021-01-19Remove payload copy in all outgoing p2p messagesLee Clagett1-0/+1
2021-01-16Remove payload copy in all outgoing p2p messagesLee Clagett1-0/+1
2021-01-02blockchain: lock access to m_blocks_hash_of_hashesmoneromooo-monero1-0/+2
2020-12-31protocol: more sanity checks in new chain block hashesmoneromooo-monero1-2/+14
2020-12-29rpc: limit the number of txes for get_blocks.binmoneromooo-monero1-3/+3
2020-10-20blockchain: remove some dead codemoneromooo-monero1-8/+0
2020-10-20Make Blockchain::get_fee_quantization_mask() compile timeSChernykh1-13/+0
2020-10-18blockchain: fix sync at v14 boundarymoneromooo-monero1-3/+15
2020-09-15blockchain: deterministic UNIX time unlock checksmoneromooo-monero1-16/+45
2020-09-14build: prepare v0.17selsta1-1/+1
2020-09-07blockchain: fix pow skipping for old blocks without precalc hashmoneromooo-monero1-1/+1
2020-09-01threadpool: guard against exceptions in jobs, and armour platingmoneromooo-monero1-7/+9
2020-08-27core: fix mining from a block that's not the current topmoneromooo-monero1-5/+41
2020-08-27Integrate CLSAGs into moneromoneromooo-monero1-3/+53
2020-08-21enforce claiming maximum coinbase amountmoneromooo-monero1-2/+2
2020-08-17Avoid some temporary strings when reading off the databasemoneromooo-monero1-3/+3
2020-07-30blockchain: guard against exceptions in add_new_block/childrenmoneromooo-monero1-0/+11
2020-07-08blockchain: fix timestamp/difficulty cache getting out of syncmoneromooo-monero1-1/+16
2020-06-14avoid a couple needless copiesmoneromooo-monero1-1/+1
2020-06-09daemon: guard against rare 'difficulty drift' bug with checkpoints and recalc...stoffu1-0/+115
2020-06-05blockchain: fix total_height in getblocks.bin responsemoneromooo-monero1-0/+1
2020-05-17blockchain: detect and log bad difficulty calculationsmoneromooo-monero1-5/+72
2020-05-13build: prepare v0.16.0.0 releaseselsta1-1/+1
2020-05-13blockchain: fix theoretical race getting bulk timestampsmoneromooo-monero1-0/+1
2020-05-06Update copyright year to 2020SomaticFanatic1-1/+1
2020-05-04Adding ZMQ/Pub support for txpool_add and chain_main eventsLee Clagett1-10/+21
2020-02-27blockchain_db: faster fetching of consecutive txesmoneromooo-monero1-30/+2
2020-02-19cryptonote_core: skip block notify on blockchain switching rollbackxiphon1-8/+16
2020-02-17remove empty statementsInterchained1-2/+2
2020-01-09Fix check_fee() discrepancy.UkoeHB1-2/+2
2019-12-14blockchain: fix flushing txes from the txpoolmoneromooo-monero1-1/+1
2019-12-02rpc: add bad-blocks to flush_cache RPCmoneromooo-monero1-0/+7
2019-11-15blockchain: speedup fetching pruned contiguous tx blobsmoneromooo-monero1-3/+10
2019-11-12blockchain: error out if the builtin hashes data size is wrongmoneromooo-monero1-1/+6
2019-11-02Adding support for hidden (anonymity) txpoolLee Clagett1-13/+18
2019-11-02Merge pull request #6079Riccardo Spagni1-1/+1
2019-11-020.15.0.0 release engineeringRiccardo Spagni1-1/+1
2019-10-27blockchain: fix unwanted error when probing the pool for a txmoneromooo-monero1-2/+11
2019-10-27blockchain: fix unwanted error when probing the pool for a txmoneromooo-monero1-2/+11
2019-10-21Support median block size > 4 GBmoneromooo-monero1-8/+3
2019-10-16blockchain: initialize pow to ff..ffmoneromooo-monero1-2/+4
2019-10-11blockchain: use effective median block weight for penalty from v12moneromooo-monero1-3/+12
2019-10-10blockchain: fill in cumulative block weight for alt blocksmoneromooo-monero1-0/+28
2019-09-28blockchain: tweak fee as a function of median valuesmoneromooo-monero1-1/+2
2019-09-27monerod can now sync from pruned blocksmoneromooo-monero1-50/+194
2019-09-25RandomX integrationHoward Chu1-4/+40
2019-09-25ban peers sending bad pow outrightmoneromooo-monero1-0/+2
2019-09-19core: move hardforks into its own libmoneromooo-monero1-125/+4
2019-09-17blockchain: enforce 10 block age for spending outputsmoneromooo-monero1-0/+10
2019-09-16Removed Berkeley DB and db switching logicJesus Ramirez1-2/+2
2019-09-11blockchain: keep block template timestamp not below recent medianmoneromooo-monero1-1/+3
2019-09-02Changed the use of boost:value_initialized for C++ list initializerJesus Ramirez1-8/+8
2019-08-28blockchain: fix logging bad number of blocks if first one failsmoneromooo-monero1-2/+3
2019-08-19blockchain: reject rct signatures in coinbase txes from v12moneromooo-monero1-0/+7
2019-08-19core: from v12, require consistent ring size for mixable txesmoneromooo-monero1-8/+23
2019-08-19blockchain: forbid v1 coinbase from v12moneromooo-monero1-4/+7
2019-08-18blockchain: Fix alt chain generated coins overflowiamamyth1-1/+2
2019-07-18update checkpoints.dat hashRiccardo Spagni1-1/+1
2019-07-15Remove unused txs member in NOTIFY_RESPONSE_GET_OBJECTDoyle1-2/+0
2019-07-03Remove unnecessary m_check_txin_table, fix const correctnessMartijn Otto1-36/+6
2019-06-16blockchain: silence an error getting blocks for pruned nodesmoneromooo-monero1-4/+8
2019-06-14prep for 0.14.1 releaseRiccardo Spagni1-1/+1
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-09daemon: sort alt chains by heightmoneromooo-monero1-2/+2
2019-05-08blockchain: keep alternative blocks in LMDBmoneromooo-monero1-66/+126
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-29remove unused codemoneromooo-monero1-6/+2
2019-04-23consensus: from v12, enforce >= 2 outputsmoneromooo-monero1-0/+13
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-09blockchain: remove unused calc of short_term_constraintstoffu1-1/+0
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-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-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-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-04blockchain: forbid older BP rct versions from v11moneromooo-monero1-1/+18
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-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-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-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-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-05blockchain: call deinit in dtormoneromooo-monero1-7/+10
2018-12-04move int-util.h to epeemoneromooo-monero1-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-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-22blocks: use auto-generated .c files instead of 'LD -r -b binary'xiphon1-15/+14
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-09-29Merge pull request #4333Riccardo Spagni1-0/+5
2018-09-29daemon: silence daemon update warnings on testnetiDunk54001-2/+2
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-20cryptonote_core: warn when the block rate deviates from expectationsmoneromooo-monero1-0/+9
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-16core: cache block template where possiblemoneromooo-monero1-1/+43
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-21blockchain: some batch tx scanning speedupmoneromooo-monero1-15/+19
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-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-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-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-23db_lmdb: save pruned and prunable tx data separatelymoneromooo-monero1-6/+9
2018-05-23update checkpointsRiccardo Spagni1-1/+1
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