Table of Contents

Class WeightConstants

Namespace
NLightning.Bolts.BOLT3.Constants
Assembly
NLightning.Bolts.dll
public static class WeightConstants
Inheritance
WeightConstants
Inherited Members

Fields

ANCHOR_OUTPUT_WEIGHT

public const int ANCHOR_OUTPUT_WEIGHT = 172

Field Value

int

HTLC_OUTPUT_WEIGHT

public const int HTLC_OUTPUT_WEIGHT = 172

Field Value

int

HTLC_SUCCESS_WEIGHT_ANCHORS

public const int HTLC_SUCCESS_WEIGHT_ANCHORS = 706

Field Value

int

HTLC_SUCCESS_WEIGHT_NO_ANCHORS

public const int HTLC_SUCCESS_WEIGHT_NO_ANCHORS = 703

Field Value

int

HTLC_TIMEOUT_WEIGHT_ANCHORS

public const int HTLC_TIMEOUT_WEIGHT_ANCHORS = 666

Field Value

int

HTLC_TIMEOUT_WEIGHT_NO_ANCHORS

public const int HTLC_TIMEOUT_WEIGHT_NO_ANCHORS = 663

Field Value

int

MULTISIG_WITNESS_WEIGHT

public const int MULTISIG_WITNESS_WEIGHT = 222

Field Value

int

P2PKH_INTPUT_WEIGHT

public const int P2PKH_INTPUT_WEIGHT = 148

Field Value

int

P2PKH_OUTPUT_WEIGHT

public const int P2PKH_OUTPUT_WEIGHT = 136

Field Value

int

P2SH_INTPUT_WEIGHT

public const int P2SH_INTPUT_WEIGHT = 148

Field Value

int

P2SH_OUTPUT_WEIGHT

public const int P2SH_OUTPUT_WEIGHT = 132

Field Value

int

P2UNKOWN_S_INTPUT_WEIGHT

public const int P2UNKOWN_S_INTPUT_WEIGHT = 41

Field Value

int

P2UNKOWN_S_OUTPUT_WEIGHT

public const int P2UNKOWN_S_OUTPUT_WEIGHT = 204

Field Value

int

P2WPKH_INTPUT_WEIGHT

public const int P2WPKH_INTPUT_WEIGHT = 41

Field Value

int

P2WPKH_OUTPUT_WEIGHT

public const int P2WPKH_OUTPUT_WEIGHT = 124

Field Value

int

P2WSH_INTPUT_WEIGHT

public const int P2WSH_INTPUT_WEIGHT = 41

Field Value

int

P2WSH_OUTPUT_WEIGHT

public const int P2WSH_OUTPUT_WEIGHT = 172

Field Value

int

TRANSACTION_BASE_WEIGHT

public const int TRANSACTION_BASE_WEIGHT = 40

Field Value

int

WITNESS_HEADER

public const int WITNESS_HEADER = 2

Field Value

int