Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • MissingTransactions

Implements

Index

Constructors

constructor

Properties

Private m_blockHash

m_blockHash: string = ...

Private m_current_blockchain_height

m_current_blockchain_height: number = 0

Private m_missing_txs

m_missing_txs: string[] = ...

Accessors

blockHash

  • get blockHash(): string
  • set blockHash(value: string): void
  • The block hash containing for which we need the transactions

    Returns string

  • The block hash containing for which we need the transactions

    Parameters

    • value: string

    Returns void

current_blockchain_height

  • get current_blockchain_height(): number
  • set current_blockchain_height(value: number): void
  • The current blockchain height

    Returns number

  • The current blockchain height

    Parameters

    • value: number

    Returns void

missing_txs

  • get missing_txs(): string[]
  • set missing_txs(value: string[]): void
  • The list of missing transaction hashes we need

    Returns string[]

  • The list of missing transaction hashes we need

    Parameters

    • value: string[]

    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 MissingTransactions

    a new instance of the object

Generated using TypeDoc