Table of Contents

Class ChannelIdFactory

Namespace
NLightning.Infrastructure.Protocol.Factories
Assembly
NLightning.Infrastructure.dll
public class ChannelIdFactory : IChannelIdFactory
Inheritance
ChannelIdFactory
Implements
Inherited Members

Methods

CreateV1(TxId, ushort)

public ChannelId CreateV1(TxId fundingTxId, ushort fundingOutputIndex)

Parameters

fundingTxId TxId
fundingOutputIndex ushort

Returns

ChannelId

CreateV2(CompactPubKey, CompactPubKey)

public ChannelId CreateV2(CompactPubKey lesserRevocationBasepoint, CompactPubKey greaterRevocationBasepoint)

Parameters

lesserRevocationBasepoint CompactPubKey
greaterRevocationBasepoint CompactPubKey

Returns

ChannelId