Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LogForkFraudProof

Hierarchy

Index

Constructors

constructor

  • new LogForkFraudProof(logPubkey: Buffer, forkNumber: number, blockSeq: number, rootHashAtBlock: Buffer, rootHashSignature: Buffer): LogForkFraudProof

Properties

blockSeq

blockSeq: number

forkNumber

forkNumber: number

logPubkey

logPubkey: Buffer

message

message: string

name

name: string

rootHashAtBlock

rootHashAtBlock: Buffer

rootHashSignature

rootHashSignature: Buffer

Optional stack

stack?: string

Static Optional prepareStackTrace

prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Type declaration

Static stackTraceLimit

stackTraceLimit: number

Methods

[custom]

  • [custom](depth: number, opts: { indentationLvl: number; stylize: Function }): string
  • Parameters

    • depth: number
    • opts: { indentationLvl: number; stylize: Function }
      • indentationLvl: number
      • stylize: Function

    Returns string

toJSON

  • toJSON(): { blockSeq: number; forkNumber: number; logPubkey: string; rootHashAtBlock: string; rootHashSignature: string; vitraLogForkFraudProof: number }
  • Returns { blockSeq: number; forkNumber: number; logPubkey: string; rootHashAtBlock: string; rootHashSignature: string; vitraLogForkFraudProof: number }

    • blockSeq: number
    • forkNumber: number
    • logPubkey: string
    • rootHashAtBlock: string
    • rootHashSignature: string
    • vitraLogForkFraudProof: number

Static captureStackTrace

  • captureStackTrace(targetObject: object, constructorOpt?: Function): void
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Static fromJSON

Generated using TypeDoc