Skip to content

Fail litd startup on tapd startup error when taproot-assets-mode=enable #1181

@ViktorT-11

Description

@ViktorT-11

Since lnd may call into tapd when it is enabled, tapd must be started successfully before those calls are made.

Previously, we've allowed litd to start successfully even if one or more sub-servers (except lnd) failed during startup. The reasoning behind this decision was that bugs in individual sub-servers should not prevent users from running the rest of their litd node until those bugs are patched.

However, because tapd is tightly coupled to lnd when it is in use, we need to modify this behavior specifically for the tapd sub-server. If tapd is enabled and errors during the startup, litd should also fail to start.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

🆕 New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions