Home Reference Source
public class | source

InterfaceBlockchainProtocolForksManager

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public

Method Summary

Public Methods
public

async newForkTip(socket: *, forkChainLength: *, forkChainStartingPoint: *, forkLastBlockHash: *, forkProof: *, forkChainWork: *): boolean

public
Private Methods
private

Public Constructors

public constructor() source

Public Members

public blockchain: * source

public protocol: * source

Public Methods

public async newForkTip(socket: *, forkChainLength: *, forkChainStartingPoint: *, forkLastBlockHash: *, forkProof: *, forkChainWork: *): boolean source

Params:

NameTypeAttributeDescription
socket *
forkChainLength *
forkChainStartingPoint *
forkLastBlockHash *
forkProof *
forkChainWork *

Return:

boolean

public async processForksQueue() source

Private Methods

private _getBestFork(): * source

Return:

*