lmdb_db_open(txn,LMDB_BLOCKS,MDB_INTEGERKEY|MDB_CREATE,m_blocks,"Failed to open db handle for m_blocks");
lmdb_db_open(txn,LMDB_BLOCK_INFO,MDB_INTEGERKEY|MDB_CREATE,m_block_info,"Failed to open db handle for m_block_info");
lmdb_db_open(txn,LMDB_BLOCK_HEIGHTS,MDB_CREATE |MDB_DUPSORT|MDB_DUPFIXED,m_block_heights,"Failed to open db handle for m_block_heights");
lmdb_db_open(txn,LMDB_BLOCK_HEIGHTS,MDB_INTEGERKEY |MDB_CREATE |MDB_DUPSORT|MDB_DUPFIXED,m_block_heights,"Failed to open db handle for m_block_heights");
lmdb_db_open(txn,LMDB_TXS,MDB_INTEGERKEY|MDB_CREATE,m_txs,"Failed to open db handle for m_txs");
lmdb_db_open(txn,LMDB_TX_INDICES,MDB_CREATE |MDB_DUPSORT|MDB_DUPFIXED,m_tx_indices,"Failed to open db handle for m_tx_indices");
lmdb_db_open(txn,LMDB_TX_INDICES,MDB_INTEGERKEY |MDB_CREATE |MDB_DUPSORT|MDB_DUPFIXED,m_tx_indices,"Failed to open db handle for m_tx_indices");
lmdb_db_open(txn,LMDB_TX_OUTPUTS,MDB_INTEGERKEY|MDB_CREATE,m_tx_outputs,"Failed to open db handle for m_tx_outputs");
lmdb_db_open(txn,LMDB_OUTPUT_TXS,MDB_INTEGERKEY|MDB_CREATE,m_output_txs,"Failed to open db handle for m_output_txs");
lmdb_db_open(txn,LMDB_OUTPUT_INDICES,MDB_INTEGERKEY|MDB_CREATE,m_output_indices,"Failed to open db handle for m_output_indices");
lmdb_db_open(txn,LMDB_OUTPUT_AMOUNTS,MDB_INTEGERKEY|MDB_INTEGERDUP|MDB_DUPSORT|MDB_DUPFIXED|MDB_CREATE,m_output_amounts,"Failed to open db handle for m_output_amounts");
lmdb_db_open(txn,LMDB_OUTPUT_KEYS,MDB_INTEGERKEY|MDB_CREATE,m_output_keys,"Failed to open db handle for m_output_keys");
lmdb_db_open(txn,LMDB_OUTPUT_KEYS,MDB_INTEGERKEY|MDB_CREATE|MDB_DUPSORT|MDB_DUPFIXED,m_output_keys,"Failed to open db handle for m_output_keys");
lmdb_db_open(txn,LMDB_SPENT_KEYS,MDB_CREATE |MDB_DUPSORT|MDB_DUPFIXED,m_spent_keys,"Failed to open db handle for m_spent_keys");
lmdb_db_open(txn,LMDB_SPENT_KEYS,MDB_INTEGERKEY |MDB_CREATE |MDB_DUPSORT|MDB_DUPFIXED,m_spent_keys,"Failed to open db handle for m_spent_keys");
lmdb_db_open(txn,LMDB_HF_STARTING_HEIGHTS,MDB_CREATE,m_hf_starting_heights,"Failed to open db handle for m_hf_starting_heights");
lmdb_db_open(txn,LMDB_HF_VERSIONS,MDB_INTEGERKEY|MDB_CREATE,m_hf_versions,"Failed to open db handle for m_hf_versions");