@neo-one/node-protocol-esnext-esm
Version:
NEO•ONE NEO node and consensus protocol.
17 lines (16 loc) • 819 B
TypeScript
import { BinaryWriter, SerializableWire, SerializeWire, UInt256 } from '@neo-one/client-common-esnext-esm';
import { DeserializeWireBaseOptions, DeserializeWireOptions } from '@neo-one/node-core-esnext-esm';
import { InventoryType } from './InventoryType';
export interface InvPayloadAdd {
readonly type: InventoryType;
readonly hashes: readonly UInt256[];
}
export declare class InvPayload implements SerializableWire<InvPayload> {
static deserializeWireBase({ reader }: DeserializeWireBaseOptions): InvPayload;
static deserializeWire(options: DeserializeWireOptions): InvPayload;
readonly type: InventoryType;
readonly hashes: readonly UInt256[];
readonly serializeWire: SerializeWire;
constructor({ type, hashes }: InvPayloadAdd);
serializeWireBase(writer: BinaryWriter): void;
}