Struct VHtlcDelay
A CSV timelock delay for a VHTLC contract, expressed in blocks or seconds.
public readonly record struct VHtlcDelay : IEquatable<VHtlcDelay>
- Implements
- Inherited Members
Constructors
VHtlcDelay(bool, uint)
A CSV timelock delay for a VHTLC contract, expressed in blocks or seconds.
public VHtlcDelay(bool IsSeconds, uint Value)
Parameters
Properties
IsSeconds
public bool IsSeconds { get; init; }
Property Value
Value
public uint Value { get; init; }
Property Value
Methods
Blocks(uint)
public static VHtlcDelay Blocks(uint blocks)
Parameters
blocksuint
Returns
Seconds(uint)
public static VHtlcDelay Seconds(uint seconds)
Parameters
secondsuint