aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/blockchain.h (follow)
AgeCommit message (Expand)AuthorFilesLines
2020-12-31protocol: more sanity checks in new chain block hashesmoneromooo-monero1-1/+3
2020-12-29rpc: limit the number of txes for get_blocks.binmoneromooo-monero1-2/+3
2020-09-15blockchain: deterministic UNIX time unlock checksmoneromooo-monero1-12/+19
2020-08-27core: fix mining from a block that's not the current topmoneromooo-monero1-3/+5
2020-08-27Merge pull request #6767Alexander Blair1-0/+3
2020-08-17Avoid some temporary strings when reading off the databasemoneromooo-monero1-1/+1
2020-08-16Fix build with Boost 1.74moneromooo-monero1-0/+3
2020-05-04Adding ZMQ/Pub support for txpool_add and chain_main eventsLee Clagett1-2/+7
2020-07-19Merge pull request #6534Alexander Blair1-0/+16
2020-07-19Merge pull request #6512Alexander Blair1-1/+1
2020-07-08blockchain: fix timestamp/difficulty cache getting out of syncmoneromooo-monero1-0/+1
2020-06-09daemon: guard against rare 'difficulty drift' bug with checkpoints and recalc...stoffu1-0/+16
2020-05-06Update copyright year to 2020SomaticFanatic1-1/+1
2020-04-04Merge pull request #6347luigi11111-2/+4
2020-02-28Merge pull request #6211Alexander Blair1-0/+5
2020-02-19cryptonote_core: skip block notify on blockchain switching rollbackxiphon1-2/+4
2019-12-12Merge pull request #6055luigi11111-1/+1
2019-12-02rpc: add bad-blocks to flush_cache RPCmoneromooo-monero1-0/+5
2019-11-02Adding support for hidden (anonymity) txpoolLee Clagett1-4/+5
2019-10-29blockchain: fix comment wrongly refering to SHA-3 rather than Keccakmoneromooo-monero1-1/+1
2019-10-08Merge pull request #5915luigi11111-8/+24
2019-09-27monerod can now sync from pruned blocksmoneromooo-monero1-8/+24
2019-09-25RandomX integrationHoward Chu1-0/+17
2019-09-19core: move hardforks into its own libmoneromooo-monero1-7/+0
2019-09-14Merge pull request #5823luigi11111-1/+2
2019-08-19Merge pull request #5721luigi11111-7/+6
2019-08-19blockchain: forbid v1 coinbase from v12moneromooo-monero1-1/+2
2019-08-14Merge pull request #5525luigi11111-2/+2
2019-07-24Merge pull request #5524luigi11111-27/+4
2019-07-03Remove unnecessary m_check_txin_table, fix const correctnessMartijn Otto1-7/+6
2019-05-25core: do not commit half constructed batch db txnmoneromooo-monero1-0/+3
2019-05-09daemon: sort alt chains by heightmoneromooo-monero1-2/+2
2019-05-08blockchain: keep alternative blocks in LMDBmoneromooo-monero1-27/+4
2019-05-02blockchain: keep a rolling long term block weight medianmoneromooo-monero1-6/+7
2019-04-15rpc: fix get_block_hashes.bin from wallet on pruned blockchainmoneromooo-monero1-1/+2
2019-04-11functional_tests: add more blockchain related testsmoneromooo-monero1-3/+17
2019-04-11Merge pull request #5373Riccardo Spagni1-1/+2
2019-04-01Merge pull request #5352Riccardo Spagni1-0/+2
2019-03-30blockchain: fix returned height in create_block_templatemoneromooo-monero1-1/+2
2019-03-28blockchain: simple cache for the long term block weightsmoneromooo-monero1-0/+2
2019-03-24Make difficulty 128 bit instead of 64 bitmoneromooo-monero1-1/+1
2019-03-21Merge pull request #5256Riccardo Spagni1-2/+13
2019-03-08blockchain: speed up getting N blocks weights/long term weightsmoneromooo-monero1-2/+13
2019-03-05Update 2019 copyrightbinaryFate1-1/+1
2019-03-05core: avoid double parsing blocks after hohmoneromooo-monero1-2/+3
2019-03-05Avoid repeated (de)serialization when syncingmoneromooo-monero1-1/+1
2019-03-04ArticMine's new block weight algorithmmoneromooo-monero1-2/+16
2019-01-28blockchain: add --reorg-notifymoneromooo-monero1-1/+9
2019-01-22Pruningmoneromooo-monero1-0/+6
2019-01-16Merge pull request #5015Riccardo Spagni1-1/+1
2019-01-16Merge pull request #4984Riccardo Spagni1-0/+2
2018-12-31Merge pull request #4940luigi11111-0/+5
2018-12-25cryptonote_core: revert extra_tx_mapmoneromooo-monero1-1/+1
2018-12-18blockchain_db: speedup tx output gatheringmoneromooo-monero1-0/+2
2018-12-12Merge pull request #4909Riccardo Spagni1-2/+2
2018-12-05blockchain: call deinit in dtormoneromooo-monero1-0/+5
2018-11-28add command pop_blocksJason Wong1-0/+7
2018-11-27blockchain: avoid unnecessary DB lookups when syncingmoneromooo-monero1-2/+2
2018-11-04blockchain: remove unused output_scan_worker parametermoneromooo-monero1-3/+1
2018-11-01core: avoid unnecessary tx/blob conversionsmoneromooo-monero1-1/+1
2018-10-26Merge pull request #4536Riccardo Spagni1-2/+16
2018-10-26Merge pull request #4408Riccardo Spagni1-0/+5
2018-10-22blocks: use auto-generated .c files instead of 'LD -r -b binary'xiphon1-2/+16
2018-10-08Revert "Merge pull request #4472"Riccardo Spagni1-16/+2
2018-10-04blocks: use auto-generated .c files instead of 'LD -r -b binary'xiphon1-2/+16
2018-09-29Merge pull request #4333Riccardo Spagni1-0/+11
2018-09-20cryptonote_core: warn when the block rate deviates from expectationsmoneromooo-monero1-0/+5
2018-09-14remove obsolete daemon selection of fake outs and old tx constructionmoneromooo-monero1-61/+0
2018-09-11v8: per byte fee, pad bulletproofs, fixed 11 ring sizemoneromooo-monero1-33/+44
2018-08-22Merge pull request #4204luigi11111-3/+6
2018-08-16core: cache block template where possiblemoneromooo-monero1-0/+21
2018-08-12core: sync database based on bytes added, not blocks addedmoneromooo-monero1-3/+6
2018-07-19Merge pull request #3973luigi11111-1/+1
2018-07-19Merge pull request #3854luigi11111-1/+10
2018-06-29add --regtest and --fixed-difficulty for regression testingvictorsintnicolaas1-1/+10
2018-06-26rpc: rework to avoid repeated calculations in get_blocks.binmoneromooo-monero1-1/+1
2018-06-26replace std::list with std::vector on some hot pathsmoneromooo-monero1-8/+8
2018-06-26alt_chain_info can now give more info about a particular alt chainmoneromooo-monero1-1/+1
2018-06-08Merge pull request #3450luigi11111-0/+7
2018-05-30Merge pull request #3731luigi11111-2/+5
2018-05-29Merge pull request #3251luigi11111-3/+6
2018-05-29Merge pull request #3420luigi11111-0/+4
2018-05-23db_lmdb: save pruned and prunable tx data separatelymoneromooo-monero1-3/+6
2018-05-21speed up get_output_distribution (and precalc common case)moneromooo-monero1-2/+3
2018-05-13Use median timestamp if current time renders a block invalid.Thaer Khawaja1-2/+5
2018-04-23speedup get_output_histogram for all amounts when min_count > 0moneromooo-monero1-1/+2
2018-03-21core: add get_earliest_ideal_height_for_version()stoffu1-0/+7
2018-03-19blockchain: cache difficulty for next blockmoneromooo-monero1-0/+4
2018-03-16add RPC to get a histogram of outputs of a given amountmoneromooo-monero1-1/+22
2018-03-14Remove the `Blockchain::get_all_known_block_ids` function.Jean Pierre Dudey1-9/+0
2018-03-05Stagenetstoffu1-5/+5
2018-01-27Merge pull request #3144Riccardo Spagni1-0/+8
2018-01-26Update 2018 copyrightxmr-eric1-1/+1
2018-01-17rpc: expose recent median block size in getinfomoneromooo-monero1-0/+8
2018-01-10Merge pull request #2971Riccardo Spagni1-1/+1
2017-12-20Fix exceptions not finding txpool txes when relayingmoneromooo-monero1-1/+1
2017-12-18cryptonote_core: remove unused functions with off by one bugsmoneromooo-monero1-26/+0
2017-11-30core: make --offline also disable DNS lookupsmoneromooo-monero1-2/+5
2017-11-14rpc: remove obsolete busy core checksmoneromooo-monero1-10/+0
2017-11-08Protect node privacy by proper filtering in restricted-mode RPC answersbinaryFate1-2/+2
2017-10-15Merge pull request #2552Riccardo Spagni1-0/+7
2017-10-15Merge pull request #2469Riccardo Spagni1-0/+2
2017-09-29core: fix failure to sync when a tx is already in the poolmoneromooo-monero1-0/+7
2017-09-25move checkpoints in a separate librarymoneromooo-monero1-1/+1
2017-09-18precomputed block hashes are now in blocks of N (currently 256)moneromooo-monero1-0/+2
2017-09-05Refactor some things into more composable (smaller) functionsThomas Winget1-0/+56
2017-08-31DRY refactoringThomas Winget1-0/+7
2017-08-20Toggle SAFE syncmode on and off automaticallyHoward Chu1-0/+7
2017-08-15protocol: pass blockchain cumulative difficulty when syncingmoneromooo-monero1-0/+10
2017-08-15Merge pull request #2246Riccardo Spagni1-3/+1
2017-08-09protocol: add checks for top block hard fork versionmoneromooo-monero1-0/+9
2017-08-07Merge pull request #2225Riccardo Spagni1-0/+3
2017-08-03blockchain: remove a few unused variablesmoneromooo-monero1-3/+1
2017-07-30blockchain: skip checking tx semantics in embedded block hash rangemoneromooo-monero1-0/+3
2017-07-27blockchain: ensure all blocks get their longhash precalculatedmoneromooo-monero1-1/+1
2017-06-23Fix mismatch of parameter name between header file and implementation for set...Julien Klepatch1-3/+2
2017-06-11blockchain_db: add a txpool tx getter which returns existencemoneromooo-monero1-0/+1
2017-06-01Don't copy blockchain for coinbase_tx_sumHoward Chu1-2/+4
2017-05-30Merge pull request #1982Riccardo Spagni1-1/+12
2017-05-25Move txpool to the databasemoneromooo-monero1-1/+12
2017-04-19Add expected total reward to RPC "getblocktemplate".assylias1-1/+2
2017-03-18Removed boost/asio.hpp include from epee/string_tools.hLee Clagett1-0/+1
2017-03-15Add intervening v5 fork for increased min block sizemoneromooo-monero1-1/+2
2017-03-10fix dependency: put HardFork back to cryptonote_basic, made some BlockchainDB...kenshi841-1/+1
2017-02-25core: move hardfork back to cryptonote_coremoneromooo-monero1-1/+1
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni1-1/+1
2017-02-13blockchain_db: add "raw" blobdata getters for block and transactionmoneromooo-monero1-4/+5
2017-02-08extract some basic code from libcryptonote_core into libcryptonote_basickenshi841-6/+6
2017-01-22Remove boost/foreach.cpp includesMiguel Herranz1-1/+0
2017-01-22rpc: fix orphan_status when getting blocksmoneromooo-monero1-1/+2
2016-12-17rpc: new function and RPC to get alternative chain infomoneromooo-monero1-0/+7
2016-12-04Fix delayed exit when syncingmoneromooo-monero1-0/+5
2016-11-22Add a get_outs (fully text based) version of get_outs.binmoneromooo-monero1-1/+1
2016-10-31rpc: add a dynamic fee estimation RPC callmoneromooo-monero1-0/+14
2016-10-31core: dynamic fee algorithm from ArticMinemoneromooo-monero1-0/+27
2016-10-15wallet: select part of the fake outs from recent outputsmoneromooo-monero1-1/+2
2016-08-28rct: rework the verification preparation processmoneromooo-monero1-2/+13
2016-08-28add rct to the protocolmoneromooo-monero1-4/+8
2016-08-28core: new /getrandom_rctouts.bin binary RPC callmoneromooo-monero1-0/+25
2016-08-12daemon: print time to next forkmoneromooo-monero1-0/+7
2016-08-11Fake outs set is now decided by the walletmoneromooo-monero1-0/+15
2016-08-01new unlocked parameter to output_histogrammoneromooo-monero1-1/+2
2016-04-06blockchain: remove the tx validation result cachemoneromooo-monero1-1/+0
2016-04-02Merge pull request #767Riccardo Spagni1-3/+6
2016-03-27Merge pull request #765Riccardo Spagni1-0/+9
2016-03-27Convey tx verification failure reasons to the RPC clientmoneromooo-monero1-3/+6
2016-03-26New RPC and daemon command to get output histogrammoneromooo-monero1-0/+9
2016-03-25blockchain: for v3, require miner tx to have well behaved outsmoneromooo-monero1-1/+2
2016-03-25Merge pull request #749Riccardo Spagni1-15/+875
2016-03-25Revert "Merge pull request #749"Riccardo Spagni1-875/+15
2016-03-22Remove unnecessary or defunct codeThomas Winget1-21/+0
2016-03-22Updated documentation for blockchain.*Thomas Winget1-9/+890
2016-02-08core_tests: add tests for hard fork behaviors (MRL-0004)moneromooo-monero1-2/+3
2016-02-08Blockchain: Optionally pass in HardFork objectwarptangent1-0/+1
2016-02-02minor bugfixes and refactoringThomas Winget1-0/+11
2016-01-30new flush_txpool command, and associated RPC callmoneromooo-monero1-0/+2
2015-12-31updated copyright yearRiccardo Spagni1-1/+1
2015-12-26blockchain: remove obsolete containersmoneromooo-monero1-3/+0
2015-12-25blockchain: fix a few block addition bugsmoneromooo-monero1-0/+1
2015-12-25blockchain: fix bitflipping test with quantized block rewardsmoneromooo-monero1-1/+1
2015-12-19Allow the wallet to access hard fork informationmoneromooo-monero1-1/+1
2015-12-15Replace tabs with two spaces for consistency with rest of codebasewarptangent1-32/+32
2015-12-13add a --fakechain argument for testsmoneromooo-monero1-1/+1
2015-11-13More changes for 2-min blocksJavier Smooth1-0/+2
2015-10-27Remove some old/obsolete/unused codemoneromooo-monero1-15/+0
2015-10-25Add functions to iterate through blocks, txes, outputs, key imagesmoneromooo-monero1-0/+5
2015-10-11from hard fork 2, all outputs must be decomposedmoneromooo-monero1-0/+1
2015-09-20hardfork: most state now saved to the DBmoneromooo-monero1-3/+3
2015-09-19Add an RPC call and daemon command to get info on hard fork votingmoneromooo-monero1-0/+3
2015-09-19core: add consts where appropriatemoneromooo-monero1-3/+3
2015-09-13core: moan when we think an update is needed to get latest hard fork infomoneromooo-monero1-0/+2
2015-09-12blockchain: use the new hardfork classmoneromooo-monero1-2/+5
2015-09-12blockchain: add a couple missing includesmoneromooo-monero1-0/+2
2015-08-11blockchain: remove dead codemoneromooo-monero1-3/+0
2015-07-15Removed on_idle() calls to Blockchain::store_blockchain() for lmdb.NoodleDoodleNoodleDoodleNoodleDoodleNoo1-0/+1
2015-07-15** CHANGES ARE EXPERIMENTAL (FOR TESTING ONLY)NoodleDoodleNoodleDoodleNoodleDoodleNoo1-8/+56
2015-05-31cleaning up, removing redundant files, renaming, fixing incorrect licensesRiccardo Spagni1-1/+1
2015-03-25Steps toward multiple dbs available -- workingThomas Winget1-3/+1
2015-03-22Update Blockchain::get_db() to return reference instead of pointerwarptangent1-2/+2
2015-03-16Add support for database open with flagswarptangent1-1/+1
2015-03-15Blockchain: add get_db() accessor, needed for blockchain_importwarptangent1-0/+5
2015-03-06Moved BlockchainDB into its own src/ subfolderThomas Winget1-1/+1
2015-02-23Blockchain: match original function declaration from blockchain_storagewarptangent1-1/+1
2015-01-04blockchain: add consts where appropriatemoneromooo-monero1-41/+41
2015-01-04add new checkpointing behavior to Blockchain classThomas Winget1-2/+4
2015-01-04Integrate BlockchainDB into cryptonote_coreThomas Winget1-3/+7
2015-01-04update new blockchain to build with new changesThomas Winget1-4/+3
2015-01-04import of BlockchainDB filesThomas Winget1-0/+221