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_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,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");
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_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_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");
lmdb_db_open(txn,LMDB_HF_VERSIONS,MDB_INTEGERKEY|MDB_CREATE,m_hf_versions,"Failed to open db handle for m_hf_versions");
lmdb_db_open(txn,LMDB_PROPERTIES,MDB_CREATE,m_properties,"Failed to open db handle for m_properties");
lmdb_db_open(txn,LMDB_PROPERTIES,MDB_CREATE,m_properties,"Failed to open db handle for m_properties");