Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • block_header

Index

Constructors

  • new block_header(previous?: null | Uint8Array, height?: number, timestamp?: number, previous_state_merkle_root?: null | Uint8Array, transaction_merkle_root?: null | Uint8Array, signer?: null | Uint8Array, approved_proposals?: Uint8Array[]): block_header
  • Parameters

    • previous: null | Uint8Array = null
    • height: number = 0
    • timestamp: number = 0
    • previous_state_merkle_root: null | Uint8Array = null
    • transaction_merkle_root: null | Uint8Array = null
    • signer: null | Uint8Array = null
    • approved_proposals: Uint8Array[] = []

    Returns block_header

Properties

approved_proposals: Uint8Array[]
height: number
previous: null | Uint8Array
previous_state_merkle_root: null | Uint8Array
signer: null | Uint8Array
timestamp: number
transaction_merkle_root: null | Uint8Array

Methods

  • Parameters

    • reader: Reader
    • length: number

    Returns block_header

  • Parameters

    Returns void

Generated using TypeDoc