aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/blockchain.cpp (follow)
AgeCommit message (Expand)AuthorFilesLines
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-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
2018-03-05Merge pull request #3277Riccardo Spagni1-20/+39
2018-03-05Correct spelling mistakes.Edward Betts1-2/+2
2018-03-05Stagenetstoffu1-20/+39
2018-02-23blockchain: fix random sync failuresmoneromooo-monero1-1/+4
2018-02-16Merge pull request #3226Riccardo Spagni1-1/+6
2018-02-16Merge pull request #3248Riccardo Spagni1-0/+4
2018-02-10blockchain: don't try to use hash check array after it's freedmoneromooo-monero1-0/+4
2018-02-02blockchain: sanity check number of precomputed hash of hash blocksmoneromooo-monero1-1/+6
2018-01-31blockchain: move bulletproofs to v8moneromooo-monero1-4/+5
2018-01-27Merge pull request #3144Riccardo Spagni1-1/+8
2018-01-26Update 2018 copyrightxmr-eric1-1/+1
2018-01-25Merge pull request #3014Riccardo Spagni1-1/+1
2018-01-17rpc: expose recent median block size in getinfomoneromooo-monero1-1/+8
2018-01-10blockchain: remove minor floating point usagemoneromooo-monero1-1/+1
2018-01-10Merge pull request #2971Riccardo Spagni1-2/+2
2017-12-20Fix exceptions not finding txpool txes when relayingmoneromooo-monero1-2/+2
2017-12-18cryptonote_core: remove unused functions with off by one bugsmoneromooo-monero1-43/+0
2017-12-18blockchain: don't leave dangling pointers in thismoneromooo-monero1-0/+2
2017-12-18cryptonote_core: fix db leak on errormoneromooo-monero1-0/+1
2017-12-18check accessing an element past the end of a containermoneromooo-monero1-4/+6
2017-12-18fix a few leaks by throwing objects, not newed pointers to objectsmoneromooo-monero1-1/+1
2017-12-16Merge pull request #2878Riccardo Spagni1-5/+6
2017-12-08add bulletproofs from v7 on testnetmoneromooo-monero1-9/+26
2017-11-30core: make --offline also disable DNS lookupsmoneromooo-monero1-5/+6
2017-11-14remove "using namespace std" from headersmoneromooo-monero1-0/+2
2017-11-14Merge pull request #2615Riccardo Spagni1-4/+4
2017-11-08Protect node privacy by proper filtering in restricted-mode RPC answersbinaryFate1-4/+4
2017-11-06track double spending in the txpoolmoneromooo-monero1-6/+6
2017-10-30blockchain: do not lock the blockchain lock for simple DB gettersmoneromooo-monero1-7/+28
2017-10-15Merge pull request #2656Riccardo Spagni1-3/+3
2017-10-15remove reference to cryptonote::null_hashJaquee1-3/+3
2017-10-15Merge pull request #2640Riccardo Spagni1-2/+12
2017-10-15Merge pull request #2552Riccardo Spagni1-9/+18
2017-10-15Merge pull request #2469Riccardo Spagni1-9/+119
2017-10-12blockchain: avoid exceptions in output verificationmoneromooo-monero1-2/+12
2017-10-06Merge pull request #2537Riccardo Spagni1-2/+2
2017-09-29core: fix failure to sync when a tx is already in the poolmoneromooo-monero1-9/+18
2017-09-27core: remove out sorting from v7 rulesmoneromooo-monero1-20/+0
2017-09-27blockchain: fix off by one getting blocksmoneromooo-monero1-2/+2
2017-09-25move checkpoints in a separate librarymoneromooo-monero1-1/+0
2017-09-25Merge pull request #2457Riccardo Spagni1-1/+10
2017-09-25Merge pull request #2440Riccardo Spagni1-0/+39
2017-09-20blockchain: fix crash checking pre-validated txidsmoneromooo-monero1-2/+2
2017-09-18precomputed block hashes are now in blocks of N (currently 256)moneromooo-monero1-9/+119
2017-09-18Merge pull request #2446Riccardo Spagni1-56/+16
2017-09-18Merge pull request #2044Riccardo Spagni1-74/+129
2017-09-18blockchain: reject unsorted ins and outs from v7moneromooo-monero1-0/+39
2017-09-17Use actual batch size for resize estimatesHoward Chu1-1/+10
2017-09-14Use a threadpoolHoward Chu1-56/+16
2017-09-06update checkpoint hashesRiccardo Spagni1-1/+1
2017-09-05json serialization for rpc-relevant monero typesThomas Winget1-1/+1
2017-09-05Refactor some things into more composable (smaller) functionsThomas Winget1-73/+123
2017-08-31DRY refactoringThomas Winget1-1/+6
2017-08-29Fix blockchain_import wedge on exception in cleanup_handle_incoming_blocksmoneromooo-monero1-3/+14
2017-08-27Merge pull request #2347Riccardo Spagni1-2/+7
2017-08-26Merge pull request #2314Riccardo Spagni1-1/+18
2017-08-26blockchain: cap memory size of retrieved blocksmoneromooo-monero1-2/+7
2017-08-20Toggle SAFE syncmode on and off automaticallyHoward Chu1-1/+18
2017-08-18core: add mainnet v6 fork height at 1400000moneromooo-monero1-0/+3
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