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 }}
TrezorHannes
/
Lightning-Python-Tools
Public
Notifications
You must be signed in to change notification settings
Fork
5
Star
7
Code
Issues
0
Pull requests
1
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
feat(fees): inbound discount protection and global rebalance guard
- #45
#45
Merged
TrezorHannes
merged 12 commits into
main
TrezorHannes/Lightning-Python-Tools:main
from
feat/inbound-rebalance-safety
TrezorHannes/Lightning-Python-Tools:feat/inbound-rebalance-safety
Copy head branch name to clipboard
Aug 27, 2026
Conversation
Commits
12
(12)
Checks
Files changed
Merged
feat(fees): inbound discount protection and global rebalance guard
#45
TrezorHannes
merged 12 commits into
main
TrezorHannes/Lightning-Python-Tools:main
from
feat/inbound-rebalance-safety
TrezorHannes/Lightning-Python-Tools:feat/inbound-rebalance-safety
Copy head branch name to clipboard
Commits
Commits on Aug 24, 2026
feat(fees): add inbound discount protection and rebalance guard
Show description for 16c6473
TrezorHannes
committed
16c6473
View commit details
Copy full SHA for 16c6473
Browse repository at this point
docs & feat: decouple inbound discount ceiling from rebalance locking
Show description for 000851b
TrezorHannes
committed
000851b
View commit details
Copy full SHA for 000851b
Browse repository at this point
feat(fees): support channel-specific baseline target restoration
Show description for 090040d
TrezorHannes
committed
090040d
View commit details
Copy full SHA for 090040d
Browse repository at this point
fix(rebalance): only restore channels with recorded lower baselines
Show description for c0af8f3
TrezorHannes
committed
c0af8f3
View commit details
Copy full SHA for c0af8f3
Browse repository at this point
ci: enable automated pytest workflow on all branches and add Python 3.12
TrezorHannes
committed
08ea585
View commit details
Copy full SHA for 08ea585
Browse repository at this point
ci: upgrade actions/checkout to v5 and actions/setup-python to v6 for Node 24 runtime
TrezorHannes
committed
eaf6b20
View commit details
Copy full SHA for eaf6b20
Browse repository at this point
feat(fee_adjuster): integrate global rebalance guard across all channels into fee_adjuster
TrezorHannes
committed
21f8ce7
View commit details
Copy full SHA for 21f8ce7
Browse repository at this point
fix(fee_adjuster): fix cached channels flattening for global rebalance guard
TrezorHannes
committed
35cdcd3
View commit details
Copy full SHA for 35cdcd3
Browse repository at this point
fix(fee_adjuster): add flush=True for immediate stdout output
TrezorHannes
committed
1c32517
View commit details
Copy full SHA for 1c32517
Browse repository at this point
fix(fee_adjuster): fix auto_fees key access in rebalance guard table
TrezorHannes
committed
1958d67
View commit details
Copy full SHA for 1958d67
Browse repository at this point
feat(rebalance): implement dynamic hysteresis unlock condition
TrezorHannes
committed
521fa6e
View commit details
Copy full SHA for 521fa6e
Browse repository at this point
docs(readme): document dynamic hysteresis and global rebalance guard
TrezorHannes
committed
b98650a
View commit details
Copy full SHA for b98650a
Browse repository at this point
You can’t perform that action at this time.