Table of Contents

Class Channel

Namespace
NLightning.Domain.Channels
Assembly
NLightning.Domain.dll
public class Channel
Inheritance
Channel
Inherited Members

Constructors

Channel(ChannelId, bool)

public Channel(ChannelId channelId, bool isInitiator)

Parameters

channelId ChannelId
isInitiator bool

Properties

ChannelId

public ChannelId ChannelId { get; }

Property Value

ChannelId

IsInitiator

public bool IsInitiator { get; }

Property Value

bool

ShortChannelId

public ShortChannelId? ShortChannelId { get; }

Property Value

ShortChannelId?

State

public ChannelState State { get; }

Property Value

ChannelState

Methods

AssignShortChannelId(ShortChannelId)

public void AssignShortChannelId(ShortChannelId shortChannelId)

Parameters

shortChannelId ShortChannelId

UpdateState(ChannelState)

public void UpdateState(ChannelState newState)

Parameters

newState ChannelState