Skip to content
This repository has been archived by the owner on Feb 7, 2018. It is now read-only.

Remove Frontier canaries #523

Closed
7 of 8 tasks
bobsummerwill opened this issue May 22, 2016 · 2 comments
Closed
7 of 8 tasks

Remove Frontier canaries #523

bobsummerwill opened this issue May 22, 2016 · 2 comments
Labels

Comments

@bobsummerwill
Copy link
Contributor

bobsummerwill commented May 22, 2016

It appears that geth removed the Frontier canaries, but this work was neglected for eth, as highlighted by @theymos (thank you!) in https://www.reddit.com/r/Bitcoin/comments/4k2kki/stalling_time_for_what_bitcoins_needs_segwit_or/d3comb5.

geth removal happened on April 4th in ethereum/go-ethereum#2416 (as pinpointed by @karalabe), and as geth has ~99% of client market share, any triggering of the canaries in eth would only kill the eth clients.

But no two ways about it, this was a fuck-up and we should fix it right now.

Not sure if pyethapp had the canary too? Or other clients too? They should be fixed too.

Search for shouldSeal and canaries in webthree-umbrella to find the references.

Here are the key line which needs fixing:

https://github.com/ethereum/libethereum/blob/develop/libethashseal/Ethash.cpp#L297

@bobsummerwill
Copy link
Contributor Author

Though actually, this likely affects ALL miners, doesn't it?

All the "canary folk" could do by triggering it would be to punch themselves in the face, because the workaround is to the remove the one-liner. It is a very shallow "shutdown switch".

@bobsummerwill
Copy link
Contributor Author

^ Not a problem to the miners, says @karalabe.

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

No branches or pull requests

1 participant