Bit-Wasp/bitcoin-lib-php — pull request #31 by rubensayshi (2014-11-18 16:58:38+00:00)
Title: added RawTransaction::hash_from_raw and RawTransaction::hash_from_txid

also added usage to the example as form of 'documentation'

I was confused by the `txid` from `Transaction::decode` being in a different endian than the transaction hash (eventhough I already ran into this before ... had forgotten about it again).
Figured I'd add a method to get it from a raw transaction.