2

LND v0.15.5-beta

In my lnd.conf file I have the following lines:

bitcoin.maxlocaldelay=144
bitcoin.defaultremotedelay=144

When I try to open a channel using lncli, I get the following error message:

$ lncli --sat_per_vbyte=1 --remote_csv_delay=144 --node_key=XXXXXXXX --local_amt=1500000 --push_amt=750000
[lncli] rpc error: code = Unknown desc = CSV delay too large: 180, max is 144

Apparently, it bases its CSV delay value on the size of the channel. Is there any way to override that default? None of the settings or parameters I have tried has worked.

1 Answer 1

1

It is difficult to answer this without more information about your setup and your channel partner, but I suspect this is because your channel partner wants a delay of 180, but you've set a maxlocaldelay of 144.

Per the sample conf file from LND:

; The maximum number of blocks we will limit the wait that our own funds are
; encumbered by in the case when our node unilaterally closes. If a remote peer
; proposes a channel with a delay above this amount, lnd will reject the
; channel.
; bitcoin.maxlocaldelay=2016

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.