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

lnwire+netann: update structure of g175 messages to be pure TLV #9175

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Commits on Dec 2, 2024

  1. Configuration menu
    Copy the full SHA
    4d46b5c View commit details
    Browse the repository at this point in the history
  2. lnwire: introduce PureTLVMessage

    PureTLVMessage describes an LN message that is a pure TLV stream. If the
    message includes a signature, it will sign all the TLV records in the
    inclusive ranges: 0 to 159 and 1000000000 to 2999999999.
    
    A comprehensive test is added that shows how two versions of the same
    message remain forward compatible.
    ellemouton committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    f20f507 View commit details
    Browse the repository at this point in the history
  3. lnwire: let ChannelID implement RecordProducer

    So that we can use it as a TLV record type.
    ellemouton committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    db76d0b View commit details
    Browse the repository at this point in the history
  4. lnwire+netann: update ChannelAnnouncement2 structure

    Such that all fields are now TLV (including the signature).
    ellemouton committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    1ffd3b2 View commit details
    Browse the repository at this point in the history
  5. lnwire+netann: update ChannelUpdate2

    such that all fields are now TLV including the signature.
    ellemouton committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    34afb59 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fc40b72 View commit details
    Browse the repository at this point in the history
  7. netann: update ChanAnn2 validation to work for P2WSH channels

    This commit expands the ChannelAnnouncement2 validation for the case
    where it is announcing a P2WSH channel.
    ellemouton committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    9d67b34 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    53bdf65 View commit details
    Browse the repository at this point in the history