DotNetLightning


Peer Module

Functions and values

Function or value Description

applyEvent state event

Full Usage: applyEvent state event

Parameters:
Returns: Peer
state : Peer
event : PeerEvent
Returns: Peer

executeCommand state cmd

Full Usage: executeCommand state cmd

Parameters:
Returns: Result<PeerEvent list, PeerError>
state : Peer
cmd : PeerCommand
Returns: Result<PeerEvent list, PeerError>