Efficient parsing
Pre-release
Pre-release
Added
- Parsing of data structures is now way more efficient
- Opcodes have been isolated in a separate file and helper methods have been created to deal with them
Fixed
- Parsing of peculiar scripts no longer crashes (e.g. empy push operations, multisig scripts without public keys)
Backward compatibility
Breaks the following functionality:
- Any code that used the following static fields of the
BaseScriptclass now needs to be refactored to use theopcodesmodule:opcode_to_intint_to_opcodeopcode_to_hexhex_to_opcode