aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db (follow)
AgeCommit message (Expand)AuthorFilesLines
2024-07-16Merge pull request #9338luigi11117-7/+7
2024-07-16Merge pull request #9289luigi11111-558/+12
2024-05-21copyright: bump to 2024copyCat7-7/+7
2024-04-11BlockchainDB: shorter fixup()jeffro2561-558/+12
2024-04-11BlockchainDB: remove lock/unlock methodsjeffro2564-57/+0
2023-10-25Merge pull request #8958luigi11114-0/+70
2023-08-01blockchain_db: add k-anonymity to txid fetchingjeffro2564-0/+70
2023-06-21blockchain_db: add clarification to get_block_already_generated_coinsjeffro2561-1/+1
2023-01-16Copyright: Update to 2023mj-xmr7-7/+7
2022-08-22Merge pull request #8379luigi11112-47/+55
2022-07-20Fix use of rtxn without a mdb_txn_safe wrapperHoward Chu2-47/+55
2022-06-03Remove check is_directory check on lmdb pathHoward Chu1-8/+2
2022-06-03Revert "db_lmdb: test for mmap support at init time"Howard Chu2-31/+0
2022-04-21Preserve commitment format inside transactionsLuke Parker1-8/+1
2022-04-18Add view tags to outputs to reduce wallet scanning timej-berman1-3/+4
2022-04-06CMake: Add missing headers via monero_find_all_headers macromj-xmr1-4/+1
2022-04-06Merge pull request #8197luigi11117-7/+7
2022-04-05store outPk/8 in the tx for speedmoneromooo-monero1-1/+8
2022-03-04Copyright: Update to 2022mj-xmr7-7/+7
2021-10-17Merge pull request #7859luigi11111-5/+5
2021-09-22LMDB: fix deadlock in resized detectionHoward Chu2-3/+13
2021-09-08LMDB: protection against UB, by not calling virtual methods from destructormj-xmr1-5/+5
2021-06-24Merge pull request #7634luigi11111-1/+2
2021-03-25db_lmdb: catch exceptions testing for mmap supportmoneromooo-monero1-1/+2
2021-03-24blockchain_db: harden code against invalid input typesmoneromooo-monero1-9/+2
2021-02-18Merge pull request #7355luigi11111-1/+1
2021-02-09Remove unused variables in monero codebaseKevin Barbour1-11/+4
2021-01-28Remove copies from foreach loops (thanks to Clang)Lee Clagett1-1/+1
2020-12-29rpc: limit the number of txes for get_blocks.binmoneromooo-monero4-8/+16
2020-12-06db_lmdb: move spammy "not found in db" message to TRACEmoneromooo-monero1-2/+2
2020-08-17Avoid some temporary strings when reading off the databasemoneromooo-monero5-44/+40
2020-08-09Merge pull request #6354Alexander Blair2-13/+35
2020-07-19Merge pull request #6565Alexander Blair1-1/+1
2020-07-19Merge pull request #6557Alexander Blair1-2/+2
2020-07-19Merge pull request #6536Alexander Blair2-0/+30
2020-07-19Merge pull request #6534Alexander Blair4-0/+51
2020-06-09daemon: guard against rare 'difficulty drift' bug with checkpoints and recalc...stoffu4-0/+51
2020-05-19fix a few typos in error messagesmoneromooo-monero1-1/+1
2020-05-18testdb: add override in a couple places where it's missingmoneromooo-monero1-2/+2
2020-05-16db_lmdb: test for mmap support at init timemoneromooo-monero2-0/+30
2020-05-15Add randomized delay when forwarding txes from i2p/tor -> ipv4/6Lee Clagett2-13/+35
2020-05-06Update copyright year to 2020SomaticFanatic7-7/+7
2020-03-26Adding Dandelion++ support to public networks:Lee Clagett2-5/+29
2020-04-10Merge pull request #6358luigi11114-0/+119
2020-04-04Merge pull request #6384luigi11111-0/+1
2020-04-04Merge pull request #6339luigi11111-2/+2
2020-03-12core: move the LockedTXN class out of txpool so it may be reusedmoneromooo-monero1-0/+53
2020-03-12db_lmdb: fix race crash using a stale cursormoneromooo-monero1-0/+1
2020-02-27blockchain_db: faster fetching of consecutive txesmoneromooo-monero4-0/+119
2020-02-17remove empty statementsInterchained1-2/+2
2020-01-25Merge pull request #6140Alexander Blair4-0/+60
2020-01-24Merge pull request #6157Alexander Blair1-1/+9
2019-11-19db_lmdb: guard against non NUL terminated keysmoneromooo-monero1-1/+9
2019-11-15blockchain: speedup fetching pruned contiguous tx blobsmoneromooo-monero4-0/+60
2019-11-04Change to Tx diffusion (Dandelion++ fluff) instead of floodingLee Clagett2-4/+4
2019-11-02Adding support for hidden (anonymity) txpoolLee Clagett5-30/+171
2019-10-17db_lmdb: an empty prunable data record means the tx is not prunedmoneromooo-monero1-2/+0
2019-10-08Merge pull request #5915luigi11112-3/+6
2019-09-27monerod can now sync from pruned blocksmoneromooo-monero2-3/+6
2019-09-24Merge pull request #5878luigi11116-2852/+3
2019-09-16Removed Berkeley DB and db switching logicJesus Ramirez6-2852/+3
2019-09-04db_lmdb: print percentages as percentages, not ratiosmoneromooo-monero1-1/+1
2019-08-18Increase max_dbs from 20 to 32Howard Chu1-1/+1
2019-07-24Merge pull request #5524luigi11114-1/+239
2019-07-24Merge pull request #5502luigi11111-1/+1
2019-06-15db_lmdb: commit pruning txn at checkpointsmoneromooo-monero1-1/+50
2019-06-14ensure no NULL is passed to memcpymoneromooo-monero1-2/+2
2019-05-25core: do not commit half constructed batch db txnmoneromooo-monero2-0/+16
2019-05-08blockchain: keep alternative blocks in LMDBmoneromooo-monero4-1/+239
2019-05-01fix wide difficulty conversion with some versions of boostmoneromooo-monero1-2/+2
2019-04-29add a few checks where it seems appropriatemoneromooo-monero1-1/+1
2019-04-17testdb: add override keyword where missingstoffu3-132/+100
2019-04-14blockchain_db: fix db txn ending too earlymoneromooo-monero5-58/+98
2019-04-05cryptonote: rework block blob size sanity checkmoneromooo-monero4-0/+72
2019-03-24Make difficulty 128 bit instead of 64 bitmoneromooo-monero2-7/+155
2019-03-21Merge pull request #5256Riccardo Spagni4-0/+94
2019-03-08blockchain: speed up getting N blocks weights/long term weightsmoneromooo-monero4-0/+94
2019-03-05Update 2019 copyrightbinaryFate9-9/+9
2019-03-05Merge pull request #5119Riccardo Spagni1-5/+5
2019-03-05db_lmdb: make mdb_block_info format conversion more future proofmoneromooo-monero1-5/+5
2019-03-05save some database calls when getting top block hash and heightmoneromooo-monero4-4/+8
2019-03-05Avoid repeated (de)serialization when syncingmoneromooo-monero5-22/+27
2019-03-05db: speedup block additionmoneromooo-monero1-11/+16
2019-03-04Merge pull request #5081Riccardo Spagni1-3/+3
2019-03-04Merge pull request #5175Riccardo Spagni1-0/+1
2019-03-04ArticMine's new block weight algorithmmoneromooo-monero5-8/+384
2019-02-21db_lmdb: fix missing mdb_dbi_close in migrationmoneromooo-monero1-0/+1
2019-01-22Pruningmoneromooo-monero4-25/+491
2019-01-19db_lmdb: don't unnecessarily cast to double on the way to uint64_tmoneromooo-monero1-3/+3
2019-01-16blockchain_db: allow getting output keys without commitmentmoneromooo-monero3-4/+5
2019-01-16Merge pull request #4984Riccardo Spagni3-23/+30
2019-01-07Make get_output_key method constmoneroexamples4-8/+8
2018-12-31Merge pull request #4946luigi11115-96/+13
2018-12-18blockchain_db: speedup tx output gatheringmoneromooo-monero3-23/+30
2018-12-12Merge pull request #4901Riccardo Spagni3-4/+75
2018-12-05db_lmdb: avoid pointless divisionmoneromooo-monero1-1/+1
2018-12-05db_lmdb: inline check_open, it's trivial and called everywheremoneromooo-monero2-8/+7
2018-12-05blockchain_db: allocate known size vector only oncemoneromooo-monero1-5/+5
2018-12-05blockchain_db: remove a couple unused functionsmoneromooo-monero4-82/+0
2018-12-04Merge pull request #4872Riccardo Spagni1-10/+6
2018-12-04Merge pull request #4854Riccardo Spagni2-3/+0
2018-11-27Outputs where all amounts are known spent can now be prunedmoneromooo-monero3-4/+75
2018-11-26Merge pull request #4821Riccardo Spagni3-8/+12
2018-11-26rpc: speedup get_outs.binmoneromooo-monero3-8/+12
2018-11-26Merge pull request #4830Riccardo Spagni1-0/+9
2018-11-19lmdb: fix gcc 7.3.0 'implicit-fallthrough' warningxiphon1-10/+6
2018-11-15Removed a lot of unnecessary includesMartijn Otto2-3/+0
2018-11-14Merge pull request #4769Riccardo Spagni3-22/+27
2018-11-09db_lmdb: error out if the db needs migration in read only modemoneromooo-monero1-0/+9
2018-11-04db_lmdb: slight speedup getting array data from the blockchainmoneromooo-monero1-6/+8
2018-11-02db_lmdb: log which output was not found in get_output_keymoneromooo-monero1-1/+2
2018-11-01Merge pull request #4664Riccardo Spagni1-9/+23
2018-11-01Merge pull request #4639Riccardo Spagni1-1/+1
2018-11-01db_lmdb: save some string copies for readonly db keys/valuesmoneromooo-monero1-11/+16
2018-11-01core: avoid unnecessary tx/blob conversionsmoneromooo-monero3-6/+4
2018-10-19db_lmdb: use MDB_MULTIPLE_NEXT where possible for some speedupmoneromooo-monero1-9/+23
2018-10-17Update db_lmdb.cppCactii11-1/+1
2018-10-16blockchain_db: initialize m_hardfork in ctor just in casemoneromooo-monero1-1/+1
2018-10-02Fix rtxn usage in BlockchainLMDB::get_estimated_batch_sizeHoward Chu1-2/+2
2018-09-29Merge pull request #4459Riccardo Spagni1-5/+16
2018-09-29Merge pull request #4445Riccardo Spagni1-2/+12
2018-09-12db_lmdb: do not use base for cumulative distributionmoneromooo-monero1-0/+2
2018-09-11v8: per byte fee, pad bulletproofs, fixed 11 ring sizemoneromooo-monero6-37/+42
2018-09-10Merge pull request #4293luigi11111-2/+6
2018-09-10Merge pull request #4256luigi11112-7/+3
2018-09-04Merge pull request #4270luigi11111-2/+13
2018-08-25is_hdd updatep8p1-2/+6
2018-08-22Merge pull request #4204luigi11111-2/+2
2018-08-22Merge pull request #4200luigi11114-68/+1
2018-08-19db_lmdb: speedup the get_output_distribution common casemoneromooo-monero1-2/+13
2018-08-15Merge pull request #4161luigi11111-2/+2
2018-08-14db_lmdb: resize blockchain database when 90% filledmoneromooo-monero2-7/+3
2018-08-12core: sync database based on bytes added, not blocks addedmoneromooo-monero1-2/+2
2018-07-30blockchain_db: remove unused get_output_key variantmoneromooo-monero4-68/+1
2018-07-27Merge pull request #4129luigi11111-0/+3
2018-07-20db_lmdb: demote the "batch already enabled" log, it's harmlessmoneromooo-monero1-2/+2
2018-07-19Merge pull request #4013luigi11113-0/+20
2018-07-19Merge pull request #3981luigi11114-7/+236
2018-07-19Merge pull request #3854luigi11115-1/+39
2018-07-13db: store cumulative rct output distribution in the db for speedmoneromooo-monero4-7/+236
2018-07-11db_lmdb: don't sync a read only DBmoneromooo-monero1-0/+3
2018-06-29add --regtest and --fixed-difficulty for regression testingvictorsintnicolaas5-0/+38
2018-06-27Merge pull request #3987luigi11111-4/+5
2018-06-25Merge pull request #3936luigi11111-0/+1
2018-06-20rpc: add blockchain disk size to getinfomoneromooo-monero3-0/+20
2018-06-14db_lmdb: enable batch transactions by defaultstoffu1-1/+1
2018-06-11db_ldmb: print db version when complaining about incompatibilitymoneromooo-monero1-4/+5
2018-06-08db_lmdb: warn about slowness when running off a spinning diskmoneromooo-monero1-0/+3
2018-06-05tx_pool: initialize bitflags padding since it gets written to storagemoneromooo-monero1-0/+1
2018-05-30Merge pull request #3876luigi11111-0/+1
2018-05-28core: fix automatic safe db sync mode switchingmoneromooo-monero1-0/+1
2018-05-23db_lmdb: save pruned and prunable tx data separatelymoneromooo-monero6-51/+375
2018-05-21speed up get_output_distribution (and precalc common case)moneromooo-monero3-0/+45
2018-04-23speedup get_output_histogram for all amounts when min_count > 0moneromooo-monero3-6/+11
2018-03-16add RPC to get a histogram of outputs of a given amountmoneromooo-monero3-4/+47
2018-03-05Merge pull request #3307Riccardo Spagni1-1/+2
2018-03-05Correct spelling mistakes.Edward Betts1-1/+1
2018-02-23db_lmdb: fix free space reportingmoneromooo-monero1-1/+2
2018-02-19db_lmdb: fix return code mixup in for_all_*moneromooo-monero1-12/+12
2018-02-16Merge pull request #3226Riccardo Spagni3-5/+13
2018-02-16Merge pull request #3231Riccardo Spagni2-2/+10
2018-02-02blockchain_db: initialize m_open in base class ctormoneromooo-monero3-3/+7
2018-02-02db_lmdb: check hard fork info drop succeededmoneromooo-monero1-2/+6
2018-01-31Don't create readtxn until after txn_safe gate checkHoward Chu2-2/+10
2018-01-26Update 2018 copyrightxmr-eric8-8/+8
2018-01-10Merge pull request #2971Riccardo Spagni3-6/+9
2017-12-28Additional fix for core_testsHoward Chu1-10/+15
2017-12-28Fix stale readcursor flagsHoward Chu1-22/+15
2017-12-20Fix exceptions not finding txpool txes when relayingmoneromooo-monero3-6/+9
2017-12-18catch const exceptionsmoneromooo-monero1-1/+1
2017-12-18fix a few leaks by throwing objects, not newed pointers to objectsmoneromooo-monero1-5/+5
2017-12-16move includes around to lessen overall loadmoneromooo-monero5-3/+5
2017-11-15blockchain_db: sanity check on tx/hash vector sizesflozilla1-0/+4
2017-11-14Merge pull request #2629Riccardo Spagni2-1/+2
2017-11-14remove "using namespace std" from headersmoneromooo-monero2-1/+2
2017-11-14Merge pull request #2742Riccardo Spagni1-0/+6
2017-11-14Merge pull request #2615Riccardo Spagni3-11/+42
2017-11-08Protect node privacy by proper filtering in restricted-mode RPC answersbinaryFate3-11/+42
2017-11-06track double spending in the txpoolmoneromooo-monero1-1/+2
2017-11-02Increase LMDB maxreaders if large number of threads in useHoward Chu1-0/+6
2017-10-26fixed an LMDB issue on OpenBSD (#2699) which leads to a crash in monerodston1th1-0/+6
2017-10-15Merge pull request #2640Riccardo Spagni1-1/+1
2017-10-12db_lmdb: include chain height when failing to find an output keymoneromooo-monero1-1/+1
2017-10-07frob level 1 logs a bit for consistencymoneromooo-monero1-7/+7
2017-09-25Merge pull request #2457Riccardo Spagni3-9/+15
2017-09-19db_lmdb: fix use of uninitialized key in for_blocks_rangemoneromooo-monero1-2/+2
2017-09-17Use actual batch size for resize estimatesHoward Chu3-9/+15
2017-09-02Merge pull request #2372Riccardo Spagni2-9/+25
2017-08-29Fix blockchain_import wedge on exception in cleanup_handle_incoming_blocksmoneromooo-monero2-9/+25
2017-08-29move db specific options to BlockchainDBmoneromooo-monero2-0/+35
2017-08-26Merge pull request #2314Riccardo Spagni3-0/+14
2017-08-20Toggle SAFE syncmode on and off automaticallyHoward Chu3-0/+14
2017-08-20More DB support cleanupHoward Chu2-5/+34
2017-08-19DB cleanupHoward Chu3-1/+34
2017-08-12core: add --db-salvage command line flagmoneromooo-monero1-1/+1
2017-07-31some include cleanupmoneromooo-monero2-0/+2
2017-06-11blockchain_db: add a txpool tx getter which returns existencemoneromooo-monero3-3/+23
2017-06-01Don't copy blockchain for coinbase_tx_sumHoward Chu3-7/+19
2017-05-30Merge pull request #2039Riccardo Spagni1-1/+1
2017-05-25Move txpool to the databasemoneromooo-monero3-0/+321