{"type":"rich","version":"1.0","author_name":"npub1m230cem2yh3mtdzkg32qhj73uytgkyg5ylxsu083n3tpjnajxx4qqa2np2","author_url":"https://nostr.ae/npub1m230cem2yh3mtdzkg32qhj73uytgkyg5ylxsu083n3tpjnajxx4qqa2np2","provider_name":"njump","provider_url":"https://nostr.ae","html":"📅 Original date posted:2018-05-09\n📝 Original message:On Thu, May 10, 2018 at 04:19:31AM +0800, Johnson Lau wrote:\n\u003e \n\u003e \n\u003e \u003e On 10 May 2018, at 3:27 AM, Peter Todd \u003cpete at petertodd.org\u003e wrote:\n\u003e \u003e \n\u003e \u003e On Thu, May 10, 2018 at 01:56:46AM +0800, Johnson Lau via bitcoin-dev wrote:\n\u003e \u003e\u003e You should make a “0 fee tx with exactly one OP_TRUE output” standard, but nothing else. This makes sure CPFP will always be needed, so the OP_TRUE output won’t pollute the UTXO set\n\u003e \u003e\u003e \n\u003e \u003e\u003e Instead, would you consider to use ANYONECANPAY to sign the tx, so it is possible add more inputs for fees? The total tx size is bigger than the OP_TRUE approach, but you don’t need to ask for any protocol change.\n\u003e \u003e\u003e \n\u003e \u003e\u003e In long-term, I think the right way is to have a more flexible SIGHASH system to allow people to add more inputs and outputs easily.\n\u003e \u003e \n\u003e \u003e I don't think that will work, as a zero-fee tx won't get relayed even with\n\u003e \u003e CPFP, due to the fact that we haven't yet implemented package-based tx\n\u003e \u003e relaying.\n\u003e \u003e \n\u003e \u003e -- \n\u003e \u003e https://petertodd.org 'peter'[:-1]@petertodd.org\n\u003e \n\u003e My only concern is UTXO pollution. There could be a “CPFP anchor” softfork that outputs with empty scriptPubKey and 0 value are spendable only in the same block. If not spent immediately, they become invalid and are removed from UTXO. But I still think the best solution is a more flexible SIGHASH system, which doesn’t need CPFP at all.\n\nI don't see any reason why UTXO pollution would be a special concern so long as\nthose outputs are subject to the same dust rules as any other output is.\n\n-- \nhttps://petertodd.org 'peter'[:-1]@petertodd.org\n-------------- next part --------------\nA non-text attachment was scrubbed...\nName: signature.asc\nType: application/pgp-signature\nSize: 488 bytes\nDesc: not available\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20180509/17714285/attachment.sig\u003e"}
