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
Operators
implicit operator byte(ChannelFlags)
public static implicit operator byte(ChannelFlags c)
Parameters
Returns
implicit operator byte[](ChannelFlags)
public static implicit operator byte[](ChannelFlags c)
Parameters
Returns
- byte[]
implicit operator ChannelFlags(byte)
public static implicit operator ChannelFlags(byte value)
Parameters
value
byte
Returns
implicit operator ChannelFlags(byte[])
public static implicit operator ChannelFlags(byte[] value)
Parameters
value
byte[]