Blockstream / Blockstream/satellite-api

When bumping transmission with an unpaid invoice(s), cancel the unpaid invoice(s) and put total amount in new "bumped" lightning invoice.

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
38
Forks
9
PR merge metrics
No merged PRs in 30d

Description

When an invoice is unpaid, and users bump, the original invoice should be cancelled, and the new invoice should include the new amount (not the difference between the original and bumped rate).

For example, user submits 1kb transmission for 50 mSats per byte (i.e. 50,000 mSat invoice). User then bumps the transmission to 100 mSats per byte. The old invoice would be cancelled and the new invoice from bumping would be 100,000 mSats.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.