Home Reference Source Test
public class | source

Consensus

Static Method Summary

Static Public Methods
public static

async full(netconfig: NetworkConfig): Promise<FullConsensus>

public static

async light(netconfig: NetworkConfig): Promise<LightConsensus>

public static

async nano(netconfig: NetworkConfig): Promise<NanoConsensus>

public static

async volatileFull(netconfig: NetworkConfig): Promise<FullConsensus>

public static

async volatileLight(netconfig: NetworkConfig): Promise<LightConsensus>

public static

async volatileNano(netconfig: NetworkConfig): Promise<NanoConsensus>

Static Public Methods

public static async full(netconfig: NetworkConfig): Promise<FullConsensus> source

Params:

NameTypeAttributeDescription
netconfig NetworkConfig
  • optional

Return:

Promise<FullConsensus>

public static async light(netconfig: NetworkConfig): Promise<LightConsensus> source

Params:

NameTypeAttributeDescription
netconfig NetworkConfig
  • optional

Return:

Promise<LightConsensus>

public static async nano(netconfig: NetworkConfig): Promise<NanoConsensus> source

Params:

NameTypeAttributeDescription
netconfig NetworkConfig
  • optional

Return:

Promise<NanoConsensus>

public static async volatileFull(netconfig: NetworkConfig): Promise<FullConsensus> source

Params:

NameTypeAttributeDescription
netconfig NetworkConfig
  • optional

Return:

Promise<FullConsensus>

public static async volatileLight(netconfig: NetworkConfig): Promise<LightConsensus> source

Params:

NameTypeAttributeDescription
netconfig NetworkConfig
  • optional

Return:

Promise<LightConsensus>

public static async volatileNano(netconfig: NetworkConfig): Promise<NanoConsensus> source

Params:

NameTypeAttributeDescription
netconfig NetworkConfig
  • optional

Return:

Promise<NanoConsensus>