You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/public-networks/how-to/use-pow/mining.md
+1-40Lines changed: 1 addition & 40 deletions
Original file line number
Diff line number
Diff line change
@@ -15,16 +15,7 @@ PoW consensus is deprecated in Besu version 24.11.0 and later. Please read this
15
15
16
16
:::
17
17
18
-
Besu supports CPU and GPU mining, which are configured using command line options.
19
-
20
-
GPU mining tests used [Ethminer](https://github.com/ethereum-mining/ethminer) with the `stratum+tcp` and `getwork` schemes.
21
-
22
-
Ethminer has been used with Besu to mine blocks on the Ropsten testnet, ETC Mainnet (uncle block only) and Mordor ETC testnet.
23
-
24
-
:::note
25
-
- Some mining software supports the `getwork` scheme as the `http` scheme.
26
-
- The Ropsten testnet is now deprecated. It transitioned to proof of stake consensus before deprecation.
27
-
:::
18
+
Besu supports CPU mining, which is configured using command line options.
28
19
29
20
## Configure CPU mining
30
21
@@ -38,33 +29,6 @@ Where `<account>` is the account you pay mining rewards to. For example, `fe3b55
38
29
39
30
Start and stop mining using the [`miner_start`](../../reference/api/index.md#miner_start-deprecated) and [`miner_stop`](../../reference/api/index.md#miner_stop-deprecated) APIs.
40
31
41
-
## Configure GPU mining
42
-
43
-
Besu supports GPU mining, tested using [Ethminer](https://github.com/ethereum-mining/ethminer) with the `stratum+tcp` scheme.
44
-
45
-
To enable GPU mining, start Besu with the following options:
Where `<account>` is the account you pay mining rewards to. For example, `fe3b557e8fb62b89f4916b721be55ceb828dbd73`.
52
-
53
-
Optional command line options are:
54
-
55
-
-[`--miner-stratum-host`](../../reference/cli/options.md#miner-stratum-host-deprecated) to specify the host of the mining service.
56
-
-[`--miner-stratum-port`](../../reference/cli/options.md#miner-stratum-port-deprecated) to specify the port of the mining service.
57
-
58
-
:::note
59
-
60
-
Besu also supports the `getwork` scheme. Use the [`--miner-stratum-enabled`](../../reference/cli/options.md#miner-stratum-enabled-deprecated) option and [enable the `ETH` RPCs](../../reference/cli/options.md#rpc-http-api).
61
-
62
-
The `getwork` scheme is supported as the `http` scheme in certain mining software.
63
-
64
-
:::
65
-
66
-
Start and stop mining using the [`miner_start`](../../reference/api/index.md#miner_start-deprecated) and [`miner_stop`](../../reference/api/index.md#miner_stop-deprecated) APIs.
67
-
68
32
## Mining APIs
69
33
70
34
The JSON-RPC API methods for mining are:
@@ -73,9 +37,6 @@ The JSON-RPC API methods for mining are:
73
37
-[`miner_stop`](../../reference/api/index.md#miner_stop-deprecated) to stop mining.
74
38
-[`eth_mining`](../../reference/api/index.md#eth_mining-deprecated) to determine whether the client is actively mining new blocks.
75
39
-[`eth_getMinerDataByBlockHash`](../../reference/api/index.md#eth_getminerdatabyblockhash-deprecated) and [`eth_getMinerDataByBlockNumber`](../../reference/api/index.md#eth_getminerdatabyblocknumber) to get the miner data for a specified block.
76
-
-[`eth_hashrate`](../../reference/api/index.md#eth_hashrate-deprecated) to get the number of hashes per second with which the node is mining. Not supported for GPU mining.
77
-
-[`eth_getWork`](../../reference/api/index.md#eth_getwork-deprecated) to get the hash of the current block, the seed hash, and the target boundary condition. Only used when using the `getwork` scheme.
78
-
-[`eth_submitWork`](../../reference/api/index.md#eth_submitwork-deprecated) to submit the PoW solution. Only used when using the `getwork` scheme.
0 commit comments