Versions in this module Expand all Collapse all v1 v1.0.1 Jul 26, 2023 v1.0.0 Sep 16, 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()