Versions in this module Expand all Collapse all v1 v1.1.12 Jun 6, 2022 v1.1.11 Jun 6, 2022 Changes in this version + type API struct + func NewPrivateAPI(ctx *server.Context, clientCtx client.Context, backend backend.EVMBackend) *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()