qbit-rpc
    Preparing search index...

    Type Alias BlockSubmissionReason

    BlockSubmissionReason:
        | "duplicate"
        | "duplicate-invalid"
        | "duplicate-inconclusive"
        | "inconclusive"
        | "inconclusive-not-best-prevblk"
        | "stale-prevblk"
        | "rejected"
        | "high-hash"
        | string & {}

    Why qbit Core did not answer null to a block. Not every one is a refusal:

    • duplicate: the node has the block already, accepted or stored before; it says nothing of the tip.
    • inconclusive: it was stored but not connected, as it is not on the best chain; no refusal, and nothing says it will win.
    • duplicate-invalid: it is known and invalid.
    • duplicate-inconclusive: from a proposal, known and not fully checked.
    • inconclusive-not-best-prevblk: from a proposal, its parent is not the tip.
    • stale-prevblk: from submitauxblock, no candidate is cached under the hash: its parent left the tip, it expired or was evicted, or it was accepted.
    • rejected: refused without a reason.

    Any other is the consensus check that failed (high-hash, bad-txnmrklroot, bad-cb-amount, bad-auxpow-commitment, time-too-new and so on) or one a later qbit Core adds: open, as it says why, and the result keeps its meaning.