Home Reference Source
public class | source

InterfaceBlockchainBlockCreator

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public
public

db: *

Method Summary

Public Methods
public

createBlockNew(minerAddress: *, blockValidation: *, transactions: *): *

public

createEmptyBlock(height: *, blockValidation: *): *

public
Private Methods
private

_createBlockGenesis(blockValidation: *, minerAddress: *, args: *): *

private

_createBlockNew(height: *, blockValidation: *, minerAddress: *, transactions: *, args: *): *

Public Constructors

public constructor() source

Public Members

public blockClass: * source

public blockDataClass: * source

public blockchain: * source

public db: * source

Public Methods

public createBlockNew(minerAddress: *, blockValidation: *, transactions: *): * source

Params:

NameTypeAttributeDescription
minerAddress *
blockValidation *
transactions *

Return:

*

public createEmptyBlock(height: *, blockValidation: *): * source

Params:

NameTypeAttributeDescription
height *
blockValidation *

Return:

*

public createEmptyBlockData(): * source

Return:

*

Private Methods

private _createBlockGenesis(blockValidation: *, minerAddress: *, args: *): * source

Params:

NameTypeAttributeDescription
blockValidation *
minerAddress *
args *

Return:

*

private _createBlockNew(height: *, blockValidation: *, minerAddress: *, transactions: *, args: *): * source

Params:

NameTypeAttributeDescription
height *
blockValidation *
minerAddress *
transactions *
args *

Return:

*