lnd/watchtower
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
..
blob multi: update to fn v2 2024-12-04 13:19:00 -07:00
lookout contractcourt+sweep+watchtower: use lnutils.SpewLogClosure for debug logging 2025-09-05 18:20:51 -07:00
wtclient refactor: use maps.Copy for cleaner map handling 2025-03-25 01:19:55 +08:00
wtdb linter: remove unsupported linters from the codebase 2025-11-12 22:54:02 +08:00
wtmock input+signrpc+lnwallet+multi: implement combined nonce support 2025-12-10 07:15:06 +02:00
wtpolicy multi: apply the new type lntypes.WeightUnit 2024-05-25 13:37:13 +08:00
wtserver multi: start updating various loggers to use the new v2 type 2024-10-22 17:03:55 +02:00
wtwire multi: fix some function names in interface comment 2024-11-25 10:49:00 +08:00
conf.go multi: add default watchtower config to main LND config 2023-06-15 11:36:44 +02:00
config.go multi: Add --tor.encryptkey flag functionality to encrypt the Tor private key on disk 2022-09-30 01:53:46 -05:00
errors.go watchtower/conf: remove experimental conditional compilation 2019-06-13 19:54:19 -07:00
interface.go watchtower/conf: abstract address normalizer to prevent import cycle 2019-06-13 19:54:19 -07:00
log.go multi: start updating various loggers to use the new v2 type 2024-10-22 17:03:55 +02:00
standalone.go server.go+accessman.go: introduce caches for access permissions 2025-03-11 20:42:34 -04:00
tlv_bench_test.go multi: replace ioutil.Discard 2024-04-25 11:23:54 +02:00