UNPKG

mokka

Version:

Mokka Consensus Algorithm implementation in Javascript

12 lines (11 loc) 306 B
declare class PacketModel { state: number; term: number; publicKey: string; type: number; data: any; proof: string; timestamp: number; constructor(type: number, state: number, term: number, publicKey: string, proof: string, data?: any); } export { PacketModel };