isPayToWitnessPublicKeyHash

Determines whether this is a pay-to-witness-public-key-hash (P2WPKH) script.

Return

true if this is a pay-to-witness-public-key-hash (P2WPKH) script, false otherwise

Parameters

script

Non-null pointer to a script