ifdefelse / ProgPOW

A Programmatic Proof-of-Work for Ethash. Forked from https://github.com/ethereum-mining/ethminer
GNU General Public License v3.0
257 stars 84 forks source link

rebase on top of the ethminer master branch #17

Closed hackmod closed 5 years ago

hackmod commented 5 years ago

Experimental

This is my rebase work on top of the latest ethminer master branch. The master branch of the ethminer a bit faster and the latest ethash already support ProgPoW v0.9.1

Please see https://github.com/EthersocialNetwork/ethminer-ProgPOW/commits/progpow-master-rebase

Only CUDA tested.

Screen shot

(rebased ProgPoW ethminer + chfast/ethash master branch with a small progpow CPU verifier wrapper fix) image

image P106-6G (samsung) ~10.4MH/s (~24.0MH/s for ethash)

ghost commented 5 years ago

@hackmod @ifdefelse @RadixPi

CI test results:

log:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_nvrtc_LIBRARY
    linked by target "ethash-cuda" in directory C:/projects/ethminer/libethash-cuda
-- Configuring incomplete, errors occurred!

I think CMake can't find the specific library that is defined here

https://github.com/EthersocialNetwork/ethminer-ProgPOW/blame/master/libethash-cuda/CMakeLists.txt#L42

hackmod commented 5 years ago

@naikmyeong // fixed now anyway, the openCL version have some period_seed issue

ghost commented 5 years ago

@hackmod I can't see any test results, is it possible to rebase your fix again?

hackmod commented 5 years ago

rebased again on top of the latest master branch https://github.com/ethereum-mining/ethminer/pull/1766

hackmod commented 5 years ago

updated. rebased again~ support CUDA-8 (compiled. not tested test passed)/CUDA-9/CUDA-10

hackmod commented 5 years ago

binaries are available at https://github.com/hackmod/ethminer/releases/tag/v0.9.2-progpow

See also progpow testnet:

hackmod commented 5 years ago

https://github.com/hackmod/ethminer/releases/tag/v0.9.2-opencl-win-1218 OpenCL supported now

hackmod commented 5 years ago

fixed epoch change issue https://github.com/hackmod/ethminer/releases/tag/v0.9.2-opencl-win-1219

ifdefelse commented 5 years ago

Considering https://github.com/AndreaLanfranchi/ethminer is close to ethminer master and runs both ethash and progpow I think we can close this out as fixed. Thanks for all the work.

solardiz commented 5 years ago

@ifdefelse What's your desired/expected future for this repo vs. https://github.com/AndreaLanfranchi/ethminer? ProgPOW is still being revised in this repo, yet in a tree based off older ethminer. Is the intended use of this repo to serve as reference and for testing? Should those ProgPOW spec and implementation changes be getting ported to https://github.com/AndreaLanfranchi/ethminer and at what points? Thanks!

ifdefelse commented 5 years ago

This repro is only intended for algorithm research and development. Andrea's implementation is up-to-date and much more polished for going into production.