Rusty Russell [ARCHIVE] on Nostr: 📅 Original date posted:2018-07-12 📝 Original message:DING FENG <dingfeng12345 ...
📅 Original date posted:2018-07-12
📝 Original message:DING FENG <dingfeng12345 at gmail.com> writes:
> Hi,
>
> I'm a junior developer and a bitcoin user.
> And I have read this thread carefully.
>
> I'm very worried about "SIGHASH_NOINPUT".
>
> Because "SIGHASH_NOINPUT" looks will be widely used, and it makes reuse
> address more dangerous.
No.
A wallet should *never* create a SIGHASH_NOINPUT to spend its own UTXOs.
SIGHASH_NOINPUT is useful for smart contracts which have unique
conditions, such as a pair of peers rotating keys according to an agreed
schedule (eg. lightning).
Cheers,
Rusty.
Published at
2023-06-07 18:13:27Event JSON
{
"id": "d26d5bbf7110a5988f9ca4484d40e85a34a5390ba7415746ffdd1b32ce8ee988",
"pubkey": "13bd8c1c5e3b3508a07c92598647160b11ab0deef4c452098e223e443c1ca425",
"created_at": 1686161607,
"kind": 1,
"tags": [
[
"e",
"9cfe46432c0fa07c164110c1acad44ea6d9df7a15d9bc858d6a0b516a4683320",
"",
"root"
],
[
"e",
"387abd22e8054bb7db06bb0a0076fd49365182057ad381cca6bf3ff47952af39",
"",
"reply"
],
[
"p",
"4505072744a9d3e490af9262bfe38e6ee5338a77177b565b6b37730b63a7b861"
]
],
"content": "📅 Original date posted:2018-07-12\n📝 Original message:DING FENG \u003cdingfeng12345 at gmail.com\u003e writes:\n\u003e Hi,\n\u003e\n\u003e I'm a junior developer and a bitcoin user.\n\u003e And I have read this thread carefully.\n\u003e\n\u003e I'm very worried about \"SIGHASH_NOINPUT\".\n\u003e\n\u003e Because \"SIGHASH_NOINPUT\" looks will be widely used, and it makes reuse\n\u003e address more dangerous.\n\nNo.\n\nA wallet should *never* create a SIGHASH_NOINPUT to spend its own UTXOs.\nSIGHASH_NOINPUT is useful for smart contracts which have unique\nconditions, such as a pair of peers rotating keys according to an agreed\nschedule (eg. lightning).\n\nCheers,\nRusty.",
"sig": "a3aeb3b727a194564fab26305c35a83a9c8c72d1de26a704c6e8bdada9862abc7715eb6e4d1109a4907d80424cecf7b789a0040b4c071d0a887f7cbbe66e0fa3"
}