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
HighestUsedIndexintHighest derivation index that any provider reported as used;
-1if no usage was detected at all.ScannedCountintTotal number of indices probed.
DiscoveredContractsIReadOnlyList<DiscoveredContract>Contracts that were reconstructed and persisted during the scan.
ProviderHitsIReadOnlyDictionary<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
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
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
ScannedCount
Total number of indices probed.
public int ScannedCount { get; init; }