statesync: new messages for gossiping consensus params (#328)

This commit is contained in:
Callum Waters
2021-08-09 15:41:44 +02:00
committed by GitHub
parent 8029cf7a0f
commit 72adbf9cc9
3 changed files with 45 additions and 12 deletions

View File

@@ -13,6 +13,8 @@ message Message {
ChunkResponse chunk_response = 4;
LightBlockRequest light_block_request = 5;
LightBlockResponse light_block_response = 6;
ParamsRequest params_request = 7;
ParamsResponse params_response = 8;
}
}
@@ -47,3 +49,12 @@ message LightBlockRequest {
message LightBlockResponse {
tendermint.types.LightBlock light_block = 1;
}
message ParamsRequest {
uint64 height = 1;
}
message ParamsResponse {
uint64 height = 1;
tendermint.types.ConsensusParams consensus_params = 2;
}