Table of Contents

Class ChannelFactory

Namespace
NLightning.Domain.Channels.Factories
Assembly
NLightning.Domain.dll
public class ChannelFactory : IChannelFactory
Inheritance
ChannelFactory
Implements
Inherited Members

Constructors

ChannelFactory(IFeeService, ILightningSigner, NodeOptions, ISha256)

public ChannelFactory(IFeeService feeService, ILightningSigner lightningSigner, NodeOptions nodeOptions, ISha256 sha256)

Parameters

feeService IFeeService
lightningSigner ILightningSigner
nodeOptions NodeOptions
sha256 ISha256

Methods

CreateChannelV1AsNonInitiatorAsync(OpenChannel1Message, FeatureOptions, CompactPubKey)

public Task<ChannelModel> CreateChannelV1AsNonInitiatorAsync(OpenChannel1Message message, FeatureOptions negotiatedFeatures, CompactPubKey remoteNodeId)

Parameters

message OpenChannel1Message
negotiatedFeatures FeatureOptions
remoteNodeId CompactPubKey

Returns

Task<ChannelModel>