Functions to work wth LN-specific bitcoin scripts.
Function or value | Description |
Full Usage:
funding fundingPubKey0 fundingPubKey1
Parameters:
FundingPubKey
fundingPubKey1 : FundingPubKey
Returns: Script
|
|
Full Usage:
htlcOffered localHtlcPubKey remoteHtlcPubKey revocationPubKey ph
Parameters:
HtlcPubKey
remoteHtlcPubKey : HtlcPubKey
revocationPubKey : RevocationPubKey
ph : PaymentHash
Returns: Script
|
|
Full Usage:
htlcReceived localHTLCPubKey remoteHTLCPubKey revocationPubKey ph lockTime
Parameters:
HtlcPubKey
remoteHTLCPubKey : HtlcPubKey
revocationPubKey : RevocationPubKey
ph : PaymentHash
lockTime : uint32
Returns: Script
|
|
Full Usage:
toLocalDelayed revocationPubKey arg2 localDelayedPaymentPubKey
Parameters:
RevocationPubKey
arg1 : BlockHeightOffset16
localDelayedPaymentPubKey : DelayedPaymentPubKey
Returns: Script
|
|