Home Reference Source
public class | source

MiniBlockchainAdvancedProtocol

Extends:

inheritProtocolMiniBlockchainProtocol → MiniBlockchainAdvancedProtocol

Method Summary

Public Methods
public

async getAccountantTree(socket: *, height: *, timeoutCount: number): {"buffer": *, "gzipped": *}

Private Methods
private

_initializeNewSocket(nodesListObject: *)

Inherited Summary

From class MiniBlockchainProtocol
private

_initializeNewSocket(nodesListObject: *)

private

Public Methods

public async getAccountantTree(socket: *, height: *, timeoutCount: number): {"buffer": *, "gzipped": *} source

Params:

NameTypeAttributeDescription
socket *
height *
timeoutCount number
  • optional
  • default: 1000

Return:

{"buffer": *, "gzipped": *}

Private Methods

private _initializeNewSocket(nodesListObject: *) source

Override:

MiniBlockchainProtocol#_initializeNewSocket

Params:

NameTypeAttributeDescription
nodesListObject *