Returns true if this is a scriptSig for V0 P2WPKH embedded in P2SH.
(self)
| 698 | return len(self) == 22 and self[0:2] == b'\x00\x14' |
| 699 | |
| 700 | def is_witness_v0_nested_keyhash(self): |
| 701 | """Returns true if this is a scriptSig for V0 P2WPKH embedded in P2SH. """ |
| 702 | return len(self) == 23 and self[0:3] == b'\x16\x00\x14' |
| 703 | |
| 704 | def is_witness_v0_scripthash(self): |
| 705 | """Returns true if this is a scriptpubkey for V0 P2WSH. """ |