Questions tagged [output-script]

3 questions
3
votes
1 answer

Why is concatenating scriptPubKeys and scriptSigs unsafe?

Around the 5:00 timestamp in this talk, John Newbery states that running the concatenation of scriptPubKey and scriptSig is unsafe, since it can result in someone using a carefully crafted scriptSig in order to spend any output. What would such a…
2
votes
1 answer

What is the content of ScriptPubKey for P2WPKH?

What is the content of ScriptPubKey for P2WPKH? Master bitcoin book 2end edition says the following (link): Example P2WPKH output script 0 ab68025513c3dbd2f7b92a94e0581f5d50f654e7 In programming Bitcoin by Jimmy Song, it says the following: The…
joke
  • 67
  • 5
1
vote
3 answers

How can clients know the destination address for this P2WPKH transaction?

This is the raw hex of a random transaction I picked up on the…
Pedro D.
  • 13
  • 2