@polkadot/types
Version:
Implementation of the Parity codec
18 lines (17 loc) • 602 B
TypeScript
import type { Struct, bool } from '@polkadot/types-codec';
import type { BlockHash } from '@polkadot/types/interfaces/chain';
/** @name CreatedBlock */
export interface CreatedBlock extends Struct {
readonly blockHash: BlockHash;
readonly aux: ImportedAux;
}
/** @name ImportedAux */
export interface ImportedAux extends Struct {
readonly headerOnly: bool;
readonly clearJustificationRequests: bool;
readonly needsJustification: bool;
readonly badJustification: bool;
readonly needsFinalityProof: bool;
readonly isNewBest: bool;
}
export type PHANTOM_ENGINE = 'engine';