Expand description
Managing sequences of opcodes.
Structs§
- Code
- Serialized script, used inside transaction inputs and outputs
- Component
- A script component is used as either the script sig or script pubkey in a script. Depending on
T(which generally needs anopcode::Evaluableinstance), it has different properties: - Parser
- An iterator that provides
Opcodes from a byte stream. - Raw
- A script represented by two byte sequences – one is the sig, the other is the pubkey.
Enums§
- Component
Type - When an entire
crate::Scriptis validated, this is used to tag errors with which component they came from. - Error
- Errors that can occur during script verification.