-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Error on build Docker image: cannot find package "github.com/ethereum/go-ethereum/pow" #131
Comments
It not just docker. They broke the dependency in go-ethereum by removing pow. |
Go spam this instead ethereum/ethash#94 I am not getting paid from anyone so I am not going to maintain my own versions of their broken packages, they either fix their shit or I am out. My proposal is in related issue. |
Should work for you long term as classic chain will stay PoW/ethash for the foreseeable future. |
This upstream PR should solve the issue ethereum/ethash#95 . Note that the ethereum/ethash repository is based on the C++ code, which has a lot of shortcomings and is incompatible with big endian systems. That was the reason for reimplementing ethash in Go https://godoc.org/github.com/ethereum/go-ethereum/consensus/ethash. I'd suggest switching over to that package. PS: And I strongly suggest vendoring dependencies, as none of this would happen if open pool used proper Go development methodology. |
I didn't expect that you are going to grind whole go-ethereum repo so hard, ethash was okay for a year, I will consider switching indeed, but time is limited, at first look I have no idea what is the replacement for |
I'll try to fix up the old ethash. You are right in that it shouldn't break. The PR I mentioned vendors (or should) everything it that it used so it shouldn't ever break again. I'll see if I can get it merged in and Ill try to build open pool to see if it fixes the issue. |
Yeah please fix, I will switch to vendoring indeed since it's now fashionable, when this repo was born we had tons of crutches for deps so I totally ignored all of them. |
Btw, I suggest |
Okay thx for suggestion. |
Is there a docker image for open pool I can try to build to verify that my fix works? |
I don't use docker, so there is no Dockerfile. I need to make some fixes on my side also:
|
Installation is dead simple, clone repo and run |
No, that's still my error. You can't have vendored types in the API (since they will be different). Will push a second fix in a moment. |
Ok, so I will not vendor in |
Cool, it works now, much appreciated! |
Help me please!
While building Docker raise error:
When i look inside of folder " _workspace/src/github.com/ethereum/go-ethereum/ " i have no see folder pow.
I trying to switch branches and in "poc8" branch of go-ethereum folder "poc8" found, but this is not work.
I trying to add
go get github.com/ethereum/go-ethereum/pow
Help please!!!
The text was updated successfully, but these errors were encountered: