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
๐ 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