mirror of
https://github.com/vacp2p/linea-besu.git
synced 2026-01-08 20:47:59 -05:00
Add support for external GPU mining via the stratum protocol. Three new CLI Options support this: `--miner-stratum-enabled`, `--miner-stratum-host`, and `--miner-stratum-port`. To use stratum first use the `--miner-enabled` option and add the `--miner-stratum-enabled` option. This disables local CPU mining and opens up a stratum server, configurable via `--miner-stratum-host` (default is `0.0.0.0`) and `--miner-stratum-port` (default is 8008). This server supports `stratum+tcp` mining and the JSON-RPC services (if enabled) will support the `eth_getWork` and `eth_submitWork` calls as well (supporting `getwork` or `http` schemes). This is known to work with ethminer. Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
50 lines
1.4 KiB
Groovy
50 lines
1.4 KiB
Groovy
/*
|
|
* Copyright ConsenSys AG.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
|
* the License. You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
|
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
|
* specific language governing permissions and limitations under the License.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
rootProject.name='besu'
|
|
include 'acceptance-tests:dsl'
|
|
include 'acceptance-tests:tests'
|
|
include 'config'
|
|
include 'consensus:clique'
|
|
include 'consensus:common'
|
|
include 'consensus:ibft'
|
|
include 'consensus:ibftlegacy'
|
|
include 'crypto'
|
|
include 'enclave'
|
|
include 'errorprone-checks'
|
|
include 'ethereum:blockcreation'
|
|
include 'ethereum:core'
|
|
include 'ethereum:eth'
|
|
include 'ethereum:api'
|
|
include 'ethereum:mock-p2p'
|
|
include 'ethereum:p2p'
|
|
include 'ethereum:permissioning'
|
|
include 'ethereum:referencetests'
|
|
include 'ethereum:retesteth'
|
|
include 'ethereum:rlp'
|
|
include 'ethereum:trie'
|
|
include 'ethereum:stratum'
|
|
include 'metrics:core'
|
|
include 'metrics:rocksdb'
|
|
include 'nat'
|
|
include 'besu'
|
|
include 'plugin-api'
|
|
include 'plugins:rocksdb'
|
|
include 'services:kvstore'
|
|
include 'services:pipeline'
|
|
include 'services:tasks'
|
|
include 'testutil'
|
|
include 'util'
|