Table of Contents

Class DustService

Namespace
NLightning.Bolts.BOLT3.Services
Assembly
NLightning.Bolts.dll
public class DustService
Inheritance
DustService
Inherited Members

Constructors

DustService(IFeeService)

public DustService(IFeeService feeService)

Parameters

feeService IFeeService

Methods

CalculateP2PkhDustLimit()

public ulong CalculateP2PkhDustLimit()

Returns

ulong

CalculateP2ShDustLimit()

public ulong CalculateP2ShDustLimit()

Returns

ulong

CalculateP2WpkhDustLimit()

public ulong CalculateP2WpkhDustLimit()

Returns

ulong

CalculateP2WshDustLimit()

public ulong CalculateP2WshDustLimit()

Returns

ulong

CalculateUnknownSegwitVersionDustLimit()

public ulong CalculateUnknownSegwitVersionDustLimit()

Returns

ulong

IsDust(ulong, Script)

public bool IsDust(ulong amount, Script scriptPubKey)

Parameters

amount ulong
scriptPubKey Script

Returns

bool