mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
630fc36dcf
In this commit, we add a new field `TapTweak` to be used for key path spends. Before this commit, we'd overload the existing `WitnessScript` field to pass this information to the signing context. This was confusing as for tapscript spends, this was the leaf script, which mirrors the other script based spending types. With this new filed, users need to set this to the script root for keypath spends where the output key commits to a real merkle root, and nothing when bip 86 spending is being used. To make the signing even more explicit, we also add a new field called sign_method with an enum type that differentiates between the different segwit v0 and v1 signing methods. Fixes https://github.com/lightningnetwork/lnd/issues/6446. |
||
---|---|---|
.. | ||
config_active.go | ||
config_default.go | ||
driver.go | ||
log.go | ||
signer_grpc.pb.go | ||
signer_server.go | ||
signer.pb.go | ||
signer.pb.gw.go | ||
signer.pb.json.go | ||
signer.proto | ||
signer.swagger.json | ||
signer.yaml |