Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stratum Mining parameter setting #7514

Closed
ITStarMan100 opened this issue Aug 23, 2024 · 1 comment · Fixed by #7584
Closed

Stratum Mining parameter setting #7514

ITStarMan100 opened this issue Aug 23, 2024 · 1 comment · Fixed by #7584
Assignees
Labels
good first issue Good for newcomers snack Smaller coding task - less than a day for an experienced dev

Comments

@ITStarMan100
Copy link
Contributor

Description :

Run besu on Holesky testnet

Since Holesky is a proof-of-stake testnet, there must be an accurate error message that the Stratum Mining Server cannot be activated.

Or accurate information is required for the Stratum Mining parameter setting in the help of BESU.

Steps to Reproduce (Bug)

  1. Run the BESU node as follows:

/bin/besu
--network=holesky
--p2p-port=30303
--rpc-http-port=8545
--rpc-http-enabled=true
--rpc-http-cors-origins="*"
--engine-rpc-port=8551
--max-peers=25
--rpc-http-enabled=true
--sync-mode=SNAP
--logging=INFO
--data-storage-format=BONSAI
--Xbonsai-limit-trie-logs-enabled=true
--data-path="/var/lib/besu"
--rpc-http-api=ETH,NET,WEB3,MINER
--miner-stratum-enabled=true
--miner-stratum-host="0.0.0.0"
--miner-stratum-port=8548
--miner-enabled=true
--miner-coinbase="0xf05D10ed0504Cbb0A319f9d38D1e3Db56F661907"
--engine-jwt-secret=/secrets/jwtsecret

  1. Error logging

... ... ...
2024-06-25 10:07:23.653+00:00 | main | INFO | RunnerBuilder | Detecting NAT service.
2024-06-25 10:07:23.725+00:00 | main | ERROR | Besu | Failed to start Besu
java.lang.IllegalArgumentException: Stratum server requires an PoWMiningCoordinator not org.hyperledger.besu.consensus.merge.blockcreation.TransitionCoordinator

Frequency: 100%

Versions (Add all that apply)
Software version: 24.5.1
Java version: openjdk-java-17
OS Name & Version: Ubuntu 22, linux-x86_64

@macfarla macfarla added good first issue Good for newcomers snack Smaller coding task - less than a day for an experienced dev labels Aug 26, 2024
@ITStarMan100
Copy link
Contributor Author

I am modifying source code and testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers snack Smaller coding task - less than a day for an experienced dev
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants