cryptocoinjs / btc-script

Script support for Bitcoin
7 stars 9 forks source link

Switch output script type checking to bitcoind style #4

Open sidazhang opened 10 years ago

sidazhang commented 10 years ago

Similar to this https://github.com/bitcoin/bitcoin/blob/master/src/script.h#L46

Use integers as the real value being passed around, with named class properties as convenience variables to access them, and a separate method to turn them into string labels if needed.

MidnightLightning commented 10 years ago

For reference, this was initially discussed as part of pull request #2.