mirror of
https://github.com/aljazceru/lnflow.git
synced 2026-02-21 11:34:19 +01:00
Advanced Lightning Network channel fee optimization system with: ✅ Intelligent inbound fee strategies (beyond charge-lnd) ✅ Automatic rollback protection for safety ✅ Machine learning optimization from historical data ✅ High-performance gRPC + REST API support ✅ Enterprise-grade security with method whitelisting ✅ Complete charge-lnd compatibility Features: - Policy-based fee management with advanced strategies - Balance-based and flow-based optimization algorithms - Revenue maximization focus vs simple rule-based approaches - Comprehensive security analysis and hardening - Professional repository structure with proper documentation - Full test coverage and example configurations Architecture: - Modern Python project structure with pyproject.toml - Secure gRPC integration with REST API fallback - Modular design: API clients, policy engine, strategies - SQLite database for experiment tracking - Shell script automation for common tasks Security: - Method whitelisting for LND operations - Runtime validation of all gRPC calls - No fund movement capabilities - fee management only - Comprehensive security audit completed - Production-ready with enterprise standards 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
25 lines
526 B
Plaintext
25 lines
526 B
Plaintext
# Simple test configuration compatible with both charge-lnd and our implementation
|
|
# This is for API integration testing only
|
|
|
|
[default]
|
|
strategy = static
|
|
base_fee_msat = 1000
|
|
fee_ppm = 1000
|
|
time_lock_delta = 80
|
|
|
|
[high-capacity-test]
|
|
# Test basic matching and fee setting
|
|
chan.min_capacity = 5000000
|
|
strategy = static
|
|
base_fee_msat = 1500
|
|
fee_ppm = 1200
|
|
inbound_fee_ppm = -50
|
|
priority = 10
|
|
|
|
[balance-test]
|
|
# Test balance-based matching
|
|
chan.min_ratio = 0.7
|
|
strategy = static
|
|
fee_ppm = 800
|
|
inbound_fee_ppm = -25
|
|
priority = 20 |