#Bitcoin pill n.1:
There are 5 different types of standard locking scripts (called scriptPubKey)
- P2PKH (Pay-To-Public-Key-Hash)
- P2SH (Pay-To-Script-Hash)
- P2WPKH (Pay-To-Witness-Public-Key-Hash)
- P2WSH (Pay-To-Witness-Script-Hash)
- MultiSig scripts
each one of them designed with different fixed lengths (in bytes) in a way that it’s impossible to have a conflict of interpretation of the Bitcoin Core interpreter