Table of Contents

Class RecoveryReport

Namespace
NArk.Abstractions.Recovery
Assembly
NArk.Abstractions.dll

Summary of an HD wallet recovery scan.

public record RecoveryReport : IEquatable<RecoveryReport>
Inheritance
RecoveryReport
Implements
Inherited Members

Constructors

RecoveryReport(int, int, IReadOnlyList<DiscoveredContract>, IReadOnlyDictionary<string, int>)

Summary of an HD wallet recovery scan.

public RecoveryReport(int HighestUsedIndex, int ScannedCount, IReadOnlyList<DiscoveredContract> DiscoveredContracts, IReadOnlyDictionary<string, int> ProviderHits)

Parameters

HighestUsedIndex int

Highest derivation index that any provider reported as used; -1 if no usage was detected at all.

ScannedCount int

Total number of indices probed.

DiscoveredContracts IReadOnlyList<DiscoveredContract>

Contracts that were reconstructed and persisted during the scan.

ProviderHits IReadOnlyDictionary<string, int>

Per-provider counts of indices each one reported as used. Useful for logging and tests.

Properties

DiscoveredContracts

Contracts that were reconstructed and persisted during the scan.

public IReadOnlyList<DiscoveredContract> DiscoveredContracts { get; init; }

Property Value

IReadOnlyList<DiscoveredContract>

HighestUsedIndex

Highest derivation index that any provider reported as used; -1 if no usage was detected at all.

public int HighestUsedIndex { get; init; }

Property Value

int

ProviderHits

Per-provider counts of indices each one reported as used. Useful for logging and tests.

public IReadOnlyDictionary<string, int> ProviderHits { get; init; }

Property Value

IReadOnlyDictionary<string, int>

ScannedCount

Total number of indices probed.

public int ScannedCount { get; init; }

Property Value

int