Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ResponseChain

Implements

Index

Constructors

constructor

Properties

Private m_block_ids

m_block_ids: string[] = ...

Private m_start_height

m_start_height: number = 0

Private m_total_height

m_total_height: number = 0

Accessors

block_ids

  • get block_ids(): string[]
  • set block_ids(value: string[]): void
  • The block hashes that we know about in descending order

    Returns string[]

  • The block hashes that we know about in descending order

    Parameters

    • value: string[]

    Returns void

start_height

  • get start_height(): number
  • set start_height(value: number): void
  • the starting height of the response data

    Returns number

  • the starting height of the response data

    Parameters

    • value: number

    Returns void

total_height

  • get total_height(): number
  • set total_height(value: number): void
  • The current network height we have observed

    Returns number

  • The current network height we have observed

    Parameters

    • value: number

    Returns void

Methods

toBuffer

  • toBuffer(): Buffer
  • Provides the Buffer representation of the object

    Returns Buffer

    the buffer representation of the object

toString

  • toString(): string
  • Provides the hexadecimal (blob) representation of the object

    Returns string

    the hexadecimal (blob) representation of the object

Static from

  • Creates a new instance of the object using the supplied data found in the levin packet

    Parameters

    • data: string | Buffer | Reader

      the data contained for the payload in the levin packet

    Returns ResponseChain

    a new instance of the object

Generated using TypeDoc