mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-19 14:14:20 +01:00
Update to pyln-client
This updates all plugins *which already have requirements.txt* to pyln-client from pylightning.
This commit is contained in:
committed by
Christian Decker
parent
21e37c74d6
commit
e426f6738e
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
from bech32 import bech32_decode, CHARSET, convertbits
|
from bech32 import bech32_decode, CHARSET, convertbits
|
||||||
from lib_autopilot import Autopilot, Strategy
|
from lib_autopilot import Autopilot, Strategy
|
||||||
from lightning import LightningRpc, Plugin, RpcError
|
from pyln.client import LightningRpc, Plugin, RpcError
|
||||||
import random
|
import random
|
||||||
import math
|
import math
|
||||||
import networkx as nx
|
import networkx as nx
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
dnspython>=1.16.0
|
dnspython>=1.16.0
|
||||||
networkx==2.3
|
networkx==2.3
|
||||||
numpy>=1.16
|
numpy>=1.16
|
||||||
pylightning>=0.0.7
|
pyln-client>=0.7.3
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from lightning import Plugin
|
from pyln.client import Plugin
|
||||||
import json
|
import json
|
||||||
import psutil
|
import psutil
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
pylightning==0.0.7
|
pyln-client>=0.7.3
|
||||||
psutil==5.6.2
|
psutil==5.6.2
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ from flask import Flask, render_template
|
|||||||
from flask_bootstrap import Bootstrap
|
from flask_bootstrap import Bootstrap
|
||||||
from flask_wtf import FlaskForm
|
from flask_wtf import FlaskForm
|
||||||
from io import BytesIO
|
from io import BytesIO
|
||||||
from lightning import LightningRpc, Plugin
|
from pyln.client import LightningRpc, Plugin
|
||||||
from os.path import join
|
from os.path import join
|
||||||
from random import random
|
from random import random
|
||||||
from time import time
|
from time import time
|
||||||
|
|||||||
@@ -2,3 +2,4 @@ qrcode==6.1
|
|||||||
flask-bootstrap==3.3.7.1
|
flask-bootstrap==3.3.7.1
|
||||||
flask-wtf==0.14.2
|
flask-wtf==0.14.2
|
||||||
pillow==6.2.0
|
pillow==6.2.0
|
||||||
|
pyln-client>=0.7.3
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from lightning import Plugin, Millisatoshi, RpcError
|
from pyln.client import Plugin, Millisatoshi, RpcError
|
||||||
import re
|
import re
|
||||||
import time
|
import time
|
||||||
import uuid
|
import uuid
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
pylightning>=0.0.7.3
|
pyln-client>=0.7.3
|
||||||
|
|||||||
@@ -4,11 +4,10 @@ This is a quick hack and adapted plugin from the summary.py plugin (orinigally w
|
|||||||
This one is adapted by Rene Pickhardt and aims to help you identify inactive channels quickly
|
This one is adapted by Rene Pickhardt and aims to help you identify inactive channels quickly
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from lightning import Plugin, Millisatoshi
|
import pyln.client
|
||||||
import lightning
|
|
||||||
import json
|
import json
|
||||||
|
|
||||||
plugin = Plugin()
|
plugin = pyln.client.Plugin()
|
||||||
|
|
||||||
# __version__ was introduced in 0.0.7.1, with utf8 passthrough support.
|
# __version__ was introduced in 0.0.7.1, with utf8 passthrough support.
|
||||||
try:
|
try:
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
pylightning>=0.0.6
|
pyln-client>=0.7.3
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ Failcode -1 and 16399 are special:
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from lightning import Plugin, RpcError
|
from pyln.client import Plugin, RpcError
|
||||||
from random import choice
|
from random import choice
|
||||||
from sqlalchemy import Column, Integer, String, DateTime
|
from sqlalchemy import Column, Integer, String, DateTime
|
||||||
from sqlalchemy import create_engine
|
from sqlalchemy import create_engine
|
||||||
|
|||||||
@@ -1 +1,2 @@
|
|||||||
sqlalchemy==1.3.6
|
sqlalchemy==1.3.6
|
||||||
|
pyln-client>=0.7.3
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from lightning import Plugin
|
from pyln.client import Plugin
|
||||||
from prometheus_client import start_http_server, CollectorRegistry
|
from prometheus_client import start_http_server, CollectorRegistry
|
||||||
from prometheus_client.core import InfoMetricFamily, GaugeMetricFamily
|
from prometheus_client.core import InfoMetricFamily, GaugeMetricFamily
|
||||||
from sys import exit
|
from sys import exit
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
prometheus-client==0.6.0
|
prometheus-client==0.6.0
|
||||||
pylightning>=0.0.6
|
pyln-client>=0.7.3
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
pylightning>=0.0.6
|
pyln-client>=0.7.3
|
||||||
requests>=2.0.0
|
requests>=2.0.0
|
||||||
packaging>=14.1
|
packaging>=14.1
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from lightning import Plugin, Millisatoshi
|
from pyln.client import Plugin, Millisatoshi
|
||||||
from packaging import version
|
from packaging import version
|
||||||
from collections import namedtuple
|
from collections import namedtuple
|
||||||
import lightning
|
import lightning
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ from txzmq import ZmqEndpoint, ZmqEndpointType
|
|||||||
from txzmq import ZmqFactory
|
from txzmq import ZmqFactory
|
||||||
from txzmq import ZmqPubConnection
|
from txzmq import ZmqPubConnection
|
||||||
|
|
||||||
from lightning import Plugin
|
from pyln.client import Plugin
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
twisted==19.10.0
|
twisted==19.10.0
|
||||||
txzmq==0.8.2
|
txzmq==0.8.2
|
||||||
|
pyln-client>=0.7.3
|
||||||
|
|||||||
Reference in New Issue
Block a user