DotNetLightning


BlockHeightOffset16 Type

Description

16bit relative block height used for OP_CSV locks, Since OP_CSV allow only block number of 0 ~ 65535, it is safe to restrict into the range smaller than BlockHeight

Union cases

Union case Description

BlockHeightOffset16 uint16

Full Usage: BlockHeightOffset16 uint16

Parameters:
    Item : uint16

Item : uint16

Instance members

Instance member Description

this.Value

Full Usage: this.Value

Returns: uint16
Returns: uint16

Static members

Static member Description

a + b

Full Usage: a + b

Parameters:
Returns: BlockHeightOffset16
a : BlockHeightOffset16
b : BlockHeightOffset16
Returns: BlockHeightOffset16

a - b

Full Usage: a - b

Parameters:
Returns: BlockHeightOffset16
a : BlockHeightOffset16
b : BlockHeightOffset16
Returns: BlockHeightOffset16

BlockHeightOffset16.MaxValue

Full Usage: BlockHeightOffset16.MaxValue

Returns: BlockHeightOffset16
Returns: BlockHeightOffset16

BlockHeightOffset16.One

Full Usage: BlockHeightOffset16.One

Returns: BlockHeightOffset16
Returns: BlockHeightOffset16

BlockHeightOffset16.Zero

Full Usage: BlockHeightOffset16.Zero

Returns: BlockHeightOffset16
Returns: BlockHeightOffset16

op_Implicitv

Full Usage: op_Implicitv

Parameters:
    v : uint16

Returns: BlockHeightOffset16
v : uint16
Returns: BlockHeightOffset16