mirror of
https://github.com/monero-project/monero.git
synced 2025-08-19 19:17:54 -04:00
Adding block data to LMDB BlockchainDB coded
Still needs testing (and need to write a few more unit tests), but everything should be there. Lots of unfortunate duplication, but...well, I can't see a way around it using LMDB. A couple of other minor changes in this commit, only slightly relevant.
This commit is contained in:
parent
db00ce0173
commit
a0af217d9a
3 changed files with 258 additions and 8 deletions
|
@ -194,12 +194,20 @@ private:
|
|||
MDB_dbi m_block_coins;
|
||||
|
||||
MDB_dbi m_txs;
|
||||
MDB_dbi m_tx_heights;
|
||||
MDB_dbi m_tx_outputs;
|
||||
|
||||
MDB_dbi m_spent;
|
||||
MDB_dbi m_utxo;
|
||||
MDB_dbi m_output_txs;
|
||||
MDB_dbi m_output_indices;
|
||||
MDB_dbi m_output_gindices;
|
||||
MDB_dbi m_output_amounts;
|
||||
MDB_dbi m_outputs;
|
||||
|
||||
MDB_dbi m_spent_keys;
|
||||
|
||||
bool m_open;
|
||||
uint64_t m_height;
|
||||
uint64_t m_num_outputs;
|
||||
std::string m_folder;
|
||||
txn_safe* m_write_txn;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue