-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Initialization of a PoS blockchain #959
Labels
Comments
cwgoes
changed the title
Initialiation of a PoS blockchain
Initialization of a PoS blockchain
May 7, 2018
ABCI: tendermint/abci#233 |
ABCI now supports this. Need to use it in the app |
Is there anybody already working on it? |
What happens when |
If it's empty, and the app has no information about the validators from another source, then we basically just need to panic. Eventually this should be a case for ResponseException but that hasn't really been setup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Step 1
Currently,
RequestInitChain
passes in the validator set from thetendermint/genesis.json
file andResponseInitChain
is an empty struct.ResponseInitChain
should returnValidator
, a set of validators to start Tendermint consensus with.Step 2
Furthermore, the field
validators
in both should not benullable
.InitChain
should be a pure function, that takes a validator set and returns a validator set. Of course theRequestInitChain.validators
field can be an empty array.This allows the
ABCI protocol
to easily supportProof of Stake
as well asProof of Authority
(or some other not yet known Proof of XXX).ref #230
@sunnya97 @jaekwon
The text was updated successfully, but these errors were encountered: