tari-project / tari

The Tari protocol
https://tari.com
BSD 3-Clause "New" or "Revised" License
347 stars 215 forks source link

feat(miner): add SHA P2Pool mining related configuration and changes #6370

Closed ksrichard closed 3 months ago

ksrichard commented 4 months ago

Description

There is a new decentralized P2Pool implementation in progress for SHA3 based mining on Tari. To be able to connect and use this new implementation we need to have some new changes introduced in this PR. Overall to make the usage of the new mining pool as easy as possible, I introduced a new configuration in the miner called sha_p2pool_enabled and if it's set to true and base_node_grpc_address config is set to the address of the p2pool node then the mining starts on the decentralized pool.

Motivation and Context

How Has This Been Tested?

What process can a PR reviewer use to test or verify this change?

Breaking Changes

github-actions[bot] commented 3 months ago

Test Results (CI)

    3 files    120 suites   35m 30s :stopwatch: 1 295 tests 1 295 :white_check_mark: 0 :zzz: 0 :x: 3 877 runs  3 877 :white_check_mark: 0 :zzz: 0 :x:

Results for commit 982c89a4.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 3 months ago

Test Results (Integration tests)

 2 files  + 2  11 suites  +11   42m 48s :stopwatch: + 42m 48s 35 tests +35  33 :white_check_mark: +33  0 :zzz: ±0  2 :x: +2  39 runs  +39  34 :white_check_mark: +34  0 :zzz: ±0  5 :x: +5 

For more details on these failures, see this check.

Results for commit 982c89a4. ± Comparison against base commit 43b76d99.

:recycle: This comment has been updated with latest results.