Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHtlc ¶
func GetHtlc(hash lntypes.Hash, contract *loopdb.SwapContract, chainParams *chaincfg.Params) (*swap.Htlc, error)
GetHtlc composes and returns the on-chain swap script.
func GetHtlcScriptVersion ¶
func GetHtlcScriptVersion( protocolVersion loopdb.ProtocolVersion) swap.ScriptVersion
GetHtlcScriptVersion returns the correct HTLC script version for the passed protocol version.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.