You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could be getters:
inputs: hash, index, sequence
outputs: script, value
New method:
CheckForPubkey = pass it an index and a pubkey, it will take the hash160 and decompile the scriptPubkey, redeemScript (if any) and witnessScript (if any) to search for the pubkey or its hash160 and return true or false if it finds it. This method should also be available for outputs as well. Should throw an error if it sees a P2SH/P2WSH without the corresponding script.
The text was updated successfully, but these errors were encountered:
Could be getters:
inputs: hash, index, sequence
outputs: script, value
New method:
CheckForPubkey = pass it an index and a pubkey, it will take the hash160 and decompile the scriptPubkey, redeemScript (if any) and witnessScript (if any) to search for the pubkey or its hash160 and return true or false if it finds it. This method should also be available for outputs as well. Should throw an error if it sees a P2SH/P2WSH without the corresponding script.
The text was updated successfully, but these errors were encountered: