lnd/chanacceptor
George Tsagkarelis 58231f1ff8
chanacceptor: map SIMPLE_TAPROOT_FINAL in rpc acceptor
The feature-bits-to-lnrpc-enum switch in sendAcceptRequests covered
every commitment type the RPC acceptor can be asked about, except the
production taproot variant introduced alongside the prod-taproot-chans
work. For a channel open using SimpleTaprootChannelsRequiredFinal (with
any combination of the scid-alias / zero-conf modifiers), the switch
fell through to the default branch, which logs a warning and leaves
commitmentType at its zero value -- lnrpc.CommitmentType_UNKNOWN_COMMITMENT_TYPE.
External acceptor clients then see UNKNOWN rather than the actual
commitment type and either reject or misclassify the channel.

Add the four missing cases so the new commitment type is reported to
acceptor clients correctly.
2026-04-20 16:00:25 +02:00
..
acceptor_test.go rpc: validate closing channel address in open channel requests 2023-01-04 04:42:39 -08:00
chainedacceptor.go multi: add zeroconfacceptor that default rejects if no rpc acceptors 2022-08-12 16:30:42 -04:00
errors.go multi: add custom error messages to channel acceptor 2020-11-10 11:38:47 +02:00
interface.go multi: add zeroconfacceptor that default rejects if no rpc acceptors 2022-08-12 16:30:42 -04:00
log.go multi: start updating various loggers to use the new v2 type 2024-10-22 17:03:55 +02:00
merge.go server+funding: allow scid-alias, zero-conf chantypes, scid-alias 2022-07-07 17:10:28 -04:00
merge_test.go server+funding: allow scid-alias, zero-conf chantypes, scid-alias 2022-07-07 17:10:28 -04:00
rpcacceptor.go chanacceptor: map SIMPLE_TAPROOT_FINAL in rpc acceptor 2026-04-20 16:00:25 +02:00
rpcacceptor_test.go rpc: validate closing channel address in open channel requests 2023-01-04 04:42:39 -08:00
zeroconfacceptor.go multi: add zeroconfacceptor that default rejects if no rpc acceptors 2022-08-12 16:30:42 -04:00
zeroconfacceptor_test.go multi: add zeroconfacceptor that default rejects if no rpc acceptors 2022-08-12 16:30:42 -04:00