What is Nostr?
Amir Taaki [ARCHIVE] /
npub1ep4ā€¦3rel
2023-06-07 10:45:35
in reply to nevent1qā€¦5g2w

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
Author Public Key
npub1ep4j5tjp6cd2774hrx96vh845dwqzhe3z7n3a2a9uxdm2dajqpgscm3rel