waveschainex v0.2.0 Waveschainex.Consensus

Link to this section Summary

Functions

Shows which consensus algo being using

Link to this section Types

Link to this type option()
option() ::
  {:method, Tesla.Env.method()}
  | {:url, Tesla.Env.url()}
  | {:query, Tesla.Env.query()}
  | {:headers, Tesla.Env.headers()}
  | {:body, Tesla.Env.body()}
  | {:opts, Tesla.Env.opts()}

Link to this section Functions

Link to this function algo(client, opts \\ [])
algo(Tesla.Env.client(), keyword()) ::
  {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}

Shows which consensus algo being using

Parameters

  • client : Tesla client
  • opts: Optional parameters