Amir Taaki [ARCHIVE] on Nostr: š Original date posted:2012-12-03 š Original message:ok, also what is the ...
š
Original date posted:2012-12-03
š Original message:ok, also what is the reasoning behind serialising points using a compressed format before going into the hash function? I'm looking at the sec1-v2.pdf and the compression format is a little confusing.
I think the octet string for X is 32 bytes (using q = curve.order) and secp256k1 is a prime field so we follow step 2.2.1
________________________________
From: Pieter Wuille <pieter.wuille at gmail.com>
To: Amir Taaki <zgenjix at yahoo.com>
Cc: "bitcoin-development at lists.sourceforge.net" <bitcoin-development at lists.sourceforge.net>
Sent: Monday, December 3, 2012 2:54 PM
Subject: Re: [Bitcoin-development] BIP 32 HD wallets, accounts should be labels not numbers
On Mon, Dec 3, 2012 at 2:49 PM, Amir Taaki <zgenjix at yahoo.com> wrote:
Can this be amended? I think it makes much more sense to allow people to input labels not numbers at this level.
>
>General category names for different accounts is much more human than numbers, and you can still use incrementing numbers if you prefer.
>
There is no way to iterate over all strings. The intention is that a wallet application can detect a new account that becomes in use (e.g. during disaster recovery), so the accounts get assigned incrementing numbers.
I wouldn't mind adding the ability to do "non-standard derivations" using arbitrary strings, if this recoverability property is not desired.
--Ā
Pieter
š Original message:ok, also what is the reasoning behind serialising points using a compressed format before going into the hash function? I'm looking at the sec1-v2.pdf and the compression format is a little confusing.
I think the octet string for X is 32 bytes (using q = curve.order) and secp256k1 is a prime field so we follow step 2.2.1
________________________________
From: Pieter Wuille <pieter.wuille at gmail.com>
To: Amir Taaki <zgenjix at yahoo.com>
Cc: "bitcoin-development at lists.sourceforge.net" <bitcoin-development at lists.sourceforge.net>
Sent: Monday, December 3, 2012 2:54 PM
Subject: Re: [Bitcoin-development] BIP 32 HD wallets, accounts should be labels not numbers
On Mon, Dec 3, 2012 at 2:49 PM, Amir Taaki <zgenjix at yahoo.com> wrote:
Can this be amended? I think it makes much more sense to allow people to input labels not numbers at this level.
>
>General category names for different accounts is much more human than numbers, and you can still use incrementing numbers if you prefer.
>
There is no way to iterate over all strings. The intention is that a wallet application can detect a new account that becomes in use (e.g. during disaster recovery), so the accounts get assigned incrementing numbers.
I wouldn't mind adding the ability to do "non-standard derivations" using arbitrary strings, if this recoverability property is not desired.
--Ā
Pieter