{"type":"rich","version":"1.0","author_name":"npub1798ncudyucap9jzzujjsgufx8tdykm8auzfledjcs6f6wf4ekqvq8lpmjt","author_url":"https://nostr.ae/npub1798ncudyucap9jzzujjsgufx8tdykm8auzfledjcs6f6wf4ekqvq8lpmjt","provider_name":"njump","provider_url":"https://nostr.ae","html":"📅 Original date posted:2015-03-12\n📝 Original message:Den 12 mar 2015 17:48 skrev \"Mike Hearn\" \u003cmike at plan99.net\u003e:\n\u003e\u003e\n\u003e\u003e b) \"Creation date\" is just a short-term hack.\n\u003e\n\u003e\n\u003e I agree, but we need things to be easy in the short term as well as the\nlong term :)\n\u003e\n\u003e The long term solution is clearly to have the 12 word seed be an\nencryption key for a wallet backup with all associated metadata. We're\nheading in that direction one step at a time. Unfortunately it will take\ntime for wallets to start working this way, and all the pieces to fall into\nplace. Restoring from the block chain will be a semi regular operation for\nusers until then.\n\nThis have been mentioned a few times before, and what I think is necessary\nis to create a common file format that can be interpreted by a library\nwhich all wallets can use. I see it as similar as the work to create\nlibconsensus for parsing the blockchain.\n\nWe need something extensible that can describe how to derive all addresses\nused by the user. What HD branches to derive and how, with block numbers\n(or bloom filters of block hashes or similar) to note where all previously\nknown transactions related to the wallet have occurred, and the last known\nblock (so only new blocks need to be scanned).\n\nA way to describe one HD tree as a multisignature wallet tied to a hardware\nwallet if you have that (could include serial number or MAC of the device\nfor simple identification by the wallet client). A way to describe another\nset of addresses as using a custom extension. A way to denote one private\nkey as being used for stealth addresses together with details for how to\nidentify the transactions (prefix, mailbox to look in, etc). Labels for\ntransactions. P2SH script templates so those addresses can be recovered. A\nway to describe Copay style multisignature wallets and what server to use\nfor coordinating with the other coowners. A way to describe threshold\ncrypto group signature wallets and how to coordinate. Computer parsable\ndescriptions of HD branches as change addresses, as being used for\nreceiving payments in merchant payment systems, etc... Also, you should\nreally be talking to people like accountants and auditors to see what\nfeatures they'd like to see when it comes to things like how company\nwallets could have rules defined for how to use the various HD branches.\n\nAnd so on... I think you get my point by now.\n\nThe basic idea is that the wallet uses the library to parse the wallet file\nand tells the user which sections it understands (can't expect all wallets\nto handle custom extensions or stealth addresses, etc), then proceeds to\nscan the blockchain for those addresses. Then the user also won't be\nsurprised that not all funds are found and won't think they're lost.\n\nI think it should be referred to as an import/export format, more than as a\nbackup format.\n\nYou always want the most recent metadata the wallet of origin can provide\nwhen importing, to reduce unnecessary extra work. You don't want really old\nbackup files. If people add new seeds and various new extensions that can't\nbe automatically recovered from old wallet backups, they need new backups.\nYou might as well use the wallet's own internal formats for backup, as the\nwallet developer might better know how to optimize for the use cases he\nhave designed for. But at the same time we should ask wallet developers to\noffer conversion tools to generate export format files from custom wallet\ndata files.\n-------------- next part --------------\nAn HTML attachment was scrubbed...\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20150312/8331a17a/attachment.html\u003e"}
