Comments (18)
I guess it shouldn't be too much problem to add some checks on what fields are available, to support both old and new versions of cln. I can work on a fix for that
from suez.
Working! Thanks a lot!
from suez.
What version of CLN are you running? Is it the latest?
from suez.
from suez.
Can you try using "git bisect" to find which commit broke this?
https://git-scm.com/docs/git-bisect
from suez.
Hi! I believe the version I was running was before this update:
from suez.
I am running suez on nix-bitcoin / nixOS btw
from suez.
Can you try "git bisect" like instructed above?
from suez.
@lirre8 which version of CLN did you use to test your commit?
from suez.
I am going through the bisect process again. I think I might have messed up something, please bear with me.
Removed old messages as to not confuse everyone. Thanks!
from suez.
[operator@nixos:~/suez]$ git bisect good
bd90bb3 is the first bad commit
commit bd90bb3
Author: Sebastian Andersson [email protected]
Date: Sat Mar 4 11:33:34 2023 +0100
Add option to show min and max htlc
clnclient.py | 18 ++++++++++++++++++
lndclient.py | 26 ++++++++++++++++++++++----
suez.py | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++--
3 files changed, 95 insertions(+), 6 deletions(-)
from suez.
@lirre8 which version of CLN did you use to test your commit?
I've been using v22.11.1, which is not the latest anymore but pretty much up to date. But as I mentioned in #42 (comment), it seems like the cln implementation is using fields that have been removed a while ago, so the latest version of cln doesn't work at all..
I should probably have checked that the htlc_minimum_msat
was returning the expected value even for older version, sorry for that. So it seems now that neither an old or newer version will work..
I guess we could fix so that htlc_minimum_msat
and htlc_maximum_msat
works with the older version of cln that was working before that commit. But shouldn't we update it so it works with the latest version?
Note: So what I'm saying here is the you are probably not using the latest version of cln @TTK-199837, can you check the exact version by running lightning-cli --version
?
from suez.
My goal is to support only the most recent version of CLN. If it's easy to support previous versions, let's do it, but if it's a problem, then let's skip it.
from suez.
Hi! running lightning-cli --version outputs: v23.02.2
from suez.
OK, so you are on the latest version, I guess I was wrong. But weird that my CLN node has different outputs than yours then, I have to look into that
from suez.
Please let me know if there is anything I can help with! Thanks a lot!
I would like to mention again that fee adjustments seem broken... I am using:
poetry run ./suez --client=c-lightning --base-fee 0 --fee-rate 500 --fee-spread 1.8
from suez.
I can't make any sense on why our CLN nodes would return different data. As far as I can tell, my node does it according to the latest docs: https://lightning.readthedocs.io/lightning-listpeers.7.html. If anyone could explain why your node differs in some field names and values I'd be very happy :)
Anyway, it's an easy problem to solve to just add some checks on the fields that differs and handle them accordingly. I have created a PR that works fine for me: #47
Regarding the issue with fee adjustment, I'm seeing this error after adding some debug logs: Command "setchannelfee" is deprecated
. But this is a completely different problem, lets open a separate issue for that: #48
from suez.
@TTK-199837 The PR was merged, can you pull the latest code from master and check if it's working when you have a chance?
from suez.
Related Issues (20)
- ModuleNotFoundError: No module named 'dataclasses' HOT 8
- edge not foud HOT 2
- ZeroDivisionError when running without channels HOT 1
- connecting to remote node? HOT 6
- TypeError: unsupported format string passed to NoneType.__format__ HOT 2
- ZeroDivisionError while node syncing HOT 3
- Latest c-lightning no longer has last_tx_fee, but does have last_tx_fee_msat
- Confirming: is it dangerous to interrupt the script (e.g., via CTRL+C)? HOT 2
- Remote Node / Umbrel HOT 3
- Display in Min & Max HTLCs HOT 4
- Use RPC instead of lncli HOT 3
- No module named 'virtualenv.seed.via_app_data' HOT 4
- Parallel channels for Core Ligthning are not displayed HOT 2
- Version for Terminal Web Scores HOT 1
- Terminal Web v3 HOT 1
- Inaccurate local fees calculation HOT 2
- Add arguments to show only public or only private channels HOT 6
- CLN - Command "setchannelfee" is deprecated HOT 3
- Add lightning-network as a topic to this repository HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from suez.