Demote autopilot, backup, donations, drain, helpme, historian, paytest, probe, prometheus, rebalance, and summary to the archive

drain: fix drain msats
drain: failing CI because of msats
historian: add inotify to historian deps
historian: update lockfile
This commit is contained in:
Chris Guida
2024-01-29 18:46:44 -06:00
committed by mergify[bot]
parent 009a0fbad8
commit 3754a9e0f8
79 changed files with 34 additions and 4 deletions

View File

@@ -92,6 +92,7 @@ jobs:
export TEST_DEBUG=1 export TEST_DEBUG=1
export TRAVIS=1 export TRAVIS=1
export CLN_PATH=${{ github.workspace }}/lightning export CLN_PATH=${{ github.workspace }}/lightning
pip3 install --upgrade pip
pip3 install --user -U virtualenv pip > /dev/null pip3 install --user -U virtualenv pip > /dev/null
python3 .ci/test.py python3 .ci/test.py

View File

@@ -351,7 +351,7 @@ def try_for_htlc_fee(payload, peer_id, amount, chunk, spendable_before):
def read_params(command: str, scid: str, percentage: float, chunks: int, def read_params(command: str, scid: str, percentage: float, chunks: int,
retry_for: int, maxfeepercent: float, exemptfee: Millisatoshi): retry_for: int, maxfeepercent: float, exemptfee: int):
# check parameters # check parameters
if command != 'drain' and command != 'fill' and command != 'setbalance': if command != 'drain' and command != 'fill' and command != 'setbalance':
@@ -466,7 +466,7 @@ def execute(payload: dict):
@plugin.method("drain") @plugin.method("drain")
def drain(plugin, scid: str, percentage: float = 100, chunks: int = 0, retry_for: int = 60, def drain(plugin, scid: str, percentage: float = 100, chunks: int = 0, retry_for: int = 60,
maxfeepercent: float = 0.5, exemptfee: Millisatoshi = Millisatoshi(5000)): maxfeepercent: float = 0.5, exemptfee: int = 5000):
"""Draining channel liquidity with circular payments. """Draining channel liquidity with circular payments.
Percentage defaults to 100, resulting in an empty channel. Percentage defaults to 100, resulting in an empty channel.

View File

@@ -1,4 +1,4 @@
# This file is automatically @generated by Poetry and should not be changed by hand. # This file is automatically @generated by Poetry 1.4.1 and should not be changed by hand.
[[package]] [[package]]
name = "asn1crypto" name = "asn1crypto"
@@ -390,6 +390,21 @@ files = [
{file = "iniconfig-1.1.1.tar.gz", hash = "sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32"}, {file = "iniconfig-1.1.1.tar.gz", hash = "sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32"},
] ]
[[package]]
name = "inotify"
version = "0.2.10"
description = "An adapter to Linux kernel support for inotify directory-watching."
category = "main"
optional = false
python-versions = "*"
files = [
{file = "inotify-0.2.10-py2-none-any.whl", hash = "sha256:397f8785450e41f606fe4eb6f5e8e0a1c70b354b56495225fc6c6fe7e07db0c9"},
{file = "inotify-0.2.10.tar.gz", hash = "sha256:974a623a338482b62e16d4eb705fb863ed33ec178680fc3e96ccdf0df6c02a07"},
]
[package.dependencies]
nose = "*"
[[package]] [[package]]
name = "itsdangerous" name = "itsdangerous"
version = "2.1.2" version = "2.1.2"
@@ -525,6 +540,19 @@ files = [
{file = "more_itertools-9.0.0-py3-none-any.whl", hash = "sha256:250e83d7e81d0c87ca6bd942e6aeab8cc9daa6096d12c5308f3f92fa5e5c1f41"}, {file = "more_itertools-9.0.0-py3-none-any.whl", hash = "sha256:250e83d7e81d0c87ca6bd942e6aeab8cc9daa6096d12c5308f3f92fa5e5c1f41"},
] ]
[[package]]
name = "nose"
version = "1.3.7"
description = "nose extends unittest to make testing easier"
category = "main"
optional = false
python-versions = "*"
files = [
{file = "nose-1.3.7-py2-none-any.whl", hash = "sha256:dadcddc0aefbf99eea214e0f1232b94f2fa9bd98fa8353711dacb112bfcbbb2a"},
{file = "nose-1.3.7-py3-none-any.whl", hash = "sha256:9ff7c6cc443f8c51994b34a667bbcf45afd6d945be7477b52e97516fd17c53ac"},
{file = "nose-1.3.7.tar.gz", hash = "sha256:f1bffef9cbc82628f6e7d7b40d7e255aefaa1adb6a1b1d26c69a8b79e6208a98"},
]
[[package]] [[package]]
name = "packaging" name = "packaging"
version = "22.0" version = "22.0"
@@ -971,4 +999,4 @@ testing = ["flake8 (<5)", "func-timeout", "jaraco.functools", "jaraco.itertools"
[metadata] [metadata]
lock-version = "2.0" lock-version = "2.0"
python-versions = "^3.7" python-versions = "^3.7"
content-hash = "5dfdd4459dfffcf602f5f4b1bb6aedeb5da484cb758671a0ca5e4ee3ea2a2e11" content-hash = "bd763b3fec77a5c059bcc1f6207339efdb2df96cc9539e07456bff00abb70e51"

View File

@@ -8,6 +8,7 @@ license = "MIT"
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.7" python = "^3.7"
pyln-client = "0.11.1" pyln-client = "0.11.1"
inotify = "^0.2.10"
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]
pyln-testing = "0.11.1" pyln-testing = "0.11.1"