Class DestinationSafety
Detects when a wallet's sweep destination has been orphaned by an Arkade signer rotation.
public static class DestinationSafety
- Inheritance
-
DestinationSafety
- Inherited Members
Fields
PendingConfirmationMetadataKey
Metadata key marking a destination disabled pending user re-confirmation. Value = deprecated server key (hex).
public const string PendingConfirmationMetadataKey = "destination:pendingConfirmation"
Field Value
Methods
IsStale(ArkAddress?, ArkServerInfo)
True when destination points at a server signer key that was ours and is now
deprecated (literally targets the rotated-away signer). External keys never in our deprecated
set, and the current signer, are not stale.
public static bool IsStale(ArkAddress? destination, ArkServerInfo serverInfo)
Parameters
destinationArkAddressserverInfoArkServerInfo