CBP Bitcoin Script and Protocol Development Flashcards
6 cards from real CBP practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 6 CBP Bitcoin Script and Protocol Development flashcards as text
What programming language is used to write Bitcoin transaction scripts?
Answer: Bitcoin Script, a stack-based language
Bitcoin uses Script, a simple stack-based programming language that defines the conditions under which transaction outputs can be spent.
What does 'P2PKH' stand for in Bitcoin scripting?
Answer: Pay-to-Public-Key-Hash
P2PKH (Pay-to-Public-Key-Hash) is the most common Bitcoin script type, requiring the spender to provide a public key matching a hash and a valid signature.
What is the purpose of OP_RETURN in Bitcoin Script?
Answer: To embed arbitrary data in an unspendable transaction output
OP_RETURN marks a transaction output as unspendable and allows up to 80 bytes of arbitrary data to be recorded immutably on the blockchain.
What is a UTXO in Bitcoin?
Answer: Unspent Transaction Output
A UTXO (Unspent Transaction Output) is the output of a Bitcoin transaction that has not yet been used as an input in another transaction.
What does SegWit (Segregated Witness) separate from Bitcoin transactions?
Answer: The witness data (signatures) from the transaction data
SegWit separates signature (witness) data from transaction data, fixing transaction malleability and effectively increasing block capacity.
What is 'transaction malleability' in Bitcoin?
Answer: The ability to alter a transaction's ID without invalidating its signature
Transaction malleability was a bug allowing third parties to change a transaction's TXID without invalidating signatures, which SegWit fixed.