mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-19 06:04: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 lib_autopilot import Autopilot, Strategy
|
||||
from lightning import LightningRpc, Plugin, RpcError
|
||||
from pyln.client import LightningRpc, Plugin, RpcError
|
||||
import random
|
||||
import math
|
||||
import networkx as nx
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
dnspython>=1.16.0
|
||||
networkx==2.3
|
||||
numpy>=1.16
|
||||
pylightning>=0.0.7
|
||||
pyln-client>=0.7.3
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
from lightning import Plugin
|
||||
from pyln.client import Plugin
|
||||
import json
|
||||
import psutil
|
||||
import subprocess
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
pylightning==0.0.7
|
||||
pyln-client>=0.7.3
|
||||
psutil==5.6.2
|
||||
|
||||
@@ -26,7 +26,7 @@ from flask import Flask, render_template
|
||||
from flask_bootstrap import Bootstrap
|
||||
from flask_wtf import FlaskForm
|
||||
from io import BytesIO
|
||||
from lightning import LightningRpc, Plugin
|
||||
from pyln.client import LightningRpc, Plugin
|
||||
from os.path import join
|
||||
from random import random
|
||||
from time import time
|
||||
|
||||
@@ -2,3 +2,4 @@ qrcode==6.1
|
||||
flask-bootstrap==3.3.7.1
|
||||
flask-wtf==0.14.2
|
||||
pillow==6.2.0
|
||||
pyln-client>=0.7.3
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
from lightning import Plugin, Millisatoshi, RpcError
|
||||
from pyln.client import Plugin, Millisatoshi, RpcError
|
||||
import re
|
||||
import time
|
||||
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
|
||||
"""
|
||||
|
||||
from lightning import Plugin, Millisatoshi
|
||||
import lightning
|
||||
import pyln.client
|
||||
import json
|
||||
|
||||
plugin = Plugin()
|
||||
plugin = pyln.client.Plugin()
|
||||
|
||||
# __version__ was introduced in 0.0.7.1, with utf8 passthrough support.
|
||||
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 lightning import Plugin, RpcError
|
||||
from pyln.client import Plugin, RpcError
|
||||
from random import choice
|
||||
from sqlalchemy import Column, Integer, String, DateTime
|
||||
from sqlalchemy import create_engine
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
sqlalchemy==1.3.6
|
||||
pyln-client>=0.7.3
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
from lightning import Plugin
|
||||
from pyln.client import Plugin
|
||||
from prometheus_client import start_http_server, CollectorRegistry
|
||||
from prometheus_client.core import InfoMetricFamily, GaugeMetricFamily
|
||||
from sys import exit
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
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
|
||||
packaging>=14.1
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
from lightning import Plugin, Millisatoshi
|
||||
from pyln.client import Plugin, Millisatoshi
|
||||
from packaging import version
|
||||
from collections import namedtuple
|
||||
import lightning
|
||||
|
||||
@@ -37,7 +37,7 @@ from txzmq import ZmqEndpoint, ZmqEndpointType
|
||||
from txzmq import ZmqFactory
|
||||
from txzmq import ZmqPubConnection
|
||||
|
||||
from lightning import Plugin
|
||||
from pyln.client import Plugin
|
||||
|
||||
###############################################################################
|
||||
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
twisted==19.10.0
|
||||
txzmq==0.8.2
|
||||
pyln-client>=0.7.3
|
||||
|
||||
Reference in New Issue
Block a user