DotNetLightning


ChannelConstants Module

Functions and values

Function or value Description

ACCEPTED_HTLC_SCRIPT_WEIGHT

Full Usage: ACCEPTED_HTLC_SCRIPT_WEIGHT

Returns: byte
Returns: byte

BREAKDOWN_TIMEOUT

Full Usage: BREAKDOWN_TIMEOUT

Returns: BlockHeightOffset16

The amount of time we require our counterparty wait to claim their money (i.e. time between when we, or our watchtower, mush check for them having a broadcast a theft transaction).

Returns: BlockHeightOffset16

B_OUTPUT_PLUS_SPENDING_INPUT_WEIGHT

Full Usage: B_OUTPUT_PLUS_SPENDING_INPUT_WEIGHT

Returns: uint64
Returns: uint64

COMMITMENT_TX_BASE_WEIGHT

Full Usage: COMMITMENT_TX_BASE_WEIGHT

Returns: uint64
Returns: uint64

COMMITMENT_TX_WEIGHT_PER_HTLC

Full Usage: COMMITMENT_TX_WEIGHT_PER_HTLC

Returns: uint64
Returns: uint64

HTLC_SUCCESS_TX_WEIGHT

Full Usage: HTLC_SUCCESS_TX_WEIGHT

Returns: uint64
Returns: uint64

HTLC_TIMEOUT_TX_WEIGHT

Full Usage: HTLC_TIMEOUT_TX_WEIGHT

Returns: uint64
Returns: uint64

INITIAL_COMMITMENT_NUMBER

Full Usage: INITIAL_COMMITMENT_NUMBER

Returns: uint64
Returns: uint64

MAX_CLTV_EXPIRY

Full Usage: MAX_CLTV_EXPIRY

Returns: BlockHeightOffset16
Returns: BlockHeightOffset16

MAX_FUNDING_SATOSHIS

Full Usage: MAX_FUNDING_SATOSHIS

Returns: Money

Specified in BOLT #2

Returns: Money

MIN_CLTV_EXPIRY

Full Usage: MIN_CLTV_EXPIRY

Returns: BlockHeightOffset16

Specified in BOLT 11

Returns: BlockHeightOffset16

OFFERED_HTLC_SCRIPT_WEIGHT

Full Usage: OFFERED_HTLC_SCRIPT_WEIGHT

Returns: byte
Returns: byte

OUR_MAX_HTLCs

Full Usage: OUR_MAX_HTLCs

Returns: uint16
Returns: uint16

SPENDING_INPUT_FOR_A_OUTPUT_WEIGHT

Full Usage: SPENDING_INPUT_FOR_A_OUTPUT_WEIGHT

Returns: uint64
Returns: uint64

UNCONF_THRESHOLD

Full Usage: UNCONF_THRESHOLD

Returns: uint32
Returns: uint32