lnd/input
Elle Mouton c945f6749e
input+signrpc+lnwallet+multi: implement combined nonce support
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.
2025-12-10 07:15:06 +02:00
..
fuzz_script_is_op_return_test.go input: add new ScriptIsOpReturn helper func 2025-03-18 11:44:20 -05:00
input.go multi: update to fn v2 2024-12-04 13:19:00 -07:00
mocks.go input+signrpc+lnwallet+multi: implement combined nonce support 2025-12-10 07:15:06 +02:00
musig2.go input+signrpc+lnwallet+multi: implement combined nonce support 2025-12-10 07:15:06 +02:00
musig2_session_manager.go input+signrpc+lnwallet+multi: implement combined nonce support 2025-12-10 07:15:06 +02:00
musig2_test.go multi: add version to MuSig2 API, bump btcd/btcec to v2.3.2 2023-02-03 18:30:10 +01:00
script_desc.go lnwallet: add Tree() method, fix formatting 2024-08-23 10:58:13 +02:00
script_utils.go input: add new ScriptIsOpReturn helper func 2025-03-18 11:44:20 -05:00
script_utils_test.go input: add exhaustive unit tests for new taproot scripts 2023-08-22 16:30:23 -07:00
signdescriptor.go contractcourt: update UTXO nursery to support taproot chans 2023-08-22 16:33:42 -07:00
signdescriptor_test.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
signer.go signer: fix comment about p2tr in ComputeInputScript 2022-06-29 18:28:59 +02:00
size.go multi: rename nolint:lll to nolint:ll 2024-12-02 09:14:21 +02:00
size_test.go multi: rename nolint:lll to nolint:ll 2024-12-02 09:14:21 +02:00
taproot.go multi: update to fn v2 2024-12-04 13:19:00 -07:00
taproot_test.go multi: update to fn v2 2024-12-04 13:19:00 -07:00
test_utils.go input+wallet: extract musig2 session management into new module 2023-08-22 16:30:39 -07:00
txout.go multi: move Input interface and related code 2019-01-31 13:25:33 +01:00
txout_test.go multi: move Input interface and related code 2019-01-31 13:25:33 +01:00
witnessgen.go multi: apply the new type lntypes.WeightUnit 2024-05-25 13:37:13 +08:00