Commit Graph

395 Commits (e7301ef54a670fff944036fd9d74ce9593c43d91)

Author SHA1 Message Date
luigi1111 77ed11e627
Merge pull request #4270
6 years ago
p8p 9d6539923e
is_hdd update
6 years ago
luigi1111 4a4ea78ecd
Merge pull request #4204
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 b278b83860
core: sync database based on bytes added, not blocks added
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
luigi1111 cbfa0a2a7e
Merge pull request #3987
6 years ago
luigi1111 c3ec5373b3
Merge pull request #3936
6 years ago
moneromooo-monero e5592c4bab
rpc: add blockchain disk size to getinfo
6 years ago
stoffu 149da420e9 db_lmdb: enable batch transactions by default
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
moneromooo-monero d81e042306
tx_pool: initialize bitflags padding since it gets written to storage
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
7 years ago
Riccardo Spagni 260d666cf4
Merge pull request #3231
7 years ago
moneromooo-monero ad11db9144
blockchain_db: initialize m_open in base class ctor
7 years ago
moneromooo-monero 1aabd14c21
db_lmdb: check hard fork info drop succeeded
7 years ago
Howard Chu 84a8b2da14
Don't create readtxn until after txn_safe gate check
7 years ago
xmr-eric 18216f19dd Update 2018 copyright
7 years ago
Riccardo Spagni 0a110aefbb
Merge pull request #2971
7 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 d753d716a6
fix a few leaks by throwing objects, not newed pointers to objects
7 years ago
moneromooo-monero 09ce03d612
move includes around to lessen overall load
7 years ago
flozilla f9fad18608
blockchain_db: sanity check on tx/hash vector sizes
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
Riccardo Spagni fd0740e5e7
Merge pull request #2615
7 years ago
binaryFate 10013e9434 Protect node privacy by proper filtering in restricted-mode RPC answers
7 years ago
moneromooo-monero ccf53a566c
track double spending in the txpool
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
Riccardo Spagni 1e57e48342
Merge pull request #2372
7 years ago
moneromooo-monero ce901fcb31
Fix blockchain_import wedge on exception in cleanup_handle_incoming_blocks
7 years ago
moneromooo-monero a95e460c71
move db specific options to BlockchainDB
7 years ago
Riccardo Spagni 36b978f50e
Merge pull request #2314
7 years ago
Howard Chu 9a859844f4
Toggle SAFE syncmode on and off automatically
7 years ago
Howard Chu 80344740bd
More DB support cleanup
7 years ago
Howard Chu 4c7f8ac04f
DB cleanup
7 years ago
moneromooo-monero c6e200a8ab
core: add --db-salvage command line flag
7 years ago
moneromooo-monero 214fd81e93
some include cleanup
7 years ago
moneromooo-monero 235df7f484
blockchain_db: add a txpool tx getter which returns existence
7 years ago
Howard Chu d17c0fc2d0
Don't copy blockchain for coinbase_tx_sum
7 years ago
Riccardo Spagni a4c13ea092
Merge pull request #2039
7 years ago
moneromooo-monero b52abd1370
Move txpool to the database
7 years ago
Gentian 4b932ff314 changed crypto to cncrypto so it generated libcncrypto
7 years ago
Howard Chu d3aaf74080
Partial fix #1876, check thread in block_txn_start()
7 years ago
kenshi84 7d07c64fe5
fix dependency: put HardFork back to cryptonote_basic, made some BlockchainDB functions virtual again to avoid missing symbols error
7 years ago
Howard Chu eb62dcc871
Remove redundant num_txs() method
7 years ago
moneromooo-monero 12adb4a3f3
core: move hardfork back to cryptonote_core
7 years ago
Riccardo Spagni c3599fa7b9
update copyright year, fix occasional lack of newline at line end
8 years ago
Riccardo Spagni 49efd3add9
Merge pull request #1727
8 years ago
Riccardo Spagni 59d96eedd8
Merge pull request #1724
8 years ago
Howard Chu 2e9136767e
Handle map resizes from other processes
8 years ago
Howard Chu bf1348b7e2
Can't cache num_txs or num_outputs either
8 years ago
Howard Chu dc53e9eef2
Add a few read txns to streamline
8 years ago
moneromooo-monero 0288310e3b
blockchain_db: add "raw" blobdata getters for block and transaction
8 years ago
moneromooo-monero cca95c1c7a
blockchain_db: do not throw on expected partial results getting keys
8 years ago
moneromooo-monero f2986ccfc1
db_lmdb: fix bad height saved in tx data
8 years ago
kenshi84 8027ce0c75 extract some basic code from libcryptonote_core into libcryptonote_basic
8 years ago
Miguel Herranz 95f3e193f0 Update and use blockchain data files defines
8 years ago
Howard Chu 843769f88f
Tweak some msg loglevels
8 years ago
Howard Chu 990e08f090
Fix PR#1506, off by one in chain height
8 years ago
moneromooo-monero 5833d66f65
Change logging to easylogging++
8 years ago
Riccardo Spagni 65e33b1bc5
Merge pull request #1506
8 years ago
Howard Chu 3ff54bdd7a
Check for correct thread before ending batch transaction
8 years ago
Howard Chu c903c5541e
Don't cache block height, always get from DB
8 years ago
Howard Chu 0693cff925
Use batch transactions when syncing
8 years ago
Riccardo Spagni 006bb0e957
Merge pull request #1538
8 years ago
Miguel Herranz 046ab33d1b Remove berkeley from blockchain_db_types
8 years ago
moneromooo-monero 0478ac6848
blockchain: allow marking "tx not found" without an exception
8 years ago
moneromooo-monero 0e18f46522
db_lmdb: add info in an error message when we can't get an output
8 years ago
moneromooo-monero c96f9b0255
db_lmdb: guard against going out of sync on unexpected db results
8 years ago
moneromooo-monero bef51e677e
db_lmdb: minor pedantic tweaks
8 years ago
moneromooo-monero 3465c4ebc7
db_lmdb: set same packing format for output_data_t and pre_rct_output_data_t
8 years ago
moneromooo-monero 88faec75fe
wallet: select part of the fake outs from recent outputs
8 years ago
Riccardo Spagni 4cb1348548
Merge pull request #1139
8 years ago
Riccardo Spagni 995dde4f95
Merge pull request #1128
8 years ago
Randi Joseph 9e54616924 Dropped "bit" from bitmonero.
8 years ago
moneromooo-monero d2e11f374a
db_lmdb: do not error if dropping a non existent hard fork table
8 years ago
Myagui 12427dd8d3 Fix minor typo in "need resize" message.
8 years ago
redfish e1c7af35d4 cmake: transitive deps and remove deprecated LINK_*
8 years ago
moneromooo-monero 6cf8ca2a7f
core: faster find_blockchain_supplement
8 years ago
moneromooo-monero 1cdba42a77
db_lmdb: fix reorg with "halfway rct" coinbase outputs
8 years ago
moneromooo-monero c3b3260ae5
New "Halfway RingCT" outputs for coinbase transactions
8 years ago
moneromooo-monero 59a66e209a
move the rct commitments to the output_amounts database
8 years ago
moneromooo-monero dc4aad7eb5
add rct to the protocol
8 years ago
moneromooo-monero 211d1db762
db_lmdb: update reset for recent db changes
8 years ago
moneromooo-monero eb56d0f994
blockchain_db: add functions for adding/removing/getting rct commitments
8 years ago
moneromooo-monero f88029e72a
db_lmdb: do not try to modify the database in read only mode
8 years ago
Riccardo Spagni 0faf572db8
Merge pull request #948
8 years ago
moneromooo-monero 240864f529
db_lmdb: errors dropping hf starting height db on reset are not fatal
8 years ago
moneromooo-monero 1593553e03
new unlocked parameter to output_histogram
8 years ago
moneromooo-monero 121165f222
db_lmdb: add some missing api call checks
8 years ago
moneromooo-monero d7b681cd65
remove hf_starting_height db
8 years ago
Riccardo Spagni 30dce45643 Merge branch 'performance' of https://github.com/LMDB/bitmonero
8 years ago
moneromooo-monero 513a658c87
add a --max-concurrency flag
8 years ago
Howard Chu 2b0fa05f0d Another take on migration
8 years ago
Howard Chu c14f9efd52 Migration
8 years ago
Howard Chu d7ea7d9a23 Merge branch 'performance' into master
8 years ago
Howard Chu 372acee723 Cleanup
8 years ago
Howard Chu 591e421875 Cleanup and clarify
8 years ago
Howard Chu b2f1c58805 Use cursors in some remove functions
8 years ago
Howard Chu 118dd69dd5 Use DUPFIXED for block_info and output_txs
8 years ago
Howard Chu 6225716f3c More outputs consolidation
8 years ago
Howard Chu 7c5abdc3a3 Use DUPFIXED for output_keys
8 years ago
Howard Chu 8e9d8e3364 Use DUPFIXED for tx_indices
8 years ago
Howard Chu a12f9365f8 Use DUPFIXED for block_heights
8 years ago
Howard Chu 38c2277d6f Use DUPFIXED for spent_keys
8 years ago
warptangent bf769c32ba Add back changes from revert.
8 years ago
warptangent 46b991b362 Use MDB_APPEND mode with two tx subdbs
8 years ago
warptangent 9aadedb1d0 Schema update: tx_indices - consolidate the tx subdbs from 5 to 3
8 years ago
warptangent a2f518aa01 Schema update: tx_indices - yet less indirection
8 years ago
warptangent 8d12a8df2c Schema update: tx_indices - improve further with less indirection
8 years ago
warptangent 7c013f66e9 Add batch warning for further review
8 years ago
warptangent ae0854a431 Schema update: tx_indices
8 years ago
Howard Chu 8d252a4214 Consolidated block info
8 years ago
warptangent 132c666f67 Update schema for "tx_outputs" to use array containing amount output indices
8 years ago
Howard Chu efbdde2c66 Detect map resize failures
8 years ago
moneromooo-monero 600a3cf0c0
New RPC and daemon command to get output histogram
8 years ago