typedef struct txn txn_t;
-txn_t * txn_begin (txn_access_e access, txn_isolation_e isolation, map_type_t map_type);
+txn_t * txn_begin (txn_access_e access, txn_isolation_e isolation, map_t *map);
void txn_abort (txn_t *txn);
txn_state_e txn_commit (txn_t *txn);