cryptocoinjs / btc-transaction

Create, parse, serialize Bitcoin transactions.
11 stars 8 forks source link

Allowing deserialize() to parse multiple transactions at once #4

Closed sidazhang closed 10 years ago

sidazhang commented 10 years ago

In this pull request, I would like to introduce the ability to parse multiple transactions specified by the user. This is useful for parsing network messages / block messages etc

The test uses these two transactions: https://helloblock.io/mainnet/transactions/b1fea52486ce0c62bb442b530a3f0132b826c74e473d1f2c220bfa78111c5082 https://helloblock.io/mainnet/transactions/f4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e16

sidazhang commented 10 years ago

cc @MidnightLightning as well. This should be useful for the network node proejcts

sidazhang commented 10 years ago

Just spoke to JP about this. Going to merge this