Started updaing TxRef logic for LevelDB