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

Double signing documentation is confusing #100

Open
peterzhangbo opened this issue Dec 6, 2018 · 4 comments
Open

Double signing documentation is confusing #100

peterzhangbo opened this issue Dec 6, 2018 · 4 comments

Comments

@peterzhangbo
Copy link

What is the meaning of Double Signing exactly?
Double signing: If someone reports on chain A that a validator signed two blocks at the same height on chain A and chain B, this validator will get slashed on chain A

And why be punished with it?

@rigelrozanski
Copy link
Contributor

Interesting, assuming you got that from here https://github.com/cosmos/cosmos/blob/master/VALIDATORS_FAQ.md

I think this is confusing and needs to be reworded/made more explicit. Within the current definition, I think chain A and chain B are referring to two different "sections" so-to-speak of the same blockchain. In a poorly connected node network, there may only be a small number of nodes which connect two different groups of nodes which compose the entire validator set - in this case, if this "small number of nodes" were to suddenly go offline, the network would be considered partitioned. Likewise, malicious groups of nodes may try to use their position within a network to broadcast different transactions to different sides of the blockchain for nefarious reasons.

double signing is not in reference to signing two different chains - that would be acceptable behaviour as the chains are distinct (but possible sharing a validator set, these are complex but potentially allowable arrangements). Within the cosmos double signing typically refers two signing and broadcasting two different pieces of information (for instance a proposed block) for the same height for the same chain.

Hope this helps. Going to rename this issue to bring clarity to this point in the docs

@rigelrozanski rigelrozanski changed the title Gota problem with double signing Double signing documentation is confusing Dec 6, 2018
@peterzhangbo
Copy link
Author

@rigelrozanski U got me,thank you.

look forward to getting more information in updating docs.

@rigelrozanski
Copy link
Contributor

yeah many of the docs are not in cosmos-sdk aka https://github.com/cosmos/cosmos-sdk/tree/develop/docs
aka https://cosmos.network/docs/ not this repo even, not sure what's going to become of this repo yet

@hsohaib
Copy link

hsohaib commented Jan 8, 2020

This is to prevent the "nothing-At-stake" scenario, essentialy forcing the validator to choose one chain to prolong

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

3 participants