Table of Contents

Interface IChannelIdFactory

Namespace
NLightning.Domain.Protocol.Interfaces
Assembly
NLightning.Domain.dll
public interface IChannelIdFactory

Methods

CreateV1(TxId, ushort)

ChannelId CreateV1(TxId fundingTxId, ushort fundingOutputIndex)

Parameters

fundingTxId TxId
fundingOutputIndex ushort

Returns

ChannelId

CreateV2(CompactPubKey, CompactPubKey)

ChannelId CreateV2(CompactPubKey lesserRevocationBasepoint, CompactPubKey greaterRevocationBasepoint)

Parameters

lesserRevocationBasepoint CompactPubKey
greaterRevocationBasepoint CompactPubKey

Returns

ChannelId