Thomas Voegtlin [ARCHIVE] on Nostr: π
Original date posted:2014-04-24 π Original message:Le 24/04/2014 09:10, ...
π
Original date posted:2014-04-24
π Original message:Le 24/04/2014 09:10, Pieter Wuille a Γ©crit :
> To clarify:
> BIP64 has a much stricter definition for accounts than BIP32.
>
> In BIP32, it is not well specified what accounts are used for. They
> can be used for "subwallets", "receive accounts" (as in bitcoind's
> account feature), "recurring payments", part of a chain used as
> multisig addresses, ... determined individually for each index.
>
> In BIP64, they are strictly used for subwallets, and can't be used by
> anything else.
>
yes, I saw that.
In particular, bip64 stipulates that the wallet "never mixes coins
across different accounts". This is not what Electrum does currently.
The UI allows you to chose between two modes: activate a single account
(and the wallet will only use UTXOs from that acccount), or activate all
accounts (and spend from all of them simultaneously).
Concerning multisig addresses, I have changed my mind: Electrum will use
parallel BIP32 trees. A wallet will not mix standard and multisig
accounts. I think that is better in terms of UX.
I agree with Mike Hearn's view that wallets with multiple accounts are
probably too difficult to deal with for most users. If a user feels the
need to have different "accounting identities", they will probably
create different wallet files, instead of creating bip32 subwallets.
However, since multiple subwallets have been asked by many users,
Electrum will propose them. But this should not be the default. More
important, multiple accounts should never be required (in my previous
implementation, they were required for multisig, because the wallet was
creating multisig addresses in dedicated multisig accounts)
Thomas
Published at
2023-06-07 15:18:04Event JSON
{
"id": "d4e0e925a18cd78719376742270b2951ea66c97b8eee90cb382ab8c77e595ce6",
"pubkey": "7a4ba40070e54012212867182c66beef592603fe7c7284b72ffaafce9da20c05",
"created_at": 1686151084,
"kind": 1,
"tags": [
[
"e",
"3d6a81230db6ab232d8356d3ea7e609f18aff1b8f11502ea70755e81b0de88f9",
"",
"root"
],
[
"e",
"674c85688b2d1a9c2f571b46c38e6ad064c6b3e8c1654c57a90b5ce504a28974",
"",
"reply"
],
[
"p",
"7a4ba40070e54012212867182c66beef592603fe7c7284b72ffaafce9da20c05"
]
],
"content": "π
Original date posted:2014-04-24\nπ Original message:Le 24/04/2014 09:10, Pieter Wuille a Γ©crit :\n\u003e To clarify:\n\u003e BIP64 has a much stricter definition for accounts than BIP32.\n\u003e \n\u003e In BIP32, it is not well specified what accounts are used for. They\n\u003e can be used for \"subwallets\", \"receive accounts\" (as in bitcoind's\n\u003e account feature), \"recurring payments\", part of a chain used as\n\u003e multisig addresses, ... determined individually for each index.\n\u003e \n\u003e In BIP64, they are strictly used for subwallets, and can't be used by\n\u003e anything else.\n\u003e \n\nyes, I saw that.\n\nIn particular, bip64 stipulates that the wallet \"never mixes coins\nacross different accounts\". This is not what Electrum does currently.\nThe UI allows you to chose between two modes: activate a single account\n(and the wallet will only use UTXOs from that acccount), or activate all\naccounts (and spend from all of them simultaneously).\n\nConcerning multisig addresses, I have changed my mind: Electrum will use\nparallel BIP32 trees. A wallet will not mix standard and multisig\naccounts. I think that is better in terms of UX.\n\nI agree with Mike Hearn's view that wallets with multiple accounts are\nprobably too difficult to deal with for most users. If a user feels the\nneed to have different \"accounting identities\", they will probably\ncreate different wallet files, instead of creating bip32 subwallets.\n\nHowever, since multiple subwallets have been asked by many users,\nElectrum will propose them. But this should not be the default. More\nimportant, multiple accounts should never be required (in my previous\nimplementation, they were required for multisig, because the wallet was\ncreating multisig addresses in dedicated multisig accounts)\n\nThomas",
"sig": "50f4772b12e68611ca24bc2cc6557db7c6b59b8bd8c6ea4834754d3e4e6682709c291ff0d0bbf4b3221c24a03fca12cce5f8d0063c403b733920cc2a91c36ab8"
}