Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 10:57

    pm47 on fix-directed-htlc

    improved the non-reg test for h… (compare)

  • 09:58

    t-bast on post-restart-improvements

    Fix script function signatures … Refactor isClosingAlreadyKnown (compare)

  • 09:48

    pm47 on fix-directed-htlc

    fixup! Use CLTV as tie-breaker … removed the `Direction` class (compare)

  • Mar 30 16:22

    araspitzu on bitcoin_client_typed_params

    Use correct type for parameters… Address PR feedback, use 'bitco… (compare)

  • Mar 30 16:15

    araspitzu on bitcoin_client_typed_params

    Address PR feedback, use 'bitco… (compare)

  • Mar 30 15:53

    pm47 on post-restart-improvements-pm

    refactoring (compare)

  • Mar 30 11:53

    t-bast on post-restart-improvements

    Add missing cases to PostRestar… Watch for downstream HTLC resol… Add helper function to HTLC scr… and 1 more (compare)

  • Mar 30 11:42

    t-bast on wallet-balance-metric

    (compare)

  • Mar 30 11:41

    t-bast on master

    Add wallet balance metric (#135… (compare)

  • Mar 30 10:19

    araspitzu on bitcoin_client_typed_params

    Use correct type for parameters… (compare)

  • Mar 30 10:15

    araspitzu on cltv_tie_breaker

    (compare)

  • Mar 30 10:15

    araspitzu on master

    Use CLTV as tie-breaker for off… (compare)

  • Mar 30 09:58

    t-bast on wallet-balance-metric

    Fix Peer metric WithoutTags sh… Add channel count gauge And tr… Add wallet balance gauge And s… and 1 more (compare)

  • Mar 30 09:05

    pm47 on fix-peer

    (compare)

  • Mar 30 09:05

    pm47 on master

    fixup! Split the `Peer` in two… (compare)

  • Mar 30 08:53

    pm47 on fix-peer

    Revert "remove the Authenticate… (compare)

  • Mar 30 08:17

    araspitzu on cltv_tie_breaker

    Extract non-reg test for htlc c… (compare)

  • Mar 30 07:58

    araspitzu on cltv_tie_breaker

    Address PR feedback: refactor c… (compare)

  • Mar 27 18:31

    pm47 on fix-peer

    use cake pattern for `HasTransp… (compare)

  • Mar 27 18:20

    pm47 on fix-peer

    remove the Authenticated/Initia… (compare)

viaj3ro
@viaj3ro
on a side note: 1ml data is starting to deteriorate (new channels are missing, closed ones are still shown as active) and it's impossible to reach anyone on any channel. I tried everything repeatedly without success. seems to be going down the same way as bitcoinwisdom.com. I guess it's time for a replacement. Hopefully somebody is willing to pick up the slack...
xbukorg
@xbukorg
@viaj3ro Hi I have similar experience with 1ml. New channels are not visible for my node, capacity not show correctly and nobody answered after send many questions in Feedback form. This site is dead or not maintained I am thinking. For new user it is very demotivated for continue in LN experiments ...
Janus Troelsen
@ysangkok
xbukorg
@xbukorg
@viaj3ro Today 1ml show me correct value of my channels and capacity. Could you recheck?
Federico Pedemonte ⚡
@fepede_twitter
@xbukorg 1ml somewhat restarted to work properly today
sken
@sken77
hello, do you have a link to your secp256k1 jni bindings code?
i been looking for it and i cant seem to find it
Fabrice Drouin
@sstone
Since the JNI bindings were removed from secp256k1 we'll probably do some cleaning and change the API a bit but this branch is usable and matches what we publish to the maven central repo
sken
@sken77
Thanks
oh i see that your native class is still static
any plans to change it to a normal instance?
Fabrice Drouin
@sstone
@sken77 not sure yet (what we have works fine) but probably, the API we inherited from the original project is a bit strange
sken
@sken77
yeah, at bch we want to do a big overhaul
and see what works and what doesnt
sken
@sken77
you guys are the ones in the entire crypto space using it th emost. so i think we can pick a thing or two from you ;)
FJD
@guadalupeleopa1_twitter
I want to route payments but I don't want to do it for free, how do I increase the price of routing fees on my node? Using Eclair desktop 0.3.3 jar
Bastien Teinturier
@t-bast
@guadalupeleopa1_twitter use the updaterelayfee API. See https://acinq.github.io/eclair/#introduction for details
xbukorg
@xbukorg
On the https://1ml.com/node/033a83907e818490946627b44f889cce154c90dd5c0f5a7ff47f517b49f4836c02/channels I would like to sets two properties.
How to change in Eclair API => "Time Lock Delta" from 144 to 40?
How to change in Eclair API => "Min HTLC" from 0 to 1?
Bastien Teinturier
@t-bast
@xbukorg you can update the default values in your eclair.conf for future channels. For existing channels, we would need a new API. I believe it would be somewhat simple to add, so feel free to send a PR (or maybe someone else can add that feature if they have time).
STAWKEYE
@STAWKEYE
Can you tell from this log why backups are failing? https://pastebin.com/Ydc2DTvg
Fabrice Drouin
@sstone
@STAWKEYE it looks like it's caused by a low-level error in sqlite's parser for the backup command. Your datadir is logged as C:\Users\[_________]\.eclair\mainnet\eclair.sqlite.bak.tmp did you edit the logs you pasted ? Has it ever worked with this path ?
STAWKEYE
@STAWKEYE
@sstone only thing I edited there was replacing my username with __ just in case that was a security risk. There are spaces in teh username, could that be it?
Fabrice Drouin
@sstone
@STAWKEYE spaces in the username ? I'd say it's likely to break a lot of things, can you try with a simpler datadir ? (you can override its location with -Declair.datadir=XXX)
STAWKEYE
@STAWKEYE
I can't seem to get it to work, I'm probably entering it into config wrong. Regardless, I'm going to simply rename the Windows user account to remove spaces since it'll likely cause other problems down the road with other software. I can't do it remotely because the only way I know how involves signing in and out as administrator and I'd lose my remote desktop connection. Thanks for the help - I'll give it a try when I'm at my machine.
STAWKEYE
@STAWKEYE
Another question if you don't mind: I'm running the latest Eclair v0.3.3 and tried to buy a relatively large gift card on Bitrefill. It represented less than 10% of my local balance, which is spread among more than 150 channels. The payment couldn't go through b/c it said I didn't have enough balance. I have the logs of the payment attempts, but I notice they include private keys. My first question is "did the payment fail because the majority of my peers don't yet support MPP, or is it something technical on my end?" and my second question is "is it safe to share these logs if they contain private keys?"
Bastien Teinturier
@t-bast
@STAWKEYE what kind of private keys do you see in the logs? What log level are you using?
If you have 150 channels it's quite expected that the current version of eclair will likely fail to split the amount and leverage MPP at its optimum.
The current eclair version has an MPP-split algorithm that works with a relatively low number of channels. You'll have to wait for a future release to have it automatically split payments between that many channels.
STAWKEYE
@STAWKEYE
@t-bast Here's an example section of the failed payment, with the numbers edited so that you can see an example of this private key: https://pastebin.com/99CHqv2B
It's near the end of the first line
and you're right - if I'm reading this correctly, did Eclair try to use only 2 or 3 channels for the MPP?
STAWKEYE
@STAWKEYE
log levels is whatever default is in the config - I haven't messed with the verbosity of the logs.
Bastien Teinturier
@t-bast
No worries about those private keys.
These are the ones you revoked, you already shared them with your counterparty because you updated the channel (fulfilled or failed an HTLC).
These aren't compromising your long term key or unconfirmed HTLCs.
marco giorda
@jarnonestor_gitlab

@jarnonestor_gitlab
Hello
sorry I need help, I can't make payments, I have 22 channels but only 5 channels work and from the others where I have the funds I'm not able to send payments? why ?
my node is: 030f4200bfa53b07d4053b2319f5b4598a787ae094292ade0e18dc87692d0f4694@93.49.205.2: 9735

thank you !
5 attempts:

  • (local) insufficient funds: missing=Satoshi(7634) reserve=Satoshi(1000) fees=Satoshi(13816)

  • (local) insufficient funds: missing=Satoshi(6892) reserve=Satoshi(700) fees=Satoshi(15343)

  • (local) insufficient funds: missing=Satoshi(7334) reserve=Satoshi(546) fees=Satoshi(15343)

  • (local) insufficient funds: missing=Satoshi(7544) reserve=Satoshi(600) fees=Satoshi(15343)

  • (remote) channel 608415x1514x0 is currently unavailable

Bastien Teinturier
@t-bast
Hello @jarnonestor_gitlab. It looks like you mainly have liquidity issues (not enough money remaining on your side of channels). Can you check the balance of each channel?
As for channels that are "unavailable", it can be for many reasons, maybe your peer is offline? You should check the logs to find out the exact reason and see if you can fix it locally.
marco giorda
@jarnonestor_gitlab
@t-bast thanks, yes I have more than enough money in the other channels, but also in those where it says I have no funds ... ?? how do i enter the registry? i don't know how to use command lines i have the version eclair-node-gui-0.3.3-12ac145.jar. Thank you very much
Bastien Teinturier
@t-bast
No need to use command lines, you just need to find the eclair.log file on your system.
Have a look at what's inside those logs, that should help you understand what issue your channels are having.
marco giorda
@jarnonestor_gitlab
ok ... but I don't understand anything .. I'll copy a few lines for you if you want to take a look. Thanks a lot, I'm here in quarantine ..
2020-03-25 00:02:36,510 INFO f.a.eclair.router.Router SYN n:026165850492521f4ac8abd9bd8088123446d126f648ca35e60f88177dc149ceb2 - validating shortChannelId=622821x2259x1
2020-03-25 00:02:36,576 INFO f.a.eclair.router.Router SYN - got validation result for shortChannelId=622821x2259x1 (awaiting=1 stash.nodes=0 stash.updates=0)
2020-03-25 00:03:52,733 INFO fr.acinq.eclair.io.Peer SYN n:031015a7839468a3c266d662d5bb21ea4cea24226936e2864a7ca4f2c3939836e0 - sent announcements to 031015a7839468a3c266d662d5bb21ea4cea24226936e2864a7ca4f2c3939836e0: channels=1 updates=0 nodes=0
2020-03-25 00:03:54,733 INFO fr.acinq.eclair.io.Peer SYN n:0298f6074a454a1f5345cb2a7c6f9fce206cd0bf675d177cdbf0ca7508dd28852f - sent announcements to 0298f6074a454a1f5345cb2a7c6f9fce206cd0bf675d177cdbf0ca7508dd28852f: channels=1 updates=0 nodes=0
2020-03-25 00:03:56,736 INFO fr.acinq.eclair.io.Peer SYN n:02de11c748f5b25cfd2ce801176d3926bfde4de23b1ff43e692a5b76cf06805e4a - sent announcements to 02de11c748f5b25cfd2ce801176d3926bfde4de23b1ff43e692a5b76cf06805e4a: channels=1 updates=0 nodes=0
2020-03-25 00:03:59,736 INFO fr.acinq.eclair.io.Peer SYN n:03fb822818be083e0a954db85257a2911a3d55458b8c1ea4124b157e865a836d12 - sent announcements to 03fb822818be083e0a954db85257a2911a3d55458b8c1ea4124b157e865a836d12: channels=1 updates=0 nodes=0
2020-03-25 00:04:01,743 INFO fr.acinq.eclair.io.Peer SYN n:029aee02904d4e419770b93c1b07aae2814a79032e23cafb4024cbea6fb71be106 - sent announcements to 029aee02904d4e419770b93c1b07aae2814a79032e23cafb4024cbea6fb71be106: channels=1 updates=0 nodes=0
Bastien Teinturier
@t-bast
Please look for "ERROR" or "WARN" logs, the ones you paste are unrelated
marco giorda
@jarnonestor_gitlab
ok
marco giorda
@jarnonestor_gitlab

2020-03-25 12:33:25,164 WARN f.a.e.channel.Channel
n:03bb88ccc444534da7b5b64b4f7b15e1eccb18e102db0e400d4b9cfe93763aa26d
c:4339b539d0fed9470d8ac153ff014621fe2faf0c15d9d9801c50ed14791e5baf - cannot add
htlc with
origin=Local(0a88e12e-cb7e-4be7-86a7-e09edbde4ccb,Some(Actor[akka://eclair-nodegui/user/$o/payment-initiator/$v#1490754128]))
reason=insufficient
funds:

missing=Satoshi(7516)
reserve=Satoshi(20000)
fees=Satoshi(0)
while
processing

cmd=CMD_ADD_HTLC
in
state=NORMAL
2020-03-25
12:33:25,165
INFO

f.a.e.p.s.PaymentLifecycle
PAY

h:38839937b21f1e843b46bd4f458e50230fb3cc2e1bc706deef2549515be478d1
p:0a88e12e

i:0a88e12e
-
received
an
error
message
from
local,
trying
to
use
a
different

channel
(failure=cannot
add
htlc
with

origin=Local(0a88e12e-cb7e-4be7-86a7-e09edbde4ccb,Some(Actor[akka://eclair-nodegui/user/$o/payment-initiator/$v#1490754128]))
reason=insufficient
funds:

missing=Satoshi(7516)
reserve=Satoshi(20000)
fees=Satoshi(0))


2020-03-25 12:33:26,291 WARN f.a.e.channel.Channel
n:031015a7839468a3c266d662d5bb21ea4cea24226936e2864a7ca4f2c3939836e0
c:abf936ee1c8d926ee2907649a8b264c6532efce6b270730372df9e25f0acad30 - cannot add
htlc with
origin=Local(0a88e12e-cb7e-4be7-86a7-e09edbde4ccb,Some(Actor[akka://eclair-nodegui/user/$o/payment-initiator/$v#1490754128]))
reason=insufficient
funds:

missing=Satoshi(5945)
reserve=Satoshi(600)
fees=Satoshi(10002)
while
processing

cmd=CMD_ADD_HTLC
in
state=NORMAL

araspitzu
@araspitzu
please use pastebin.com for large chunks of logs
marco giorda
@jarnonestor_gitlab
ok
Bastien Teinturier
@t-bast
These logs simply show that you have channels with low balance (too low to send your payments). If you don't expect to receive payments on these channels, you should either rebalance your liquidity or close those channels? There may be an improvement coming in a future release where we do a better job at taking into account your local balances in the path-finding, but I can't commit on a timeline for that yet.
marco giorda
@jarnonestor_gitlab
great thank you for all !
viaj3ro
@viaj3ro
quick question: how does the rebalancing algo handle channels with different fees? what happens if a payment comes through and wants to go via a certain channel with say 0.1% fee but another channel with say 0.3% fee exists and would normally be chosen by the algo. wont that lead to issues in some cases? AFAIK c-lightning has the standard limit at 0.5% for example.
Bastien Teinturier
@t-bast
@viaj3ro what rebalancing algo? There is no rebalancing happening at the moment.