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
feeServiceIFeeServicelightningSignerILightningSignernodeOptionsNodeOptionssha256ISha256
Methods
CreateChannelV1AsNonInitiatorAsync(OpenChannel1Message, FeatureOptions, CompactPubKey)
public Task<ChannelModel> CreateChannelV1AsNonInitiatorAsync(OpenChannel1Message message, FeatureOptions negotiatedFeatures, CompactPubKey remoteNodeId)
Parameters
messageOpenChannel1MessagenegotiatedFeaturesFeatureOptionsremoteNodeIdCompactPubKey