Skip to content

Type Alias: KeyHolderCheck

TypeScript
type KeyHolderCheck = 
  | {
  status: "unchecked";
}
  | {
  status: "unread";
}
  | {
  read?: "partial";
  reason: string;
  status: "accepted";
};

Defined in: agent-core/src/key-holder.ts:32 (opens in a new tab)

SPEC §8.1 step 5a, §8.2 step 8a: unchecked when no judge was passed, unread when a signer's records could not be read in full, which is not a refusal, else the judge's acceptance. A refusal is E_KEY_HOLDER_REFUSED.