Repository navigation
feat(gateways): support LNv2 gateway discovery and monitoring - #133
Open
sadeeqrabiu wants to merge 1 commit into
Open
sadeeqrabiu wants to merge 1 commit into
sadeeqrabiu wants to merge 1 commit into
Conversation
Add discovery, probing, and monitoring for LNv2 gateways alongside existing LNv1 registrations: - Add `fedimint-lnv2-common` v0.12.0 dependency to workspace and server. - Introduce schema `v11.sql` with multi-protocol gateway support, `protocol` column, compound primary key, and `lnv2_gateway_keys` table. - Query LNv2 `gateways` consensus endpoint and probe `routing_info` with bounded timeout and concurrency. - Merge dual-protocol gateways when lightning node pubkey and normalized API URLs match. - Preserve backward-compatibility on `/config/:invite/gateways` via opt-in `?protocols=all` query parameter. - Mirror new gateway types and status enums in `fmo_api_types` and frontend TypeScript definitions. Closes fedimint#132 Ref: fedimint#132
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add discovery, probing, and monitoring for LNv2 gateways alongside existing LNv1 registrations:
fedimint-lnv2-commonv0.12.0 dependency to workspace and server.v11.sqlwith multi-protocol gateway support,protocolcolumn, compound primary key, andlnv2_gateway_keystable.gatewaysconsensus endpoint and proberouting_infowith bounded timeout and concurrency./config/:invite/gatewaysvia opt-in?protocols=allquery parameter.fmo_api_typesand frontend TypeScript definitions.Closes #132
Ref: #132