New Features
Added the Peer Offline Report page
Optimizations for Payments and Invoices data loads
Auto re-index feature for when users migrate lnd data
Upgraded logging system (see release notes)
Hovering capacity shows when a channel was last connected
Exposes Historic Failed HTLC data to the /api
Improved controller logic and database connection handling
Added custom peer reconnection times and variation to reduce overlap
Other bug fixes + improvements
IMPORTANT - Read Before Updating!
REQUIRED (Docker Installers): Verify your docker-compose.yaml is updated for the new logging system.
In this release, the volumes and command sections have been updated. Some parts of your file may look slightly different.
services:
lndg:
build: .
volumes:
- /root/.lnd:/root/.lnd:ro
- /root/lndg/data:/app/data:rw
command:
- sh
- -c
- python initialize.py -net 'mainnet' -rpc 'localhost:10009' -wn && python controller.py runserver 0.0.0.0:8000
ports:
- 8889:8000
REQUIRED (Manual Installers): Updates are required for the new logging system.
- Install the python concurrent log handler.
./venv/bin/python -m pip install concurrent-log-handler
- Add the following section to your
lndg/settings.py.
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'formatters': {
'verbose': {
'format': '{asctime} {name} {levelname} - {message}',
'style': '{',
},
'simple': {
'format': '{asctime} {name} - {message}',
'style': '{',
},
},
'handlers': {
'app-file': {
'level': 'INFO',
'class': 'concurrent_log_handler.ConcurrentRotatingFileHandler',
'filename': os.path.join(BASE_DIR, 'data/lndg-controller.log'),
'maxBytes': 25*(1024*1024),
'backupCount': 5,
'formatter': 'verbose',
},
'web-file': {
'level': 'INFO',
'class': 'logging.handlers.RotatingFileHandler',
'filename': os.path.join(BASE_DIR, 'data/lndg-web.log'),
'maxBytes': 25*(1024*1024),
'backupCount': 5,
'formatter': 'verbose',
},
'console': {
'level': 'INFO',
'class': 'logging.StreamHandler',
'formatter': 'simple',
},
},
'loggers': {
'[Controller]': {
'handlers': ['app-file', 'console'],
'level': 'INFO',
'propagate': False,
},
'[Data]': {
'handlers': ['app-file', 'console'],
'level': 'INFO',
'propagate': False,
},
'[Rebalancer]': {
'handlers': ['app-file', 'console'],
'level': 'INFO',
'propagate': False,
},
'[HTLC]': {
'handlers': ['app-file', 'console'],
'level': 'INFO',
'propagate': False,
},
'[P2P]': {
'handlers': ['app-file', 'console'],
'level': 'INFO',
'propagate': False,
},
'django': {
'handlers': ['web-file', 'console'],
'level': 'INFO',
'propagate': False,
},
},
}
```# New Features
#### Added the Peer Offline Report page
#### Optimizations for Payments and Invoices data loads
#### Auto re-index feature for when users migrate lnd data
#### Upgraded logging system (see release notes)
#### Hovering capacity shows when a channel was last connected
#### Exposes Historic Failed HTLC data to the `/api`
#### Improved controller logic and database connection handling
#### Added custom peer reconnection times and variation to reduce overlap
#### Other bug fixes + improvements
# IMPORTANT - Read Before Updating!
### REQUIRED (Docker Installers): Verify your docker-compose.yaml is updated for the new logging system.
In this release, the volumes and command sections have been updated. Some parts of your file may look slightly different.
services:
lndg:
build: .
volumes:
- /root/.lnd:/root/.lnd:ro
- /root/lndg/data:/app/data:rw
command:
- sh
- -c
- python initialize.py -net 'mainnet' -rpc 'localhost:10009' -wn && python controller.py runserver 0.0.0.0:8000
ports:
- 8889:8000
### REQUIRED (Manual Installers): Updates are required for the new logging system.
1. Install the python concurrent log handler.
./venv/bin/python -m pip install concurrent-log-handler
2. Add the following section to your `lndg/settings.py`.
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'formatters': {
'verbose': {
'format': '{asctime} {name} {levelname} - {message}',
'style': '{',
},
'simple': {
'format': '{asctime} {name} - {message}',
'style': '{',
},
},
'handlers': {
'app-file': {
'level': 'INFO',
'class': 'concurrent_log_handler.ConcurrentRotatingFileHandler',
'filename': os.path.join(BASE_DIR, 'data/lndg-controller.log'),
'maxBytes': 25*(10241024),
'backupCount': 5,
'formatter': 'verbose',
},
'web-file': {
'level': 'INFO',
'class': 'logging.handlers.RotatingFileHandler',
'filename': os.path.join(BASE_DIR, 'data/lndg-web.log'),
'maxBytes': 25(1024*1024),
'backupCount': 5,
'formatter': 'verbose',
},
'console': {
'level': 'INFO',
'class': 'logging.StreamHandler',
'formatter': 'simple',
},
},
'loggers': {
'[Controller]': {
'handlers': ['app-file', 'console'],
'level': 'INFO',
'propagate': False,
},
'[Data]': {
'handlers': ['app-file', 'console'],
'level': 'INFO',
'propagate': False,
},
'[Rebalancer]': {
'handlers': ['app-file', 'console'],
'level': 'INFO',
'propagate': False,
},
'[HTLC]': {
'handlers': ['app-file', 'console'],
'level': 'INFO',
'propagate': False,
},
'[P2P]': {
'handlers': ['app-file', 'console'],
'level': 'INFO',
'propagate': False,
},
'django': {
'handlers': ['web-file', 'console'],
'level': 'INFO',
'propagate': False,
},
},
}
#### Added the Peer Offline Report page
#### Optimizations for Payments and Invoices data loads
#### Auto re-index feature for when users migrate lnd data
#### Upgraded logging system (see release notes)
#### Hovering capacity shows when a channel was last connected
#### Exposes Historic Failed HTLC data to the `/api`
#### Improved controller logic and database connection handling
#### Added custom peer reconnection times and variation to reduce overlap
#### Other bug fixes + improvements
# IMPORTANT - Read Before Updating!
### REQUIRED (Docker Installers): Verify your docker-compose.yaml is updated for the new logging system.
In this release, the volumes and command sections have been updated. Some parts of your file may look slightly different.
services:
lndg:
build: .
volumes:
- /root/.lnd:/root/.lnd:ro
- /root/lndg/data:/app/data:rw
command:
- sh
- -c
- python initialize.py -net 'mainnet' -rpc 'localhost:10009' -wn && python controller.py runserver 0.0.0.0:8000
ports:
- 8889:8000
### REQUIRED (Manual Installers): Updates are required for the new logging system.
1. Install the python concurrent log handler.
./venv/bin/python -m pip install concurrent-log-handler
2. Add the following section to your `lndg/settings.py`.
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'formatters': {
'verbose': {
'format': '{asctime} {name} {levelname} - {message}',
'style': '{',
},
'simple': {
'format': '{asctime} {name} - {message}',
'style': '{',
},
},
'handlers': {
'app-file': {
'level': 'INFO',
'class': 'concurrent_log_handler.ConcurrentRotatingFileHandler',
'filename': os.path.join(BASE_DIR, 'data/lndg-controller.log'),
'maxBytes': 25*(10241024),
'backupCount': 5,
'formatter': 'verbose',
},
'web-file': {
'level': 'INFO',
'class': 'logging.handlers.RotatingFileHandler',
'filename': os.path.join(BASE_DIR, 'data/lndg-web.log'),
'maxBytes': 25(1024*1024),
'backupCount': 5,
'formatter': 'verbose',
},
'console': {
'level': 'INFO',
'class': 'logging.StreamHandler',
'formatter': 'simple',
},
},
'loggers': {
'[Controller]': {
'handlers': ['app-file', 'console'],
'level': 'INFO',
'propagate': False,
},
'[Data]': {
'handlers': ['app-file', 'console'],
'level': 'INFO',
'propagate': False,
},
'[Rebalancer]': {
'handlers': ['app-file', 'console'],
'level': 'INFO',
'propagate': False,
},
'[HTLC]': {
'handlers': ['app-file', 'console'],
'level': 'INFO',
'propagate': False,
},
'[P2P]': {
'handlers': ['app-file', 'console'],
'level': 'INFO',
'propagate': False,
},
'django': {
'handlers': ['web-file', 'console'],
'level': 'INFO',
'propagate': False,
},
},
}