Home Reference Source
public class | source

PPoWBlockchainProver

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public

proofPi: *

public

proofXi: *

public

Method Summary

Public Methods
public
Private Methods
private

async _createProofPi(chain: *): *

Algorithm 3 will create Proofs ( π χ )

private

_createProofXi(chain: *): *

Public Constructors

public constructor() source

Public Members

public blockchain: * source

public proofActivated: boolean source

public proofPi: * source

public proofXi: * source

public provesCalculated: * source

Public Methods

public async createProofs(): boolean source

Return:

boolean

Private Methods

private async _createProofPi(chain: *): * source

Algorithm 3 will create Proofs ( π χ )

create prover

Params:

NameTypeAttributeDescription
chain *

Return:

*

private _createProofXi(chain: *): * source

Params:

NameTypeAttributeDescription
chain *

Return:

*