Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compact node id #598

Closed
wants to merge 2 commits into from
Closed

Compact node id #598

wants to merge 2 commits into from

Conversation

thomash-acinq
Copy link
Member

@thomash-acinq thomash-acinq commented Feb 12, 2024

Adds the NodeId interface that can be either a public key or a pair channel id, direction that's more compact.
This is used as introduction node for blinded routes.
We also use NodeId for the next node to relay a message to. Which is not in the spec but is necessary for us since we have no way to resolve the compact node id to a public key ourselves. It requires a compatible peer that accepts this format.

Depends on #586 and require ACINQ/eclair#2821

@thomash-acinq thomash-acinq mentioned this pull request Feb 12, 2024
Create a new `NodeId` that can be either a public key or a compact node id (channel id and direction).
Because we don't have access to the network graph, we can't resolve compact node ids ourselves.
@thomash-acinq
Copy link
Member Author

Replace by #601 that removes the dependence on Postman

@pm47 pm47 deleted the compact-node-id branch October 18, 2024 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant