Changes to make torcoin support TxType