What is Nostr?
Gavin Andresen [ARCHIVE] /
npub1s4lโ€ฆ44kw
2023-06-07 17:45:45

Gavin Andresen [ARCHIVE] on Nostr: ๐Ÿ“… Original date posted:2015-12-11 ๐Ÿ“ Original message:On Fri, Dec 11, 2015 at ...

๐Ÿ“… Original date posted:2015-12-11
๐Ÿ“ Original message:On Fri, Dec 11, 2015 at 11:18 AM, Jorge Timรณn <jtimon at jtimon.cc> wrote:

> This is basically what I meant by
>
> struct hashRootStruct
> {
> uint256 hashMerkleRoot;
> uint256 hashWitnessesRoot;
> uint256 hashextendedHeader;
> }
>
> but my design doesn't calculate other_root as it appears in your tree (is
> not necessary).
>
> It is necessary to maintain compatibility with SPV nodes/wallets.

Any code that just checks merkle paths up into the block header would have
to change if the structure of the merkle tree changed to be three-headed at
the top.

If it remains a binary tree, then it doesn't need to change at all-- the
code that produces the merkle paths will just send a path that is one step
deeper.

Plus, it's just weird to have a merkle tree that isn't a binary tree.....

--
--
Gavin Andresen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20151211/2f95a032/attachment-0001.html>;
Author Public Key
npub1s4lj77xuzcu7wy04afcr487f0r3za0f8n2775xrpkld2sv639mjqsd44kw