Table of Contents

Class BlockchainStateEntity

Namespace
NLightning.Infrastructure.Persistence.Entities.Bitcoin
Assembly
NLightning.Infrastructure.Persistence.dll
public class BlockchainStateEntity
Inheritance
BlockchainStateEntity
Inherited Members

Properties

Id

public required Guid Id { get; set; }

Property Value

Guid

LastProcessedAt

public required DateTime LastProcessedAt { get; set; }

Property Value

DateTime

LastProcessedBlockHash

public required Hash LastProcessedBlockHash { get; set; }

Property Value

Hash

LastProcessedHeight

public required uint LastProcessedHeight { get; set; }

Property Value

uint

Methods

Equals(BlockchainStateEntity)

public bool Equals(BlockchainStateEntity other)

Parameters

other BlockchainStateEntity

Returns

bool

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.