Table of Contents

Class TxAddInputValidator

Namespace
NLightning.Bolts.BOLT2.Validators
Assembly
NLightning.Bolts.dll
public static class TxAddInputValidator
Inheritance
TxAddInputValidator
Inherited Members

Methods

Validate(bool, TxAddInputPayload, int, Func<byte[], Task<bool>>, Func<byte[], uint, bool>, Func<ulong, bool>)

public static void Validate(bool isInitiator, TxAddInputPayload input, int currentInputCount, Func<byte[], Task<bool>> isValidPrevTx, Func<byte[], uint, bool> isUniqueInput, Func<ulong, bool> isSerialIdUnique)

Parameters

isInitiator bool
input TxAddInputPayload
currentInputCount int
isValidPrevTx Func<byte[], Task<bool>>
isUniqueInput Func<byte[], uint, bool>
isSerialIdUnique Func<ulong, bool>