Versions in this module Expand all Collapse all v12 v12.2.0 Jan 3, 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(_ string) (bool, error) + func (api *API) SetGasLimit(_ hexutil.Uint64) bool + func (api *API) SetGasPrice(gasPrice hexutil.Big) bool + func (api *API) Start(_ *int) error + func (api *API) Stop()