qbit-rpc
    Preparing search index...

    Interface AuxBlock

    createauxblock: a merge-mining candidate the node holds in its cache. The parent chain's coinbase commits to hash, in the byte order commitmentOrder names, and its header must meet target.

    interface AuxBlock {
        bits: string;
        chainId: number;
        coinbaseValueBits: bigint;
        commitmentActivationHeight: number;
        commitmentOrder: "internal" | "display";
        futureBlockTime: FutureBlockTimeRule;
        hash: string;
        height: number;
        p2mrValidationWeight: P2mrValidationWeightRule;
        previousBlockHash: string;
        target: string;
    }
    Index
    bits: string

    The candidate's compact target.

    chainId: number

    This chain's AuxPoW chain id: 47 on main, 31430 on the test chains and regtest.

    coinbaseValueBits: bigint

    The candidate's coinbase value, fees included, in bits.

    commitmentActivationHeight: number

    The height from which the order is display.

    commitmentOrder: "internal" | "display"

    The byte order the commitment must use.

    futureBlockTime: FutureBlockTimeRule

    The future block-time rule for the candidate.

    hash: string

    The candidate's block hash, for submitAuxBlock and, once accepted, getBlockHeader.

    height: number

    The candidate's height.

    p2mrValidationWeight: P2mrValidationWeightRule

    The P2MR validation-weight rule for the candidate.

    previousBlockHash: string

    The hash of the tip the candidate builds on.

    target: string

    bits expanded.