Etherex.Client.Geth (Etherex v1.0.0-rc19) View Source

Module to start/stop an Ethereum client by using geth.

Start it with start/0, stop it with stop/0 and get the logs with log/0.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Returns the list of log lines from the standard output and standard error of the Ethereum client. Resets the log.

Starts an ethereum client using command geth.

Stops the ethereum client previously started with command geth. Returns the list of log lines from the standard output and standard error since last reset.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Callback implementation for GenServer.init/1.

Returns the list of log lines from the standard output and standard error of the Ethereum client. Resets the log.

Starts an ethereum client using command geth.

Stops the ethereum client previously started with command geth. Returns the list of log lines from the standard output and standard error since last reset.