DotNetLightning


ShaChain Type

Record fields

Record Field Description

KnownHashes

Full Usage: KnownHashes

Field type: Map<bool array, byte array>
Field type: Map<bool array, byte array>

LastIndex

Full Usage: LastIndex

Field type: uint64 option
Field type: uint64 option

Instance members

Instance member Description

this.AddHash

Full Usage: this.AddHash

Parameters:
    hash : byte array
    index : uint64

Returns: ShaChain
hash : byte array
index : uint64
Returns: ShaChain

this.GetHash

Full Usage: this.GetHash

Parameters:
    index : uint64

Returns: ShaChain
index : uint64
Returns: ShaChain

Static members

Static member Description

ShaChain.Zero

Full Usage: ShaChain.Zero

Returns: ShaChain
Returns: ShaChain