3

I have a lnd node that I would like to to cycle down completely. I would like to close all its channels and prevent that the node participates in any new channels while I'm waiting for the force-closed channels to mature.

What settings do I need to use in lnd to prevent my node from creating new channels, and to decline any new inbound channels?

1
  • LND has a ChannelAcceptor call which is available in API that allows you to block all incoming channel requests. However, I'm unsure if it is available in the RPC interface on the daemon with ln-cli
    – Ugam Kamat
    Oct 29, 2019 at 18:06

1 Answer 1

2

You can set the option --maxpendingchannels=0 to disallow peers to open channels to your node.

0

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.