DotNetLightning


ChannelConsumerAction Type

Union cases

Union case Description

Close

Full Usage: Close

Close channel immediately. The most popular action. Might be good to lower the trust score of the peer.

DistrustPeer

Full Usage: DistrustPeer

Same with the Close in the sense that the peer did something unacceptable to us. But the channel is not open yet.

Ignore

Full Usage: Ignore

The error is not critical to the channel operation. But it maybe good to report the log message, or maybe lower the peer score.

ReportAndCrash

Full Usage: ReportAndCrash

The error which should never happen. This implies a bug so we must do something on this Library For the sake of saving funds, the API consumer might attempt a channel close. But they cannot be sure that closing will always succeed.