Commit Graph

200 Commits (8a7b3ff13858c5d879530c99de5c723c88429342)

Author SHA1 Message Date
moneromooo-monero 0288310e3b
blockchain_db: add "raw" blobdata getters for block and transaction
7 years ago
moneromooo-monero cca95c1c7a
blockchain_db: do not throw on expected partial results getting keys
7 years ago
moneromooo-monero f2986ccfc1
db_lmdb: fix bad height saved in tx data
7 years ago
kenshi84 8027ce0c75 extract some basic code from libcryptonote_core into libcryptonote_basic
7 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
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
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 995dde4f95
Merge pull request #1128
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
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 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
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
moneromooo-monero 79117d4275
db_lmdb: include the error codes from lmdb api in error logs
8 years ago
Howard Chu db1b2db4d5 Reduce log noise
8 years ago
Howard Chu a74348e115 Add destructor for readtxns
8 years ago
Howard Chu 6b0a903177 Small cleanups
8 years ago
Howard Chu 01c1512f22 More for 92dd4ec6d6
8 years ago
Riccardo Spagni 240a50f3fb
Merge pull request #723
8 years ago
Howard Chu 92dd4ec6d6 Hack for read/write txn mixup
8 years ago
Howard Chu 2abdb2c9fd avoid some val copies
8 years ago
Howard Chu 8941ce0398 More for bdec7cb
8 years ago
Riccardo Spagni 32dc08d19a
Merge pull request #700
8 years ago
Riccardo Spagni c3af15702f
Merge pull request #698
8 years ago
warptangent bdec7cbfb3
BlockchainLMDB: Use DB error helper consistently
8 years ago
warptangent c5932eb5ea BlockchainLMDB: Add DB error to exception
8 years ago
Howard Chu ee7a8b87f9 Get rid of lmdb_cur
8 years ago
Howard Chu f5affbef26 More for df239428c0
8 years ago
warptangent 2c823c1589
Make partial revert consistent
8 years ago
warptangent df239428c0
Revert part of 7db89ed2ee
8 years ago
warptangent c9c4060dc6
BlockchainLMDB: Add height and db error to exception
8 years ago
Howard Chu 7db89ed2ee ARMv7: fix unaligned accesses
8 years ago
Howard Chu 8cc7a36f0b read txn/cursor stuff
8 years ago
Howard Chu 02abe3590d Use MDB_PREV_MULTIPLE
8 years ago
Howard Chu 7a4755d3a4 Fixup after lmdb master resync
8 years ago
Howard Chu 3b13a7473e Shutup about VERSION 0
8 years ago
Howard Chu 1537477c9f Use cursor in get_output_key
8 years ago
Howard Chu f2faf8cdd9 Use MDB_APPEND mode where possible
8 years ago
Howard Chu 090b548c3b Use cursors in write txns
8 years ago
Howard Chu ed08d2152e Keep a running blocksize count
8 years ago
Howard Chu 0fc93345ea Win32 import batchsize tweaks
8 years ago
warptangent 1995923559
BlockchainLMDB: Deal with DB exceptions at block level with particularity
9 years ago
warptangent c16cc204d3
BlockchainLMDB: Add sanity check for inconsistent state
9 years ago
warptangent 9118d0a44c
BlockchainLMDB: Call destructor on allocated txn if setup fails
9 years ago
warptangent f5581c3536
BlockchainLMDB: Replace remaining txn pointer NULLs with nullptr
9 years ago
warptangent 3800875406
Make HardFork object available to BlockchainDB and derived DB implementations
9 years ago
warptangent fd46c96dce
BlockchainDB/LMDB: Refactor block-scope DB txn handling for add block
9 years ago
warptangent f3a6000094
BlockchainDB/LMDB/BDB: Extract DB txn functions for block add/remove
9 years ago
warptangent f47d5b0fe3
BlockchainLMDB: Allow two HardFork functions to update DB during block add
9 years ago
warptangent 15ee0bef4b
BlockchainLMDB: extract txn macros used during block add/remove
9 years ago
warptangent f7e337e625
fake_core: Check if hard fork subdbs need reset at start
9 years ago
warptangent c657e772c4
blockchain_import: Add --drop-hard-fork command
9 years ago
warptangent 24b66243c2
db_lmdb: Continue when tx has no outputs
9 years ago
Howard Chu 30f92f5630 Fix hf when import with verify off
9 years ago
Riccardo Spagni 810a11267c
fixed copyrights with bad year references
9 years ago
Riccardo Spagni fd36eea6dd
Merge pull request #572
9 years ago
hyc b39aae7aa5 Tweak 45800a25e9
9 years ago
moneromooo-monero 78b65cf7e8
db_lmdb: safety close db at exit
9 years ago