2024-08-14 20:33:21 +05:30

7 lines
269 B
TypeScript

import { Field, Type } from "protobufjs";
export const ProtoSequencedMessage = new Type("SequencedMessage")
.add(new Field("hash", 1, "string"))
.add(new Field("total", 2, "uint64"))
.add(new Field("index", 3, "uint64"))
.add(new Field("sender", 4, "string"));