fix(deps): update dependency tollbooth-dpyc to v0.90.0 - #118
Merged
Conversation
renovate
Bot
force-pushed
the
renovate/tollbooth-dpyc-0.x
branch
2 times, most recently
from
September 7, 2026 22:15
a49ce5b to
6797223
Compare
lonniev
approved these changes
Sep 7, 2026
Contributor
|
✅ Deploy verified live: version 0.8.6, serving |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==0.89.1→==0.90.0Release Notes
lonniev/tollbooth-dpyc (tollbooth-dpyc)
v0.90.0Compare Source
Added — the operator can see its own Lightning balance, and spend it
Every BTCPay call in this SDK was about taking sats IN.
create_payoutwas theone exception and it has no call site anywhere in the fleet, because a store
payout lands in
AwaitingApprovaland needs a configured processor before itmoves — which is a queue, not a payment. Two Greenfield endpoints that do move
money are now wrapped:
BTCPayClient.get_lightning_balance()—GET /stores/{id}/lightning/{crypto}/balance,normalised to satoshis throughout, which the API is not. BTCPay reports
off-chain amounts in millisatoshi and on-chain amounts in satoshi, both as
strings, in a single response object. A caller reading
offchain.localassats is wrong by a factor of a thousand in the direction that says a nearly
empty node is richly funded.
sendable_satsis the local end of activechannels — the only balance a Lightning payment can draw on. Null and empty
amounts read as zero rather than raising: a balance check that throws stops a
payout for the wrong reason. Needs
btcpay.store.canuselightningnode.BTCPayClient.pay_lightning_invoice()—POST /stores/{id}/lightning/{crypto}/invoices/pay.Both fee limits are required arguments, not defaults: a routing fee is
charged on top of the invoice, so a payment always costs more than it pays,
and an unbounded one is unbounded. The body is returned as it came back,
including on 202, which means the payment is under way and not that it
settled — treating "initiated" as "paid" is how a payment gets sent twice.
Needs
btcpay.store.cancreatelightninginvoice.Neither is called by the SDK itself. They exist so an operator paying a winner
or a charity does not have to reach past
BTCPayClientand integrate withBTCPay directly.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.