Skip to main content
£0.00 0

Basket

No products in the basket.

ASIC mining articles and advice

BIP 360 Pay-to-Merkle-Root: P2MR Technical Guide

BIP 360 P2MR guide covering Draft soft-fork status, script-tree commitments, no key path, long-exposure quantum scope, witnesses, fees and activation.

BIP 360 Pay-to-Merkle-Root (P2MR) guide cover

This guide explains BIP 360 Pay-to-Merkle-Root (P2MR) in plain English. It covers the problem behind the BIP, why it matters and whether the proposal is part of Bitcoin today.

TL;DR

  • What it is: BIP 360 is a Draft consensus soft-fork proposal for Pay-to-Merkle-Root, or P2MR. The output commits directly to a tapscript tree root and removes Taproot’s key-path spend.
  • Why it matters: P2MR proposes a conservative script-tree option for reducing long-lived public-key exposure. Its benefit, cost and activation status must remain separate: it removes a key path, increases some spends and does not supply full post-quantum signatures.
  • Current position: This can avoid leaving an elliptic-curve public key exposed on-chain for long periods, but it does not solve short-exposure attacks against keys revealed while a spend waits in the mempool and it is not active Bitcoin consensus.

BIP 360 Pay-to-Merkle-Root (P2MR) in simple English

BIP 360 Pay-to-Merkle-Root (P2MR): The proposed output uses SegWit version 2 with a 32-byte script-tree Merkle root, producing a bech32m mainnet form beginning bc1z and scriptPubKey OP_2 plus the hash.

Simple example

A node operator is checking BIP 360 Pay-to-Merkle-Root (P2MR). BIP 360 is Draft, Specification, version 0.12.1 at the consensus soft-fork layer.

Key terms in plain English

BIP:
Bitcoin Improvement Proposal: a document describing a proposed rule, standard or process. Its status must be checked separately.
Consensus:
The shared rules full nodes use to decide whether blocks and transactions are valid.
Mempool:
A node’s changing local collection of valid, unconfirmed transactions.
Taproot:
A Bitcoin upgrade that added new signature and script options for spending outputs.
Node:
A computer running Bitcoin software that checks data and communicates with other peers.

Status and scope

BIP 360 is Draft, Specification, version 0.12.1 at the consensus soft-fork layer. No wallet should create spendable P2MR mainnet outputs without an activated rule set.

Output construction

The proposed output uses SegWit version 2 with a 32-byte script-tree Merkle root, producing a bech32m mainnet form beginning bc1z and scriptPubKey OP_2 plus the hash.

No key path

Unlike P2TR, P2MR omits the internal key and tweak. Every spend uses a revealed tapscript leaf, stack and Merkle proof.

BIP 360 Pay-to-Merkle-Root (P2MR) technical diagram
No key path: the fields, validation boundary and operational evidence that implementations need to agree.

Threat boundary

It targets long-exposure quantum key recovery from persistent public keys. It does not protect a public key exposed during an unconfirmed spend from a sufficiently fast short-exposure attack.

Witness

The control block is one byte plus 32 bytes per Merkle level and omits the internal key. Annex and tapscript concepts are otherwise deliberately reused.

Depth zero

A depth-zero tree succeeds without script execution under the proposal and is effectively anyone-can-spend, so practical construction should use depth one or more.

How specialists test it

Developers test the proposal with made-up data on an isolated test network. They check normal cases and deliberately invalid cases. Different implementations should reach the same result before anyone relies on the proposal.

Frequently asked questions

What is the main point of BIP 360 Pay-to-Merkle-Root (P2MR)?

BIP 360 Pay-to-Merkle-Root (P2MR): The proposed output uses SegWit version 2 with a 32-byte script-tree Merkle root, producing a bech32m mainnet form beginning bc1z and scriptPubKey OP_2 plus the hash.

For BIP 360 Pay-to-Merkle-Root (P2MR), what should a beginner know about status and scope?

BIP 360 is Draft, Specification, version 0.12.1 at the consensus soft-fork layer.

For BIP 360 Pay-to-Merkle-Root (P2MR), what should a beginner know about output construction?

The proposed output uses SegWit version 2 with a 32-byte script-tree Merkle root, producing a bech32m mainnet form beginning bc1z and scriptPubKey OP_2 plus the hash.

For BIP 360 Pay-to-Merkle-Root (P2MR), what should a beginner know about no key path?

Unlike P2TR, P2MR omits the internal key and tweak. Every spend uses a revealed tapscript leaf, stack and Merkle proof.

Conclusion

P2MR proposes a conservative script-tree option for reducing long-lived public-key exposure. Its benefit, cost and activation status must remain separate: it removes a key path, increases some spends and does not supply full post-quantum signatures.

Primary sources

Check the current specification status and the documentation for the exact implementation you operate before moving production funds or changing a mining node.

ASIC MINER PICKS

Recommended ASIC Mining Hardware

Compare three of our highest ranked ASIC miners currently available, with live product details and pricing.
Browse all ASIC miners
MORE MINING ADVICE

More ASIC Mining Articles

Read practical advice about choosing hardware, calculating electricity costs, setting up miners, hosting and maintenance.
MINER COMMUNITY

Join the ASIC Mining Discussion

Ask a question or share what has worked for you. Your experience may help another miner make a better decision.

Members can read and join the discussion

Log in to read comments from other miners. Create a free account if you would like to ask a question or share your experience.

Log in to read comments Register to join the discussion

Membership helps us protect the discussion from spam and keep answers useful.

ASIC MINING SUPPORT

Need Help Choosing an ASIC Miner?

Tell us what you want to mine, your electricity cost and where the machine will run. We can help you compare hardware, power requirements, hosting and repairs.
Contact our mining team
Browse ASIC miners