pull down to refresh

Decoding #1: Standard VS non-Standard Scripts

1- Standard Script

Standard scripts are predefined and widely accepted transaction scripts in Bitcoin.
  • Key Features:
    • Predefined templates (e.g., P2PKH, P2SH).
    • Well-tested and quickly verified by nodes.
    • Widely relayed and accepted on the network.
Below is a timeline of different output script types before and after SegWit.

NOTE: Relay Policy

Bitcoin Core will only relay transactions by default that pass the IsStandardTx() check. However, miners are still free to include (valid!) non-standard transactions in their blocks.

2- Non-Standard Scripts

  • Non-standard scripts deviate from commonly used templates for transaction.
  • Standard scripts, such as P2PKH and P2SH, are widely recognized and accepted by nodes. Any script that deviates from these templates is considered non-standard and will not be relayed by the network.
  • They are valid but are not relayed by most nodes for safety reasons.
Remember this pls => Non-standard scripts are still VALID

Question: What if I want my Non-Standard Transaction Relayed and Mined?

So tell us more about it
reply
what specific part should I expand on? Relaying non-standard txs or smth else
reply
How it works
reply
We need more posts like this!
reply
This is our first post
If ppl find this series of posts valuable, we’ll continue sharing more content here
reply