mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-14 12:42:48 +02:00
Add CombinedNonce() and RegisterCombinedNonce() methods with full implementation stack. Interface and core implementation: - input/musig2.go: Added methods to MuSig2Session and MuSig2Signer interfaces - input/musig2_session_manager.go: MusigSessionManager implementation using HaveAllNonces flag for state tracking (simplified, no extra fields) - internal/musig2v040: Stub implementations returning ErrUnsupportedMethod - Mock implementations (MockInputSigner, MockSigner, DummySigner) RPC layer: - lnrpc/signrpc/signer.proto: RPC method definitions and messages - lnrpc/signrpc/signer.yaml: REST API endpoint mappings - Generated protobuf code (all .pb.go files) - lnwallet/rpcwallet/rpcwallet.go: RPCKeyRing client implementation The proto types and RPCKeyRing are added together since RPCKeyRing implements the Signer interface and requires proto types to fulfill the contract. For v0.4.0, these methods return ErrUnsupportedMethod. Use MuSig2Version100RC2 to access these features. |
||
|---|---|---|
| .. | ||
| fuzz_script_is_op_return_test.go | ||
| input.go | ||
| mocks.go | ||
| musig2.go | ||
| musig2_session_manager.go | ||
| musig2_test.go | ||
| script_desc.go | ||
| script_utils.go | ||
| script_utils_test.go | ||
| signdescriptor.go | ||
| signdescriptor_test.go | ||
| signer.go | ||
| size.go | ||
| size_test.go | ||
| taproot.go | ||
| taproot_test.go | ||
| test_utils.go | ||
| txout.go | ||
| txout_test.go | ||
| witnessgen.go | ||