Home Reference Source
public class | source

InterfaceBlockchainBasic

Direct Subclass:

InterfaceBlockchain

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

agent: *

public
public

blocks: *

public

db: *

public
public

mining: *

public
public
public
public
public
Private Members
private
private

Method Summary

Public Methods
public

async loadBlockchain(): *

public

sleep(ms: *): *

public

toJSON()

public
Private Methods
private
private
private

_setAgent(newAgent: *)

Public Constructors

public constructor() source

Public Members

public agent: * source

public blockCreator: * source

public blocks: * source

public db: * source

public forksAdministrator: * source

public mining: * source

public savingManager: * source

public semaphoreProcessing: * source

public timestamp: * source

public tipsAdministrator: * source

public transactions: * source

Private Members

private _blockchainFileName: * source

private _blockchainLoaded: boolean source

Public Methods

public async loadBlockchain(): * source

Return:

*

public sleep(ms: *): * source

Params:

NameTypeAttributeDescription
ms *

Return:

*

public toJSON() source

public toString() source

Private Methods

private _createBlockchainElements() source

private async _loadBlockchain(): boolean source

Return:

boolean

private _setAgent(newAgent: *) source

Params:

NameTypeAttributeDescription
newAgent *