ZmnSCPxj <zmnsc...@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. _______________________________________________ Lightning-dev mailing list Lightning-dev@lists.linuxfoundation.org https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev