Iterate script instructions. Returns ops until the end of the script.
Mirrors rust-bitcoin's non-minimal Script::instructions() (the iterator
ord's envelope parser uses): a truncated push is an error (throws here),
non-minimal push encodings are accepted, and every non-push byte (valid,
reserved, or invalid opcode alike) is yielded as an opcode instruction.
Iterate script instructions. Returns ops until the end of the script. Mirrors rust-bitcoin's non-minimal
Script::instructions()(the iterator ord's envelope parser uses): a truncated push is an error (throws here), non-minimal push encodings are accepted, and every non-push byte (valid, reserved, or invalid opcode alike) is yielded as an opcode instruction.