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
LastProcessedAt
public required DateTime LastProcessedAt { get; set; }
Property Value
LastProcessedBlockHash
public required Hash LastProcessedBlockHash { get; set; }
Property Value
LastProcessedHeight
public required uint LastProcessedHeight { get; set; }
Property Value
Methods
Equals(BlockchainStateEntity)
public bool Equals(BlockchainStateEntity other)
Parameters
other
BlockchainStateEntity
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.