Versions in this module Expand all Collapse all v0 v0.0.2 Dec 18, 2024 Changes in this version + type API struct + func NewPrivateAPI(ctx *server.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()