lmdb_db_open(txn,LMDB_TXS,MDB_CREATE,m_txs,"Failed to open db handle for m_txs");
lmdb_db_open(txn,LMDB_TX_UNLOCKS,MDB_CREATE,m_tx_unlocks,"Failed to open db handle for m_tx_unlocks");
lmdb_db_open(txn,LMDB_TX_HEIGHTS,MDB_CREATE,m_tx_heights,"Failed to open db handle for m_tx_heights");
lmdb_db_open(txn,LMDB_TX_OUTPUTS,MDB_DUPSORT|MDB_INTEGERDUP |MDB_CREATE,m_tx_outputs,"Failed to open db handle for m_tx_outputs");
lmdb_db_open(txn,LMDB_TX_OUTPUTS,MDB_DUPSORT|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_AMOUNTS,MDB_INTEGERKEY|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_SPENT_KEYS,MDB_CREATE,m_spent_keys,"Failed to open db handle for m_spent_keys");