Table of Contents

Class ChannelIdFactory

Namespace
NLightning.Common.Factories
Assembly
NLightning.Common.dll
public static class ChannelIdFactory
Inheritance
ChannelIdFactory
Inherited Members

Methods

CreateV1(Span<byte>, ushort)

[Obsolete("Method is deprecated because we've only implemented V2 Channels", true)]
public static ChannelId CreateV1(Span<byte> fundingTxId, ushort fundingOutputIndex)

Parameters

fundingTxId Span<byte>
fundingOutputIndex ushort

Returns

ChannelId

CreateV2(Span<byte>, Span<byte>)

public static ChannelId CreateV2(Span<byte> lesserRevocationBasepoint, Span<byte> greaterRevocationBasepoint)

Parameters

lesserRevocationBasepoint Span<byte>
greaterRevocationBasepoint Span<byte>

Returns

ChannelId