Pavol Rusnak [ARCHIVE] on Nostr: π
Original date posted:2017-09-06 π Original message:On 05/09/17 19:03, Luke ...
π
Original date posted:2017-09-06
π Original message:On 05/09/17 19:03, Luke Dashjr via bitcoin-dev wrote:
> I think it makes more sense to use a child number field for this purpose.
> It seems desirable to use the same seed for all different script formats...
If I were designing the serialization format today, I would drop the
fingerprint and expand child number to full BIP32 path. Good thing is
that we already have depth, so we know how long the BIP32 path would be.
So I suggest the following:
4 byte: version bytes
1 byte: depth
depth * 4 bytes: bip32 path
32 bytes
33 bytes
--
Best Regards / S pozdravom,
Pavol "stick" Rusnak
CTO, SatoshiLabs
Published at
2023-06-07 18:05:22Event JSON
{
"id": "a8c93ab4fa9e2a33f5610214dcb214298a75a6adcd8907964e0cf4fcaf24cfb1",
"pubkey": "7631397e469f47f3535567311f5f7c17129e0ff2cb253df015e3d92ddfd92c63",
"created_at": 1686161122,
"kind": 1,
"tags": [
[
"e",
"a923bf1bc525f39bcc8b2d79f1a19c60437c6f409ee33c9b06b9485d2e732c67",
"",
"root"
],
[
"e",
"eadd8f43589f03ea373601884d6babdd56dd5bd44502eccb4cffced82b191b3d",
"",
"reply"
],
[
"p",
"7a4ba40070e54012212867182c66beef592603fe7c7284b72ffaafce9da20c05"
]
],
"content": "π
Original date posted:2017-09-06\nπ Original message:On 05/09/17 19:03, Luke Dashjr via bitcoin-dev wrote:\n\u003e I think it makes more sense to use a child number field for this purpose.\n\u003e It seems desirable to use the same seed for all different script formats...\n\nIf I were designing the serialization format today, I would drop the\nfingerprint and expand child number to full BIP32 path. Good thing is\nthat we already have depth, so we know how long the BIP32 path would be.\n\nSo I suggest the following:\n\n4 byte: version bytes\n1 byte: depth\ndepth * 4 bytes: bip32 path\n32 bytes\n33 bytes\n\n-- \nBest Regards / S pozdravom,\n\nPavol \"stick\" Rusnak\nCTO, SatoshiLabs",
"sig": "22e9d9fe991f070f1c51846198d0b81887f64cb37839fb14f2ecffb30a9ddb97604ac8c28b4013072be6851ab69d08170e853c369c01e7f451188c425a67c327"
}