@darwinia/types
Version:
Implementation of the Parity codec
17 lines (16 loc) • 524 B
TypeScript
import type { Struct, Text, u64 } from '@polkadot/types-codec';
/** @name MmrNodesPruningConfiguration */
export interface MmrNodesPruningConfiguration extends Struct {
readonly step: NodeIndex;
readonly progress: NodeIndex;
readonly lastPosition: NodeIndex;
}
/** @name MMRProofResult */
export interface MMRProofResult extends Struct {
readonly mmrSize: u64;
readonly proof: Text;
}
/** @name NodeIndex */
export interface NodeIndex extends u64 {
}
export declare type PHANTOM_HEADERMMR = 'headerMMR';