Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
lightningdevkit
/
rust-lightning
Public
Notifications
You must be signed in to change notification settings
Fork
480
Star
1.4k
Code
Issues
270
Pull requests
0
Discussions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Projects
Wiki
Security and quality
Insights
Allow forwarding less than the amount in the onion
- #2319
#2319
Merged
tnull
merged 12 commits into
lightningdevkit:main
lightningdevkit/rust-lightning:main
from
valentinewallace:2023-05-forward-less-than-onion
valentinewallace/rust-lightning:2023-05-forward-less-than-onion
Copy head branch name to clipboard
Jun 21, 2023
Conversation
Commits
12
(12)
Checks
Files changed
Merged
Allow forwarding less than the amount in the onion
#2319
tnull
merged 12 commits into
lightningdevkit:main
lightningdevkit/rust-lightning:main
from
valentinewallace:2023-05-forward-less-than-onion
valentinewallace/rust-lightning:2023-05-forward-less-than-onion
Copy head branch name to clipboard
Commits
Commits on Jun 20, 2023
Move PendingHTLCStatus construction inside channel lock
Show description for a2a7fef
valentinewallace
committed
a2a7fef
View commit details
Copy full SHA for a2a7fef
Browse repository at this point
Move next hop packet pubkey calculation to outside channel lock
valentinewallace
committed
672d666
View commit details
Copy full SHA for 672d666
Browse repository at this point
Add config knob for accepting underpaying HTLCs
Show description for 85a5b31
valentinewallace
committed
85a5b31
View commit details
Copy full SHA for 85a5b31
Browse repository at this point
Set extra skimmed fee on intercepted forward
Show description for 52f2901
valentinewallace
committed
52f2901
View commit details
Copy full SHA for 52f2901
Browse repository at this point
Persist counterparty skimmed fee in ClaimableHTLC
Show description for 9485304
valentinewallace
committed
9485304
View commit details
Copy full SHA for 9485304
Browse repository at this point
Add PaymentClaimable::counterparty_skimmed_fee_msat
Show description for 27b99ac
valentinewallace
committed
27b99ac
View commit details
Copy full SHA for 27b99ac
Browse repository at this point
Allow receiving less than the onion claims to pay
Show description for 9a3914d
valentinewallace
committed
9a3914d
View commit details
Copy full SHA for 9a3914d
Browse repository at this point
Track the sender's skimmed fee in UpdateAddHTLC
valentinewallace
committed
47567e4
View commit details
Copy full SHA for 47567e4
Browse repository at this point
Persist update_add sender skimmed fee in Channel
valentinewallace
committed
5a79d6c
View commit details
Copy full SHA for 5a79d6c
Browse repository at this point
Set UpdateAddHTLC::skimmed_fee_msat on forward
Show description for 4cee622
valentinewallace
committed
4cee622
View commit details
Copy full SHA for 4cee622
Browse repository at this point
Check UpdateAddHTLC::skimmed_fee_msat on receive
Show description for 0d94d9f
valentinewallace
committed
0d94d9f
View commit details
Copy full SHA for 0d94d9f
Browse repository at this point
Document on claim events that amount_msat may be > invoice amount
valentinewallace
committed
2127eb8
View commit details
Copy full SHA for 2127eb8
Browse repository at this point
You can’t perform that action at this time.