Home Reference Source
public class | source

CLI

You can directly use an instance of this class. cLI

Constructor Summary

Public Constructor
public

Member Summary

Private Members
private

Method Summary

Public Methods
public
public
public
public

async deleteAddress(): *

public
public

async encryptAddress(): *

public
public
public
public
public
public
public

async startMining(instantly: *)

public
Private Methods
private

async _callCallbackBlockchainSync(callbackBeforeBlockchainLoaded: *, callbackBeforeServerInitialization: *, callbackAfterServerInitialization: *, afterSynchronizationCallback: *, synchronize: boolean)

private

async _chooseAddress(): *

private

async _runMenu()

private
private

async _start()

Public Constructors

public constructor() source

Private Members

private _exitMenu: * source

Public Methods

public async createMiningPool() source

public async createNewAddress(): boolean source

Return:

boolean

public async createServerForMiningPool() source

public async deleteAddress(): * source

Return:

*

public disableForksImmutability() source

public async encryptAddress(): * source

Return:

*

public exportAddress(): * source

Return:

*

public importAddress(): * source

Return:

*

public async listAddresses(): boolean source

Return:

boolean

public async processRemainingPayment() source

public async setMiningAddress(): boolean source

Return:

boolean

public signTransaction(): * source

Return:

*

public async startMining(instantly: *) source

Params:

NameTypeAttributeDescription
instantly *

public async startMiningInsidePool() source

Private Methods

private async _callCallbackBlockchainSync(callbackBeforeBlockchainLoaded: *, callbackBeforeServerInitialization: *, callbackAfterServerInitialization: *, afterSynchronizationCallback: *, synchronize: boolean) source

Params:

NameTypeAttributeDescription
callbackBeforeBlockchainLoaded *
callbackBeforeServerInitialization *
callbackAfterServerInitialization *
afterSynchronizationCallback *
synchronize boolean
  • optional
  • default: true

private async _chooseAddress(): * source

Return:

*

private async _runMenu() source

private _showCommands(): boolean source

Return:

boolean

private async _start() source