Replaced channel tx_hash variable with a hash table. (fixes #6)