Home Reference Source
public class | source

MiniBlockchainFork

Extends:

inheritFork → MiniBlockchainFork

Direct Subclass:

MiniBlockchainLightFork

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public

preFork(revertActions: *, showUpdate: boolean): *

public

preForkClone(cloneBlocks: boolean, cloneAccountantTree: boolean)

public

revertFork(): *

Private Methods
private

_createBlockValidation_ForkValidation(height: *, forkHeight: *): *

Fork Validation for Mini Blockchain is not checking the Accountant Tree

Public Constructors

public constructor() source

Public Methods

public preFork(revertActions: *, showUpdate: boolean): * source

Params:

NameTypeAttributeDescription
revertActions *
showUpdate boolean
  • optional
  • default: true

Return:

*

public preForkClone(cloneBlocks: boolean, cloneAccountantTree: boolean) source

Params:

NameTypeAttributeDescription
cloneBlocks boolean
  • optional
  • default: true
cloneAccountantTree boolean
  • optional
  • default: true

public revertFork(): * source

Return:

*

Private Methods

private _createBlockValidation_ForkValidation(height: *, forkHeight: *): * source

Fork Validation for Mini Blockchain is not checking the Accountant Tree

Params:

NameTypeAttributeDescription
height *
forkHeight *

Return:

*