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

Ethereum stratum question #3

Open
rjl493456442 opened this issue Jan 26, 2018 · 1 comment
Open

Ethereum stratum question #3

rjl493456442 opened this issue Jan 26, 2018 · 1 comment

Comments

@rjl493456442
Copy link

In the Ethereum stratum mining protocol, it said the Target field is no necessary been included since the target can be calculated by miner itself.

My question is how can miner calculate the target? The difficulty is depends on the parent block difficulty and the interval between parent block and current mining block. Those two are totally transparent for miner.

@jgillich
Copy link

Difficulty in terms of Stratum is not the same as network difficulty, see: https://bitcoin.stackexchange.com/a/61726

I have a Go implementation that converts target to difficulty that I ported over from cpp-ethereum. Can't really tell you much about it though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants