rpc: fix Bloom filter response (#321)

* fix bloomfilter in rpc response

* add comments
This commit is contained in:
Thomas Nguy
2021-07-20 15:16:02 +00:00
committed by GitHub
parent bb6622b7fb
commit 0276f3465d
9 changed files with 165 additions and 92 deletions
+7 -1
View File
@@ -222,7 +222,13 @@ message QueryBlockLogsResponse {
// QueryBlockBloomRequest is the request type for the Query/BlockBloom RPC
// method.
message QueryBlockBloomRequest {}
message QueryBlockBloomRequest {
// height of the block which we want to query the bloom filter.
// Tendermint always replace the query request header by the current context
// header, height cannot be extracted from there, so we need to explicitly pass
// it in parameter.
int64 height = 1;
}
// QueryBlockBloomResponse is the response type for the Query/BlockBloom RPC
// method.