Record Field | Description |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Static member | Description |
Full Usage:
Channel.NewInbound(channelHandshakeLimits, channelOptions, announceChannel, nodeMasterPrivKey, channelIndex, network, remoteNodeId, minimumDepth, shutdownScriptPubKey, openChannelMsg, localParams, remoteInit)
Parameters:
ChannelHandshakeLimits
channelOptions : ChannelOptions
announceChannel : bool
nodeMasterPrivKey : NodeMasterPrivKey
channelIndex : int
network : Network
remoteNodeId : NodeId
minimumDepth : BlockHeightOffset32
shutdownScriptPubKey : Option<ShutdownScriptPubKey>
openChannelMsg : OpenChannelMsg
localParams : LocalParams
remoteInit : InitMsg
Returns: Result<(AcceptChannelMsg * ChannelWaitingForFundingCreated), ChannelError>
|
|
Full Usage:
Channel.NewOutbound(channelHandshakeLimits, channelOptions, announceChannel, nodeMasterPrivKey, channelIndex, network, remoteNodeId, shutdownScriptPubKey, temporaryChannelId, fundingSatoshis, pushMSat, initFeeRatePerKw, localParams, remoteInit)
Parameters:
ChannelHandshakeLimits
channelOptions : ChannelOptions
announceChannel : bool
nodeMasterPrivKey : NodeMasterPrivKey
channelIndex : int
network : Network
remoteNodeId : NodeId
shutdownScriptPubKey : Option<ShutdownScriptPubKey>
temporaryChannelId : ChannelId
fundingSatoshis : Money
pushMSat : LNMoney
initFeeRatePerKw : FeeRatePerKw
localParams : LocalParams
remoteInit : InitMsg
Returns: Result<(OpenChannelMsg * ChannelWaitingForAcceptChannel), ChannelError>
|
|
Full Usage:
Channel.SpendableBalanceFromParts(savedChannelState) (remoteNextCommitInfo) (commitments)
Parameters:
SavedChannelState
remoteNextCommitInfo : Option<RemoteNextCommitInfo>
commitments : Commitments
Returns: LNMoney
|
|