Home Reference Source
public class | source

PPoWBlockchain

Extends:

common/blockchain/interface-blockchain/blockchain/Interface-Blockchain~InterfaceBlockchain → PPoWBlockchain

NiPoPoW Blockchain contains a chain of blocks based on Proof of Proofs of Work

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

prover: *

public

Method Summary

Private Methods
private

async _blockIncluded(block: *)

private

async _loadBlockchain(indexStartLoadingOffset: *, indexStartProcessingOffset: *, numBlocks: *): *

Public Constructors

public constructor() source

Public Members

public prover: * source

public verifier: * source

Private Methods

private async _blockIncluded(block: *) source

Params:

NameTypeAttributeDescription
block *

private async _loadBlockchain(indexStartLoadingOffset: *, indexStartProcessingOffset: *, numBlocks: *): * source

Params:

NameTypeAttributeDescription
indexStartLoadingOffset *
indexStartProcessingOffset *
numBlocks *

Return:

*