Interface IChannelFactory
- Namespace
- NLightning.Domain.Channels.Interfaces
- Assembly
- NLightning.Domain.dll
public interface IChannelFactory
Methods
CreateChannelV1AsInitiatorAsync(OpenChannelClientRequest, FeatureOptions, CompactPubKey)
Task<ChannelModel> CreateChannelV1AsInitiatorAsync(OpenChannelClientRequest request, FeatureOptions negotiatedFeatures, CompactPubKey remoteNodeId)
Parameters
requestOpenChannelClientRequestnegotiatedFeaturesFeatureOptionsremoteNodeIdCompactPubKey
Returns
CreateChannelV1AsNonInitiatorAsync(OpenChannel1Message, FeatureOptions, CompactPubKey)
Task<ChannelModel> CreateChannelV1AsNonInitiatorAsync(OpenChannel1Message message, FeatureOptions negotiatedFeatures, CompactPubKey remoteNodeId)
Parameters
messageOpenChannel1MessagenegotiatedFeaturesFeatureOptionsremoteNodeIdCompactPubKey