waveschainex v0.2.0 Waveschainex.Peers
Link to this section Summary
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
all_peers(client, opts \\ [])
all_peers(Tesla.Env.client(), keyword()) :: {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Peer list
Parameters
- client : Tesla client
- opts: Optional parameters
Link to this function
blacklisted_peers(client, opts \\ [])
blacklisted_peers(Tesla.Env.client(), keyword()) :: {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Blacklisted peers list
Parameters
- client : Tesla client
- opts: Optional parameters
Link to this function
connected_peers(client, opts \\ [])
connected_peers(Tesla.Env.client(), keyword()) :: {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Connected peers list
Parameters
- client : Tesla client
- opts: Optional parameters