Rusty Russell [ARCHIVE] on Nostr: 📅 Original date posted:2018-12-02 📝 Original message: ZmnSCPxj <ZmnSCPxj at ...
📅 Original date posted:2018-12-02
📝 Original message:
ZmnSCPxj <ZmnSCPxj at protonmail.com> writes:
>> 128-bit seed in
>> open_channel2 could be added, with sorting by SHA(seed | <marshal of
>> input> | <marshal of witness>) and SHA(seed | <marshal of output>)?
>
> `open_channel2` contains a good amount of entropy --- temporary channel ID, various basepoints.
> Would not hashing `open_channel2` to get this `seed` be sufficient?
Good point. Something we already have to remember would be ideal, so
any of the basepoints would work, and is not exposed onchain.
seed = revocation_basepoint of open_channel2?
Cheers,
Rusty.
📝 Original message:
ZmnSCPxj <ZmnSCPxj at protonmail.com> writes:
>> 128-bit seed in
>> open_channel2 could be added, with sorting by SHA(seed | <marshal of
>> input> | <marshal of witness>) and SHA(seed | <marshal of output>)?
>
> `open_channel2` contains a good amount of entropy --- temporary channel ID, various basepoints.
> Would not hashing `open_channel2` to get this `seed` be sufficient?
Good point. Something we already have to remember would be ideal, so
any of the basepoints would work, and is not exposed onchain.
seed = revocation_basepoint of open_channel2?
Cheers,
Rusty.