• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cameri / nostream / 44399267484
80%

Build:
DEFAULT BRANCH: main
Ran 18 Nov 2026 09:19PM UTC
Jobs 2
Files 341
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Nov 2026 09:13PM UTC coverage: 79.335% (+0.08%) from 79.258%
44399267484

push

github

web-flow
feat(peering): add the buyer invoice ledger and budget primitives (#1167)

<!--- Provide a general summary of your changes in the Title above -->

## Description
<!--- Describe your changes in detail -->
First slice of #938. Adds the storage and parsing foundation, without
changing
runtime behaviour yet.

- Add `peering_invoices` (deduped by BOLT11 payment hash) and
  `peering_budgets` (per-peer/global fixed-period counters).
- Add the invoice repository and buyer budget helpers.
- Decode BOLT11 enough to read the payment hash, amount and expiry for
term
  matching and dedupe.
- Add buyer settings types/defaults and the payment request/response
contracts.
- Cover the repository, BOLT11 decoder and budget helpers with unit
tests.


## Related Issue
<!--- This project only accepts pull requests related to open issues -->
<!--- If suggesting a new feature or change, please discuss it in an
issue first -->
<!--- If fixing a bug, there should be an issue describing it with steps
to reproduce -->
<!--- Please link to the issue here: -->
Stacked PR1 of #938 

## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->

## How Has This Been Tested?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran
to -->
<!--- see how your change affects other areas of the code, etc. -->

## Screenshots (if appropriate):

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all
the boxes that apply: -->
- [ ] Non-functional change (docs, style, minor refactor)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)

## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes
that apply. -->
- [ ] My code follows the code style of this project.
-... (continued)

5545 of 7589 branches covered (73.07%)

Branch coverage included in aggregate %.

153 of 166 new or added lines in 3 files covered. (92.17%)

11627 of 14056 relevant lines covered (82.72%)

670.44 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
83.22
src/utils/bolt11.ts
3
87.5
0.01% src/utils/settings-config.ts
Jobs
ID Job ID Ran Files Coverage
1 Integration - 44399267484.1 18 Nov 2026 09:19PM UTC 341
35.2
GitHub Action Run
2 Unit - 44399267484.2 18 Nov 2026 09:20PM UTC 341
77.25
GitHub Action Run
Source Files on build 44399267484
  • Tree
  • List 341
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #44399267484
  • 26aa8179 on github
  • Prev Build on main (#44398554820)
  • Next Build on main (#44435172796)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc