Pavol Rusnak [ARCHIVE] on Nostr: š
Original date posted:2017-09-07 š Original message:On 07/09/17 21:35, Andreas ...
š
Original date posted:2017-09-07
š Original message:On 07/09/17 21:35, Andreas Schildbach via bitcoin-dev wrote:
> In case of Bitcoin Wallet, the depth is not null (m/0'/[0,1]) and still
> we need this field.
But the depth of exported public key will be null. It does not make
sense to export xpub for m or m/0' for your particular case.
> I think it should always be present if a chain is
> limited to a certain script type.
I am fine with having the path there all the time.
> There is however the case where even on one chain, script types are
> mixed. In this case the field should be omitted and the wallet needs to
> scan for all (known) types. Afaik Bitcoin Core is taking this path.
Is that really the case? Why come up with a hierarchy and then don't use it?
--
Best Regards / S pozdravom,
Pavol "stick" Rusnak
CTO, SatoshiLabs
Published at
2023-06-07 18:05:32Event JSON
{
"id": "37f2cebb44b2616fb75a141c11906396d65852b5ca945158ad4674956f3741e4",
"pubkey": "7631397e469f47f3535567311f5f7c17129e0ff2cb253df015e3d92ddfd92c63",
"created_at": 1686161132,
"kind": 1,
"tags": [
[
"e",
"8b6c82e376bdda93cb2f70dd4782d9cc9d7453907841b893f7135515b4f67b4c",
"",
"root"
],
[
"e",
"4a8271d6d1daa2e89b775718422df9283079511681a4da01398d5770fa7ec2e0",
"",
"reply"
],
[
"p",
"3215b3d77dff1f84eeb5ad46fb1206a8d1657b3ea765a80b5489ece3a702d2bc"
]
],
"content": "š
Original date posted:2017-09-07\nš Original message:On 07/09/17 21:35, Andreas Schildbach via bitcoin-dev wrote:\n\u003e In case of Bitcoin Wallet, the depth is not null (m/0'/[0,1]) and still\n\u003e we need this field.\n\nBut the depth of exported public key will be null. It does not make\nsense to export xpub for m or m/0' for your particular case.\n\n\u003e I think it should always be present if a chain is\n\u003e limited to a certain script type.\n\nI am fine with having the path there all the time.\n\n\u003e There is however the case where even on one chain, script types are\n\u003e mixed. In this case the field should be omitted and the wallet needs to\n\u003e scan for all (known) types. Afaik Bitcoin Core is taking this path.\n\nIs that really the case? Why come up with a hierarchy and then don't use it?\n\n-- \nBest Regards / S pozdravom,\n\nPavol \"stick\" Rusnak\nCTO, SatoshiLabs",
"sig": "3645ee939e10ff9c5f0712c70d8c2eb6638c14a5e762bdb98f7d03f3137fb4a608531204ce4dc6500a4d765bc66440c2840699636a3819332d12d8379e7526bd"
}