aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/blockchain.cpp (follow)
AgeCommit message (Expand)AuthorFilesLines
2017-09-06update checkpoint hashesRiccardo Spagni1-1/+1
2017-08-29Fix blockchain_import wedge on exception in cleanup_handle_incoming_blocksmoneromooo-monero1-3/+14
2017-08-26Merge pull request #2319Riccardo Spagni1-1/+18
2017-08-26blockchain: cap memory size of retrieved blocksmoneromooo-monero1-2/+7
2017-08-23core: add mainnet v6 fork height at 1400000moneromooo-monero1-0/+3
2017-08-20Toggle SAFE syncmode on and off automaticallyHoward Chu1-1/+18
2017-08-15protocol: pass blockchain cumulative difficulty when syncingmoneromooo-monero1-0/+1
2017-08-15Merge pull request #2250Riccardo Spagni1-1/+3
2017-08-15Merge pull request #2246Riccardo Spagni1-11/+3
2017-08-15Merge pull request #2237Riccardo Spagni1-8/+8
2017-08-07change mixin to ring size in user visible placesmoneromooo-monero1-6/+6
2017-08-07Merge pull request #2225Riccardo Spagni1-0/+9
2017-08-07Merge pull request #2243Riccardo Spagni1-0/+2
2017-08-07Merge pull request #2222Riccardo Spagni1-1/+2
2017-08-07Merge pull request #2216Riccardo Spagni1-6/+6
2017-08-07blockchain: add testnet v6 fork height at 971400moneromooo-monero1-0/+2
2017-08-04blockchain: log more info when we reject an orphanmoneromooo-monero1-1/+3
2017-08-03blockchain: remove a few unused variablesmoneromooo-monero1-11/+3
2017-08-01core: speed up output index unique set calculationmoneromooo-monero1-8/+8
2017-07-30blockchain: skip checking tx semantics in embedded block hash rangemoneromooo-monero1-0/+9
2017-07-29core: fix lock ordering bug at init timemoneromooo-monero1-1/+2
2017-07-28blockchain: fix cryptonight buffer leak on exitmoneromooo-monero1-1/+1
2017-07-27blockchain: ensure all blocks get their longhash precalculatedmoneromooo-monero1-1/+3
2017-07-27blockchain: pass correct height to get_block_longhashmoneromooo-monero1-4/+2
2017-07-24blockchain: one off warning when seeing a block with unknown versionmoneromooo-monero1-0/+14
2017-06-11blockchain_db: add a txpool tx getter which returns existencemoneromooo-monero1-0/+5
2017-06-01Don't copy blockchain for coinbase_tx_sumHoward Chu1-2/+2
2017-05-30Merge pull request #1982Riccardo Spagni1-3/+71
2017-05-25Move txpool to the databasemoneromooo-monero1-3/+71
2017-04-24Merge pull request #1968Riccardo Spagni1-1/+3
2017-04-19Add expected total reward to RPC "getblocktemplate".assylias1-2/+2
2017-04-12Fix block_longhash_worker threadhyc1-1/+3
2017-03-24Fixed typo in v5 hard fork finalized dateDerek Zhang1-1/+1
2017-03-24blockchain: offset v5 addition date on testnetmoneromooo-monero1-1/+1
2017-03-20blockchain: lower the relay fee by 2%moneromooo-monero1-1/+1
2017-03-15Add intervening v5 fork for increased min block sizemoneromooo-monero1-14/+19
2017-03-05blockchain: don't try to load an empty block hash setmoneromooo-monero1-1/+1
2017-03-03core: quantize per kB fee to 8 decimalsmoneromooo-monero1-1/+19
2017-02-23core: protect precomputed block hashes with SHA256moneromooo-monero1-1/+28
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni1-1/+1
2017-02-21Merge pull request #1727Riccardo Spagni1-22/+69
2017-02-21Merge pull request #1724Riccardo Spagni1-1/+1
2017-02-18Add a few read txns to streamlineHoward Chu1-0/+4
2017-02-13blockchain_db: add "raw" blobdata getters for block and transactionmoneromooo-monero1-22/+69
2017-02-13blockchain_db: do not throw on expected partial results getting keysmoneromooo-monero1-1/+1
2017-02-08extract some basic code from libcryptonote_core into libcryptonote_basickenshi841-6/+5
2017-01-22Replace BOOST_REVERSE_FOREACH with ranged forMiguel Herranz1-1/+2
2017-01-22rpc: fix orphan_status when getting blocksmoneromooo-monero1-1/+5
2017-01-16Change logging to easylogging++moneromooo-monero1-128/+132
2017-01-15Merge pull request #1577Riccardo Spagni1-0/+8
2017-01-15Merge pull request #1576Riccardo Spagni1-6/+3
2017-01-15Merge pull request #1571Riccardo Spagni1-8/+8
2017-01-15Merge pull request #1565Riccardo Spagni1-0/+2
2017-01-15Merge pull request #1506Riccardo Spagni1-2/+12
2017-01-14Must wait for previous batch to finish before starting new oneHoward Chu1-1/+6
2017-01-14Use batch transactions when syncingHoward Chu1-2/+7
2017-01-14core: check block version for alt chains toomoneromooo-monero1-0/+8
2017-01-14rct: split rct checks between semantics and othermoneromooo-monero1-6/+3
2017-01-14fix do_not_relay not preventing relaying on a timermoneromooo-monero1-8/+8
2017-01-13core: ensure block size limit is set from the startmoneromooo-monero1-0/+2
2017-01-13Merge pull request #1555Riccardo Spagni1-3/+6
2017-01-10fix time stats mixinluigi11111-3/+6
2017-01-09wallet cli: print originating block heights of mixin keys when making transferkenshi841-1/+1
2017-01-08Merge pull request #1534Riccardo Spagni1-1/+1
2017-01-08Merge pull request #1502Riccardo Spagni1-0/+1
2017-01-08Merge pull request #1493Riccardo Spagni1-5/+5
2017-01-07blockchain: allow marking "tx not found" without an exceptionmoneromooo-monero1-5/+5
2017-01-07tx_pool: better block template filling algorithmmoneromooo-monero1-1/+1
2016-12-25core: invalidate difficulty cache when resetting blockchainmoneromooo-monero1-0/+1
2016-12-21add tx hash to time statsluigi11111-2/+5
2016-12-20Merge pull request #1467Riccardo Spagni1-0/+32
2016-12-20also use portable serializer for boost_serialization_helper.h and net_node.in...kenshi841-2/+0
2016-12-17rpc: new function and RPC to get alternative chain infomoneromooo-monero1-0/+32
2016-12-13blockchain: fix reorganizations past a hard fork boundarymoneromooo-monero1-0/+3
2016-12-10Merge pull request #1418Riccardo Spagni1-4/+4
2016-12-08blockchain: fix setting non trovial alternate chain as invalidmoneromooo-monero1-4/+4
2016-12-06blockchain: bring the v4 fork height one block forwardluigi11111-3/+3
2016-12-04Merge pull request #1398Riccardo Spagni1-3/+3
2016-12-04Merge pull request #1397Riccardo Spagni1-1/+20
2016-12-04Merge pull request #1392Riccardo Spagni1-1/+7
2016-12-04Fix a few minor typosPierre Boyer1-3/+3
2016-12-04Fix delayed exit when syncingmoneromooo-monero1-1/+20
2016-12-01blockchain: use high bound block reward on error where appropriatemoneromooo-monero1-1/+7
2016-11-28blockchain: reject invalid pubkeys from v4moneromooo-monero1-0/+13
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/+30
2016-10-31core: dynamic fee algorithm from ArticMinemoneromooo-monero1-0/+52
2016-10-15wallet: select part of the fake outs from recent outputsmoneromooo-monero1-2/+2
2016-10-10Add performance timers for ringct tx verificationmoneromooo-monero1-0/+3
2016-10-04Merge pull request #1177Riccardo Spagni1-1/+1
2016-10-04Merge pull request #1123Riccardo Spagni1-8/+0
2016-10-03blockchain: avoid using a reference to a temporarymoneromooo-monero1-1/+1
2016-10-03Moved logging to target functions rather than callerNanoAkron1-6/+8
2016-09-24blockchain: do not reject chain histories matching only genesismoneromooo-monero1-8/+0
2016-09-18fix v5 heightRiccardo Spagni1-1/+1
2016-09-18fix v5 fork date descriptionRiccardo Spagni1-1/+1
2016-09-18updated fork heights for v4 and v5Riccardo Spagni1-0/+7
2016-09-15compile errors fixed when PER_BLOCK_CHECKPOINT not definedrckngOpossum1-1/+3
2016-09-15compile errors fixed when DEBUG_CREATE_BLOCK_TEMPLATE definedrckngOpossum1-1/+1
2016-09-01Merge pull request #1022Riccardo Spagni1-1/+1
2016-08-31core: faster find_blockchain_supplementmoneromooo-monero1-6/+2
2016-08-31Remove blocks_per_sync limitsHoward Chu1-1/+1
2016-08-29core: allow empty global indices for txes with empty voutmoneromooo-monero1-1/+6
2016-08-28blockchain: testnet heights for v3, v4, and v5moneromooo-monero1-0/+4
2016-08-28wallet: transfer_selected_rct now also selects fake outsmoneromooo-monero1-2/+2
2016-08-28increase minimum mixin to 4 on hard fork 5moneromooo-monero1-2/+3
2016-08-28core: allow v1 txes after HF 5 when sweeping unmixable outputsmoneromooo-monero1-1/+19
2016-08-28New "Halfway RingCT" outputs for coinbase transactionsmoneromooo-monero1-14/+10
2016-08-28rct: rework v2 txes into prunable and non prunable datamoneromooo-monero1-9/+15
2016-08-28rct: rework the verification preparation processmoneromooo-monero1-126/+96
2016-08-28rct: change the simple flag to a typemoneromooo-monero1-3/+9
2016-08-28rct: avoid the need for the last II elementShen Noether1-8/+6
2016-08-28core: add some locking around pool usemoneromooo-monero1-1/+3
2016-08-28change fork settings to allow pre-rct txes for one more fork cyclemoneromooo-monero1-1/+1
2016-08-28rct: do not serialize public keys in outPkmoneromooo-monero1-4/+31
2016-08-28integrate simple rct apimoneromooo-monero1-57/+155
2016-08-28mixable transactions must be rct for v3moneromooo-monero1-6/+28
2016-08-28move the rct commitments to the output_amounts databasemoneromooo-monero1-23/+2
2016-08-28ringct: do not serialize what can be reconstructedmoneromooo-monero1-20/+67
2016-08-28Use the supplied hard fork version in validate_miner_transactionmoneromooo-monero1-1/+1
2016-08-28add rct to the protocolmoneromooo-monero1-67/+212
2016-08-28core: new /getrandom_rctouts.bin binary RPC callmoneromooo-monero1-0/+98
2016-08-11Fake outs set is now decided by the walletmoneromooo-monero1-0/+19
2016-08-01new unlocked parameter to output_histogrammoneromooo-monero1-2/+2
2016-04-29Merge branch 'performance' of https://github.com/LMDB/bitmoneroRiccardo Spagni1-2/+3
2016-04-28add a --max-concurrency flagmoneromooo-monero1-3/+3
2016-04-17blockchain: add missing overflow check for already generated coinsmoneromooo-monero1-1/+5
2016-04-17blockchain: update cumulative block limit when popping a blockmoneromooo-monero1-0/+1
2016-04-14Merge pull request #784Riccardo Spagni1-0/+1
2016-04-06blockchain: remove the tx validation result cachemoneromooo-monero1-18/+0
2016-04-05Merge branch 'performance' into masterHoward Chu1-2/+3
2016-04-05Schema update: tx_indices - improve further with less indirectionwarptangent1-2/+3
2016-04-02Fix potential race with parallel processing of txes/signatures/blocksmoneromooo-monero1-0/+1
2016-04-02Merge pull request #767Riccardo Spagni1-5/+10
2016-03-27Merge pull request #765Riccardo Spagni1-0/+5
2016-03-27Convey tx verification failure reasons to the RPC clientmoneromooo-monero1-5/+10
2016-03-26New RPC and daemon command to get output histogrammoneromooo-monero1-0/+5
2016-03-25blockchain: for v3, require miner tx to have well behaved outsmoneromooo-monero1-2/+11
2016-03-25Merge pull request #749Riccardo Spagni1-10/+39
2016-03-25Revert "Merge pull request #749"Riccardo Spagni1-39/+10
2016-03-25Merge pull request #749Riccardo Spagni1-10/+39
2016-03-24Move checkpoint functions into checkpoints classThomas Winget1-5/+5
2016-03-22Remove unnecessary or defunct codeThomas Winget1-1/+0
2016-03-22Updated documentation for blockchain.*Thomas Winget1-5/+35
2016-03-22blockchain: fix partial block reward detectionmoneromooo-monero1-1/+1
2016-03-21also maybe do the block height this time, you know, just so that it actually ...Riccardo Spagni1-1/+1
2016-03-21also update the timestamp for the hard forkRiccardo Spagni1-1/+1
2016-03-21set fork date for September, add hyc's GPG key, remove aabramov'sRiccardo Spagni1-0/+3
2016-03-19Fix issue #706Howard Chu1-0/+1
2016-03-11Use boost::thread instead of std::threadHoward Chu1-3/+3
2016-03-03Blockchain: Omit verbose time stats messages by defaultwarptangent1-1/+1
2016-02-23Wrap some more actions in a larger read txnHoward Chu1-11/+25
2016-02-23read txn/cursor stuffHoward Chu1-0/+9
2016-02-08blockchain: initialize m_hardfork to NULLmoneromooo-monero1-1/+1
2016-02-08core_tests: add tests for hard fork behaviors (MRL-0004)moneromooo-monero1-5/+15
2016-02-08blockchain: reset hardfork object when resetting blockchainmoneromooo-monero1-0/+1
2016-02-08Blockchain: Update comments on removing blockwarptangent1-0/+5
2016-02-08Move HardFork DB update to BlockchainDB::add_block()warptangent1-3/+0
2016-02-08Make HardFork object available to BlockchainDB and derived DB implementationswarptangent1-0/+2
2016-02-08Blockchain: Optionally pass in HardFork objectwarptangent1-4/+20
2016-02-03blockchain: revert handle_get_objects adding block id on tx not foundmoneromooo-monero1-1/+0
2016-02-02minor bugfixes and refactoringThomas Winget1-56/+77
2016-01-31Merge pull request #634Riccardo Spagni1-0/+1
2016-01-31Merge pull request #631Riccardo Spagni1-2/+1
2016-01-31blockchain: log number of outputs available for a new txmoneromooo-monero1-0/+1
2016-01-30blockchain: remove unused timermoneromooo-monero1-1/+0
2016-01-30blockchain: fix m_sync_counter uninitialized variable usemoneromooo-monero1-1/+1
2016-01-30new flush_txpool command, and associated RPC callmoneromooo-monero1-0/+19
2016-01-29Fix V1/V2 use of hard fork related parametersmoneromooo-monero1-6/+13
2015-12-31updated copyright yearRiccardo Spagni1-1/+1
2015-12-30blockchain: kill ioservice on scope end, rather than manuallymoneromooo-monero1-6/+7
2015-12-30Merge pull request #572Riccardo Spagni1-0/+2
2015-12-28blockchain: always stop the ioservice before returningmoneromooo-monero1-0/+2
2015-12-26blockchain: remove obsolete containersmoneromooo-monero1-5/+1
2015-12-26blockchain: Fix height in call to on_blockchain_decmoneromooo-monero1-1/+1
2015-12-25blockchain: fix a few block addition bugsmoneromooo-monero1-34/+45
2015-12-25blockchain: fix an off by one error in unlocked time checkmoneromooo-monero1-1/+1
2015-12-25blockchain: reinstate double spending checks in check_tx_inputsmoneromooo-monero1-3/+7
2015-12-25blockchain: make some flag twiddling code closer to the originalmoneromooo-monero1-2/+2
2015-12-25blockchain: fix bitflipping test with quantized block rewardsmoneromooo-monero1-1/+4
2015-12-25blockchain: add missing m_tx_pool.on_blockchain_decmoneromooo-monero1-0/+1
2015-12-25blockchain: fix switch to alternative blockchain for more than one blockmoneromooo-monero1-1/+1
2015-12-25blockchain: add a missing validity check to rollback_blockchain_switchingmoneromooo-monero1-0/+6
2015-12-25core: catch exceptions from get_output_keymoneromooo-monero1-2/+18
2015-12-25db: throw when given a non txout_to_key output to addmoneromooo-monero1-0/+5
2015-12-19Allow the wallet to access hard fork informationmoneromooo-monero1-2/+2
2015-12-19Add missing semicolons after log statementsmoneromooo-monero1-3/+3
2015-12-17replace std::auto_ptr with std::unique_ptrmoneromooo-monero1-1/+1
2015-12-15Fix typowarptangent1-1/+1
2015-12-15blockchain.cpp: Change indentation from 4 to 2 spaceswarptangent1-2255/+2253
2015-12-15Replace tabs with two spaces for consistency with rest of codebasewarptangent1-75/+75
2015-12-14Tone down a bit L0 logs during daemon syncmoneromooo-monero1-1/+1
2015-12-13add a --fakechain argument for testsmoneromooo-monero1-4/+7
2015-12-13blockchain: log block (not chain) height in "BLOCK SUCCESFULLY ADDED"moneromooo-monero1-1/+1
2015-12-13blockchain: fix off by one in get_blocksmoneromooo-monero1-1/+1
2015-12-06blockchain_db: fixup missing key images in early DB versionmoneromooo-monero1-0/+3
2015-11-24hardfork: fix more major/minor issuesmoneromooo-monero1-2/+2
2015-11-23blockchain: log versions as numbers, not charactersmoneromooo-monero1-1/+1
2015-11-22fixed testnet fork point, added comment data back inRiccardo Spagni1-3/+3
2015-11-21update v2 testnet fork heightRiccardo Spagni1-3/+6