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

A little more offers #4630

Merged
merged 6 commits into from
Jul 14, 2021
Merged

Commits on Jul 5, 2021

  1. Configuration menu
    Copy the full SHA
    d7a2aca View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    db211b9 View commit details
    Browse the repository at this point in the history
  3. DEVELOPER: allow fetchinvoice to force they payer_secret.

    We usually assume we're fetching an invoice we are going to pay, so we
    look up the previous payment for the payer key, and other sanity
    checks.
    
    This adds a developer option to fetchinvoice, which allows it to force
    its own payer key, which it uses to sign directly and bypasses these
    checks.
    
    Signed-off-by: Rusty Russell <[email protected]>
    rustyrussell committed Jul 5, 2021
    Configuration menu
    Copy the full SHA
    6d75fe6 View commit details
    Browse the repository at this point in the history
  4. bolt12_merkle: change offer merkle to latest spec.

    And fix up the mess we'd made:
    1. We didn't order merkles by lesser-first.
    2. We didn't correctly construct tree with last nodes on shortest path.
    
    Now we have tests!
    
    Signed-off-by: Rusty Russell <[email protected]>
    Changelog-EXPERIMENTAL: protocol: offer signature format changed.
    rustyrussell committed Jul 5, 2021
    Configuration menu
    Copy the full SHA
    5e1e896 View commit details
    Browse the repository at this point in the history
  5. doc: fix up bolt12 quotes.

    The one about size needs the offers PR rebased onto the latest
    onion-message PR.
    
    Signed-off-by: Rusty Russell <[email protected]>
    rustyrussell committed Jul 5, 2021
    Configuration menu
    Copy the full SHA
    ba23269 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2021

  1. plugins/offers: fix crash when we report unpaid prev invoice.

    And add annotation so compiler spots it!
    
    Signed-off-by: Rusty Russell <[email protected]>
    rustyrussell committed Jul 8, 2021
    Configuration menu
    Copy the full SHA
    225a598 View commit details
    Browse the repository at this point in the history