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

blip-0037: Bolt 12 encoded wallet node_id #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jul 3, 2024

  1. blip-0037: Bolt 12 encoded wallet node_id

    [Bolt 12](lightning/bolts#798) introduces a new
    `sciddir_or_pubkey` field that can be used to identify the introduction
    node of a blinded path. This is primarily used to reduce the size of
    encoded offers, but this encoding trick can be extended to carry more
    information about the node it's referencing. We introduce an additional
    prefix to this field to tag `node_id`s that belong to mobile wallets.
    
    When relaying a payment or an onion message, wallet providers usually
    want to offer additional features to mobile wallets. Encoding the
    information that the next node is a mobile wallet directly inside the
    onion payload makes it easy for the relaying node to efficiently insert
    additional steps before relaying (such as trying to wake-up the wallet
    if it is offline) without negatively impacting relay to normal nodes.
    t-bast committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    561f628 View commit details
    Browse the repository at this point in the history