mirror of
https://github.com/bitcoin/bips.git
synced 2025-03-04 03:03:53 +01:00
fixup! bip-tap: correct asset_tree_root
usage
This commit is contained in:
parent
71c83e5999
commit
deffebf4f7
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ asset ID. A given Taproot Asset tree is composed of two nested MS-SMT instances:
|
||||||
|
|
||||||
The root hash of an asset tree, observing [[../master/bip-0341.mediawiki|BIP-341]] is
|
The root hash of an asset tree, observing [[../master/bip-0341.mediawiki|BIP-341]] is
|
||||||
represented as a Tapscript tree that commits to a single unique leaf of:
|
represented as a Tapscript tree that commits to a single unique leaf of:
|
||||||
* <code>tagged_hash("TapLeaf", leaf_version || taproot_asset_marker || asset_tree_root || sum_value)</code>
|
* <code>tagged_hash("TapLeaf", leaf_version || taproot_asset_marker || taproot_asset_version || asset_tree_root || sum_value)</code>
|
||||||
|
|
||||||
where:
|
where:
|
||||||
* <code>taproot_asset_marker</code> is the <code>sha256</code> hash of the ascii string "taproot-assets".
|
* <code>taproot_asset_marker</code> is the <code>sha256</code> hash of the ascii string "taproot-assets".
|
||||||
|
|
Loading…
Add table
Reference in a new issue