Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Unable to go get this package #94

Closed
congnt171 opened this issue Apr 5, 2017 · 8 comments
Closed

Unable to go get this package #94

congnt171 opened this issue Apr 5, 2017 · 8 comments

Comments

@congnt171
Copy link

go get github.com/ethereum/ethash

And get error

package github.com/ethereum/go-ethereum/pow: cannot find package "github.com/ethereum/go-ethereum/pow" in any of:
/usr/lib/go-1.6/src/github.com/ethereum/go-ethereum/pow (from $GOROOT)
/root/go/src/github.com/ethereum/go-ethereum/pow (from $GOPATH)

@sammy007
Copy link

sammy007 commented Apr 5, 2017

Can we finally sort out compatibility issues? Maybe it worth tagging version and publishing it on gopkg.in so side projects like open pool can rely on it?

@sammy007
Copy link

sammy007 commented Apr 6, 2017

#93

@mikeyb
Copy link

mikeyb commented Apr 6, 2017

go get github.com/ethereumproject/ethash
go get github.com/ethereumproject/go-ethereum/pow
etc..

Should work for you long term as classic chain will stay PoW/ethash for the foreseeable future.

@karalabe
Copy link
Member

karalabe commented Apr 7, 2017

https://godoc.org/github.com/ethereum/go-ethereum/consensus/ethash

We've switched over to our Go implementation of ethash. I doubt we'll be maintaining the Go wrappers for this library any longer.

@sammy007
Copy link

sammy007 commented Apr 7, 2017

Okay, I am out from maintaining pool also. Cheers.

@karalabe
Copy link
Member

karalabe commented Apr 7, 2017

Feel free to rage quit, but the proper way to depend on an external project in the Go world is to vendor it into your own repository. I am really sorry if we broke your code, it was not our intention. That is why I sent the link to the new implementation. I'd gladly help with integrating it.

@karalabe
Copy link
Member

karalabe commented Apr 7, 2017

#95 This should fix it for now all all eternity.

@karalabe
Copy link
Member

karalabe commented Apr 7, 2017

This should be fixed now. Tried it and go get works for me. I've vendored in all go-ethereum dependencies so it should not break any time from now on. Please note however that a better one is available from the go-ethereum repository and it's highly recommended to use that since that will be the one receiving updates from now on.

@karalabe karalabe closed this as completed Apr 7, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants