Returns true if this is a scriptpubkey for V0 P2WPKH.
(self)
| 694 | return next(iter(self)) |
| 695 | |
| 696 | def is_witness_v0_keyhash(self): |
| 697 | """Returns true if this is a scriptpubkey for V0 P2WPKH. """ |
| 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. """ |
no outgoing calls
no test coverage detected