mirror of
https://github.com/bitcoin/bips.git
synced 2026-03-30 16:06:44 +00:00
BIP360: Pay to Merkle Root (P2MR) (#1670)
Review comments and assistance by: Armin Sabouri <armins88@gmail.com> D++ <82842780+dplusplus1024@users.noreply.github.com> Jameson Lopp <jameson.lopp@gmail.com> jbride <jbride2001@yahoo.com> Joey Yandle <xoloki@gmail.com> Jon Atack <jon@atack.com> Jonas Nick <jonasd.nick@gmail.com> Kyle Crews <kylecrews@Kyles-Mac-Studio.local> Mark "Murch" Erhardt <murch@murch.one> notmike-5 <notmike-5@users.noreply.github.com> Vojtěch Strnad <43024885+vostrnad@users.noreply.github.com> Co-authored-by: Ethan Heilman <ethan.r.heilman@gmail.com> Co-authored-by: Isabel Foxen Duke <110147802+Isabelfoxenduke@users.noreply.github.com>
This commit is contained in:
36
bip-0360/ref-impl/rust/docs/quantum_root_tap_tree.txt
Normal file
36
bip-0360/ref-impl/rust/docs/quantum_root_tap_tree.txt
Normal file
@@ -0,0 +1,36 @@
|
||||
┌───────────────────────┐
|
||||
│ tapleaf Merkle root │
|
||||
│ │
|
||||
└───────────────────────┘
|
||||
|
|
||||
┌───────────────────────┐
|
||||
│ 5 tagged_hash │
|
||||
│ QuantumRoot │
|
||||
└───────────|───────────┘
|
||||
┌───────────|───────────┐
|
||||
┌───────────────────────────────►│ 4 tagged_hash ◄─────────────────────┐
|
||||
│ │ TapBranch │ │
|
||||
│ └───────────────────────┘ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ ┌─────────────┼───────────┐
|
||||
│ │ 3 tagged_hash │
|
||||
│ ┌──►│ TapBranch ◄───────┐
|
||||
│ │ └─────────────────────────┘ │
|
||||
│ │ │
|
||||
│ │ │
|
||||
┌───────────┼────────────┐ ┌───────┼────────┐ │
|
||||
┌─────►│ 2 tagged_hash ◄────┐ ┌─────►│ 2 tagged_hash ◄────┐ │
|
||||
│ │ TapBranch │ │ │ │ TapBranch │ │ │
|
||||
│ └────────────────────────┘ │ │ └────────────────┘ │ │
|
||||
│ │ │ │ │
|
||||
│ │ ┌─────┼────────┐ ┌───────|───-─┐ ┌──────┴──────┐
|
||||
┌───┼──────────┐ ┌──────────┼──┐ │ 1 tagged_hash│ │1 tagged_hash│ │1 tagged_hash│
|
||||
│1 tagged_hash │ │1 tagged_hash│ │ Tapleaf │ │ Tapleaf │ │ Tapleaf │
|
||||
│ Tapleaf │ │ Tapleaf │ └──────────────┘ └─────────────┘ └─────────────┘
|
||||
└──▲───────────┘ └──────▲──────┘ ▲ ▲ ▲
|
||||
│ │ │ │ │
|
||||
version | A script version | B script version | C script version | D script version|E script
|
||||
Reference in New Issue
Block a user