Modules: miner

miner_setEtherbase

SetEtherbase sets the etherbase of the miner.

Params (1)

Parameters must be given by position.

1: etherbase common.Address

  • Required: ✓ Yes

=== "Schema"

``` Schema

- description: `Hex representation of a Keccak 256 hash POINTER`
- pattern: `^0x[a-fA-F\d]{64}$`
- title: `keccak`
- type: string


```

=== "Raw"

``` Raw
{
    "description": "Hex representation of a Keccak 256 hash POINTER",
    "pattern": "^0x[a-fA-F\\d]{64}$",
    "title": "keccak",
    "type": [
        "string"
    ]
}
```

Result

bool

  • Required: ✓ Yes

Client Method Invocation Examples

=== "Shell HTTP"

=== "Shell WebSocket"

=== "Javascript Console"


miner_setGasLimit

SetGasLimit sets the gaslimit to target towards during mining.

Params (1)

Parameters must be given by position.

1: gasLimit hexutil.Uint64

  • Required: ✓ Yes

=== "Schema"

=== "Raw"

Result

bool

  • Required: ✓ Yes

Client Method Invocation Examples

=== "Shell HTTP"

=== "Shell WebSocket"

=== "Javascript Console"


miner_setRecommitInterval

SetRecommitInterval updates the interval for miner sealing work recommitting.

Params (1)

Parameters must be given by position.

1: interval int

  • Required: ✓ Yes

=== "Schema"

=== "Raw"

Result

None

Client Method Invocation Examples

=== "Shell HTTP"

=== "Shell WebSocket"

=== "Javascript Console"


miner_stop

Stop terminates the miner, both at the consensus engine level as well as at the block creation level.

Params (0)

None

Result

None

Client Method Invocation Examples

=== "Shell HTTP"

=== "Shell WebSocket"

=== "Javascript Console"

Last updated