@neo-one/node-protocol-esnext-esm
Version:
NEO•ONE NEO node and consensus protocol.
19 lines (18 loc) • 637 B
TypeScript
/// <reference types="node" />
export declare enum InventoryType {
Transaction = 1,
Block = 2,
Consensus = 224
}
export declare const InvalidInventoryTypeError: {
new (inventoryType: number): {
readonly name: string;
readonly code: string;
message: string;
stack?: string | undefined;
};
captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
stackTraceLimit: number;
};
export declare const assertInventoryType: (inventoryType: number) => InventoryType;