On Tue, Apr 8, 2014 at 3:18 PM, Pieter Wuille <pieter.wuille@gmail.com> wrote:
I still don't understand the purpose of cointype. If you don't want to
risk reusing the same keys across different currencies, just don't use
the same seed or the same account? That is purely a client-side issue.


Of course it is purely client-side issue, but it matters.

There's actually no reason to generate, backup and store individual seeds for various coins and purposes. User can handle all his identities and altcoins with single seed, avoiding potential issues with using wrong seed for other purposes.

Actually with accounts and cointypes in the path, you can have all your crypto funds stored on single seed, which I see as very comfortable solution.

But to gain advantages of such solution and avoid reusing the same path across blockchains, we need to separate the space, which is achieved by cointype.
 
If the consensus is to add the cointype anyway, can we fix it to be
equal to the 4-byte magic in the serialization (after setting the high
bit to true)? That way there aren't two 4-byte magic codes that need
to be defined for each, and at the same time make it obvious from the
serialized form what it is for.


Serialization magic of bip32 seed is in my opinion completely unnecessary. Most of software does not care about it anyway; You can use xprv/xpub pair for main net, testnet, litecoin, dogecoin, whatevercoin.

Instead using the same seed (xprv) and then separate the chains *inside* the bip32 path seems more useful to me.

Marek