LNP-BP / LNPBPs

LNP/BP standards for bitcoin layer 2 & 3 protocols
https://standards.lnp-bp.org
202 stars 39 forks source link

LNPBP-2: Miniscript determinism can't be used for key tweaks #83

Closed dr-orlovsky closed 3 years ago

dr-orlovsky commented 3 years ago

With miniscript it's impossible to do a round trips for many scripts, including ones used in LN. Thus, while miniscript can be used to detect public keys or their hashes, it can't be used for replacing keys with tweaked version. A new mechanism of deterministic key replacement must be proposed, that also has to take into an account that all copies of the key must be replaced with a tweaked version

dr-orlovsky commented 3 years ago

It was decided to stick with an option of "leave it as is"