qbit-rpc
    Preparing search index...

    Interface ConfirmationTarget

    getconfirmationtarget. The node's value_qbt echo is omitted: qbit Core computes it as a floating-point number, so it can be inexact. The value you passed is the exact one.

    interface ConfirmationTarget {
        auxpowHashrate: number;
        equivalentBtcConfirmations: number;
        model: {
            auxpowBlocksInWindow: number;
            blockTimeSeconds: number;
            btcHashrate: number;
            btcTargetConfirmations: number;
            cadenceMergedFraction: number;
            hashrateSource:
                | string & {}
                | "observed_chainwork"
                | "override_merge_mining_pct"
                | "fallback_merge_mining_pct";
            hashrateWindowBlocks: number;
            mergeMiningPct: number;
            orphanRatePenalty: number;
            permissionlessBlocksInWindow: number;
            securityPerConfirmation: number;
        };
        orphanRate: number;
        permissionlessHashrate: number;
        requiredConfirmations: number;
        requiredMinutes: number;
        securityLevel: SecurityLevel;
        totalObservedHashrate: number;
    }
    Index
    auxpowHashrate: number

    H/s, AuxPoW lane only.

    equivalentBtcConfirmations: number

    The Bitcoin confirmations of security they are equivalent to.

    model: {
        auxpowBlocksInWindow: number;
        blockTimeSeconds: number;
        btcHashrate: number;
        btcTargetConfirmations: number;
        cadenceMergedFraction: number;
        hashrateSource:
            | string & {}
            | "observed_chainwork"
            | "override_merge_mining_pct"
            | "fallback_merge_mining_pct";
        hashrateWindowBlocks: number;
        mergeMiningPct: number;
        orphanRatePenalty: number;
        permissionlessBlocksInWindow: number;
        securityPerConfirmation: number;
    }

    The model parameters the node used.

    Type Declaration

    • ReadonlyauxpowBlocksInWindow: number

      AuxPoW blocks in that window.

    • ReadonlyblockTimeSeconds: number

      qbit's block time, from the consensus parameters, in seconds.

    • ReadonlybtcHashrate: number

      The Bitcoin hashrate estimate used, in H/s.

    • ReadonlybtcTargetConfirmations: number

      The Bitcoin confirmations this security level targets.

    • ReadonlycadenceMergedFraction: number

      The fraction of blocks merge mined, from the consensus lane spacings, for the fallback percentage model.

    • ReadonlyhashrateSource:
          | string & {}
          | "observed_chainwork"
          | "override_merge_mining_pct"
          | "fallback_merge_mining_pct"

      Or a source a later qbit Core adds, as it is.

    • ReadonlyhashrateWindowBlocks: number

      The active-chain block window the hashrate estimates use.

    • ReadonlymergeMiningPct: number

      The share of Bitcoin's hashrate merge mining qbit, 0 to 1, used when the observed chainwork is not.

    • ReadonlyorphanRatePenalty: number

      The confirmation multiplier for the orphan rate.

    • ReadonlypermissionlessBlocksInWindow: number

      Permissionless blocks in that window.

    • ReadonlysecurityPerConfirmation: number

      The fraction of a Bitcoin confirmation each qbit confirmation is worth.

    orphanRate: number

    The current stale (orphan) block rate.

    permissionlessHashrate: number

    H/s, permissionless lane only.

    requiredConfirmations: number

    The qbit confirmations recommended for the value and security level.

    requiredMinutes: number

    The estimated wait for them, in minutes.

    securityLevel: SecurityLevel

    The security level used.

    totalObservedHashrate: number

    The observed hashrate over both lanes, permissionless and AuxPoW, in H/s.