Improve alerting for low receiving capacity
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 277
- Forks
- 133
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 11
Description
From https://github.com/getAlby/hub/pull/1842
Currently we already have a good CTA in the "low incoming capacity" email campaign sent to users, but this only happens when they generate an invoice larger than their remaining liquidity.
We also only send this event for LDK, not LND, so it should be added to LND too.
We could also add a new event and campaign when only 20% of inbound is remaining, so the user knows in advance (similar to what we already do for e.g. NWC budget alerts).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the referenced pull request #1842 and tracing the existing low incoming capacity email event and campaign, then compare the LDK-only behavior with LND. Done means the event also covers LND and, if the proposed scope is accepted, a 20%-remaining inbound-capacity event and campaign is added similar to NWC budget alerts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100