Table of Contents

Struct ChannelFlags

Namespace
NLightning.Domain.Channels.ValueObjects
Assembly
NLightning.Domain.dll

Only the least-significant bit of channel_flags is currently defined: announce_channel. This indicates whether the initiator of the funding flow wishes to advertise this channel publicly to the network

public readonly record struct ChannelFlags : IValueObject, IEquatable<ChannelFlags>
Implements
Inherited Members

Constructors

ChannelFlags(ChannelFlag)

public ChannelFlags(ChannelFlag value)

Parameters

value ChannelFlag

ChannelFlags(byte)

public ChannelFlags(byte value)

Parameters

value byte

Properties

AnnounceChannel

public bool AnnounceChannel { get; }

Property Value

bool

Operators

implicit operator byte(ChannelFlags)

public static implicit operator byte(ChannelFlags c)

Parameters

c ChannelFlags

Returns

byte

implicit operator byte[](ChannelFlags)

public static implicit operator byte[](ChannelFlags c)

Parameters

c ChannelFlags

Returns

byte[]

implicit operator ChannelFlags(byte)

public static implicit operator ChannelFlags(byte value)

Parameters

value byte

Returns

ChannelFlags

implicit operator ChannelFlags(byte[])

public static implicit operator ChannelFlags(byte[] value)

Parameters

value byte[]

Returns

ChannelFlags