Commit Graph

311 Commits (b5fb9aea88d66dc132e33581aa661cb6542508e7)

Author SHA1 Message Date
Riccardo Spagni e65221d690
Merge pull request #5119
5 years ago
moneromooo-monero f024a10b68
db_lmdb: make mdb_block_info format conversion more future proof
5 years ago
moneromooo-monero 79b4e9f377
save some database calls when getting top block hash and height
5 years ago
moneromooo-monero b044d03a51
Avoid repeated (de)serialization when syncing
5 years ago
moneromooo-monero e69477bf25
db: speedup block addition
5 years ago
Riccardo Spagni 11daa98c0a
Merge pull request #5081
5 years ago
Riccardo Spagni 09020235bf
Merge pull request #5175
5 years ago
moneromooo-monero b8787f4302
ArticMine's new block weight algorithm
5 years ago
moneromooo-monero 85088d9f85
db_lmdb: fix missing mdb_dbi_close in migration
5 years ago
moneromooo-monero b750fb27b0
Pruning
5 years ago
moneromooo-monero d78addcbc0
db_lmdb: don't unnecessarily cast to double on the way to uint64_t
5 years ago
moneromooo-monero a6216d1ac2
blockchain_db: allow getting output keys without commitment
5 years ago
Riccardo Spagni 9d57ee9ff6
Merge pull request #4984
5 years ago
moneroexamples ec68cf822f Make get_output_key method const
5 years ago
luigi1111 69e8567c0e
Merge pull request #4946
5 years ago
moneromooo-monero 008647d7eb
blockchain_db: speedup tx output gathering
6 years ago
Riccardo Spagni d855f9bb92
Merge pull request #4901
6 years ago
moneromooo-monero 5511563e92
db_lmdb: avoid pointless division
6 years ago
moneromooo-monero 833269834d
db_lmdb: inline check_open, it's trivial and called everywhere
6 years ago
moneromooo-monero 6644b9b7b7
blockchain_db: remove a couple unused functions
6 years ago
Riccardo Spagni a605c0da08
Merge pull request #4872
6 years ago
Riccardo Spagni c00ac446fd
Merge pull request #4854
6 years ago
moneromooo-monero 17b45725af
Outputs where all amounts are known spent can now be pruned
6 years ago
Riccardo Spagni 58ce16d4d9
Merge pull request #4821
6 years ago
moneromooo-monero fc98f7a0a1
rpc: speedup get_outs.bin
6 years ago
Riccardo Spagni c4fd8ce97e
Merge pull request #4830
6 years ago
xiphon fc99f177f3 lmdb: fix gcc 7.3.0 'implicit-fallthrough' warning
6 years ago
Martijn Otto bd98e99c80
Removed a lot of unnecessary includes
6 years ago
Riccardo Spagni 0cc3fc3756
Merge pull request #4769
6 years ago
moneromooo-monero dffec2587f
db_lmdb: error out if the db needs migration in read only mode
6 years ago
moneromooo-monero 6f7a5fd4f7
db_lmdb: slight speedup getting array data from the blockchain
6 years ago
moneromooo-monero 97cad7e979
db_lmdb: log which output was not found in get_output_key
6 years ago
Riccardo Spagni 9a4b15c631
Merge pull request #4664
6 years ago
moneromooo-monero 99fbe1008b
db_lmdb: save some string copies for readonly db keys/values
6 years ago
moneromooo-monero 6ecc99ad1f
core: avoid unnecessary tx/blob conversions
6 years ago
moneromooo-monero 61304151b4
db_lmdb: use MDB_MULTIPLE_NEXT where possible for some speedup
6 years ago
Cactii1 ec3013903b
Update db_lmdb.cpp
6 years ago
Howard Chu 7c790f11f2
Fix rtxn usage in BlockchainLMDB::get_estimated_batch_size
6 years ago
Riccardo Spagni effcbf2060
Merge pull request #4459
6 years ago
Riccardo Spagni 09fb2bb5f8
Merge pull request #4445
6 years ago
moneromooo-monero befdcbf4be
db_lmdb: do not use base for cumulative distribution
6 years ago
moneromooo-monero 5ffb2ff9b7
v8: per byte fee, pad bulletproofs, fixed 11 ring size
6 years ago
luigi1111 ab85b924c9
Merge pull request #4293
6 years ago
luigi1111 46bcd91db4
Merge pull request #4256
6 years ago
luigi1111 77ed11e627
Merge pull request #4270
6 years ago
p8p 9d6539923e
is_hdd update
6 years ago
luigi1111 7e4507a048
Merge pull request #4200
6 years ago
moneromooo-monero dc6c0696fd
db_lmdb: speedup the get_output_distribution common case
6 years ago
luigi1111 2530dc6710
Merge pull request #4161
6 years ago
moneromooo-monero d6fc870d04
db_lmdb: resize blockchain database when 90% filled
6 years ago
moneromooo-monero 43f71100bc
blockchain_db: remove unused get_output_key variant
6 years ago
luigi1111 0dddfeacc9
Merge pull request #4129
6 years ago
moneromooo-monero be02eb9389
db_lmdb: demote the "batch already enabled" log, it's harmless
6 years ago
luigi1111 3e026ff6ed
Merge pull request #4013
6 years ago
luigi1111 21afa71ba6
Merge pull request #3981
6 years ago
luigi1111 025187e6c9
Merge pull request #3854
6 years ago
moneromooo-monero 45e419bd5c
db: store cumulative rct output distribution in the db for speed
6 years ago
moneromooo-monero ee31383a52
db_lmdb: don't sync a read only DB
6 years ago
victorsintnicolaas 34cb6b4b70 add --regtest and --fixed-difficulty for regression testing
6 years ago
moneromooo-monero e5592c4bab
rpc: add blockchain disk size to getinfo
6 years ago
moneromooo-monero 2d10830cfb
db_ldmb: print db version when complaining about incompatibility
6 years ago
moneromooo-monero 284fe6438d
db_lmdb: warn about slowness when running off a spinning disk
6 years ago
luigi1111 a7ea14dc6a
Merge pull request #3876
6 years ago
moneromooo-monero 740da1ba95
core: fix automatic safe db sync mode switching
6 years ago
moneromooo-monero b9389e582e
db_lmdb: save pruned and prunable tx data separately
6 years ago
moneromooo-monero 5f8ffca34d
speed up get_output_distribution (and precalc common case)
6 years ago
moneromooo-monero ffeeefde60
speedup get_output_histogram for all amounts when min_count > 0
6 years ago
moneromooo-monero 41f727ce42
add RPC to get a histogram of outputs of a given amount
6 years ago
Riccardo Spagni 0e5c006207
Merge pull request #3307
6 years ago
Edward Betts fbcc91c2a4 Correct spelling mistakes.
6 years ago
moneromooo-monero 223d7d0c7a
db_lmdb: fix free space reporting
6 years ago
moneromooo-monero 6514f0ed7b
db_lmdb: fix return code mixup in for_all_*
6 years ago
Riccardo Spagni f4a6bc79d9
Merge pull request #3226
6 years ago
Riccardo Spagni 260d666cf4
Merge pull request #3231
6 years ago
moneromooo-monero ad11db9144
blockchain_db: initialize m_open in base class ctor
6 years ago
moneromooo-monero 1aabd14c21
db_lmdb: check hard fork info drop succeeded
6 years ago
Howard Chu 84a8b2da14
Don't create readtxn until after txn_safe gate check
6 years ago
xmr-eric 18216f19dd Update 2018 copyright
6 years ago
Riccardo Spagni 0a110aefbb
Merge pull request #2971
6 years ago
Howard Chu 294adc8341
Additional fix for core_tests
7 years ago
Howard Chu d52b732efb
Fix stale readcursor flags
7 years ago
moneromooo-monero ae8602303a
Fix exceptions not finding txpool txes when relaying
7 years ago
moneromooo-monero a4240d9ffc
catch const exceptions
7 years ago
moneromooo-monero 09ce03d612
move includes around to lessen overall load
7 years ago
Riccardo Spagni 5de492be40
Merge pull request #2629
7 years ago
moneromooo-monero 383ff4f689
remove "using namespace std" from headers
7 years ago
Riccardo Spagni 0d0ce8c21e
Merge pull request #2742
7 years ago
binaryFate 10013e9434 Protect node privacy by proper filtering in restricted-mode RPC answers
7 years ago
Howard Chu 7c7d36725a
Increase LMDB maxreaders if large number of threads in use
7 years ago
ston1th f946bb7be6 fixed an LMDB issue on OpenBSD (#2699) which leads to a crash in monerod
7 years ago
Riccardo Spagni b293ad9a1a
Merge pull request #2640
7 years ago
moneromooo-monero 22b51e0672
db_lmdb: include chain height when failing to find an output key
7 years ago
moneromooo-monero bc1b93333e
frob level 1 logs a bit for consistency
7 years ago
Riccardo Spagni e5a2cdbfad
Merge pull request #2457
7 years ago
moneromooo-monero 9aeae7a224
db_lmdb: fix use of uninitialized key in for_blocks_range
7 years ago
Howard Chu d2d8a41c47
Use actual batch size for resize estimates
7 years ago
moneromooo-monero ce901fcb31
Fix blockchain_import wedge on exception in cleanup_handle_incoming_blocks
7 years ago
Howard Chu 9a859844f4
Toggle SAFE syncmode on and off automatically
7 years ago
Howard Chu 4c7f8ac04f
DB cleanup
7 years ago
moneromooo-monero c6e200a8ab
core: add --db-salvage command line flag
7 years ago