Versions in this module Expand all Collapse all v0 v0.12.4 Mar 30, 2022 v0.12.3 Mar 30, 2022 Changes in this version + type API struct + func NewPrivateAPI(ctx *server.Context, clientCtx client.Context, backend backend.Backend) *API + func (api *API) GetHashrate() uint64 + func (api *API) SetEtherbase(etherbase common.Address) bool + func (api *API) SetExtra(extra string) (bool, error) + func (api *API) SetGasLimit(gasLimit hexutil.Uint64) bool + func (api *API) SetGasPrice(gasPrice hexutil.Big) bool + func (api *API) Start(threads *int) error + func (api *API) Stop()