BitcoinerLab Descriptors API - v3.1.7
    Preparing search index...

    Type Alias LedgerState

    Ledger devices operate in a state-less manner. Therefore, policy information needs to be maintained in a separate data structure, ledgerState. For optimization, ledgerState also stores cached xpubs and the masterFingerprint.

    type LedgerState = {
        masterFingerprint?: Uint8Array;
        policies?: {
            policyName?: string;
            ledgerTemplate: string;
            keyRoots: string[];
            policyId?: Uint8Array;
            policyHmac?: Uint8Array;
        }[];
        xpubs?: { [key: string]: string };
    }
    Index

    Properties

    masterFingerprint?: Uint8Array
    policies?: {
        policyName?: string;
        ledgerTemplate: string;
        keyRoots: string[];
        policyId?: Uint8Array;
        policyHmac?: Uint8Array;
    }[]
    xpubs?: { [key: string]: string }