rainbreak / solidity-btc-parser

Solidity library to parse raw Bitcoin transaction bytes
Other
33 stars 11 forks source link

Skip over unknown output scripts #10

Closed rainbreak closed 8 years ago

rainbreak commented 8 years ago

Currently throws if anything but PK2PKH. Could also parse P2SH. If the script doesn't match either of these then we should skip it rather than throwing or trying to parse it and try to parse the subsequent scripts.