mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-24 18:21:38 +00:00
support historical abci queries (Refs #482)
This commit is contained in:
13
rpc/client/types.go
Normal file
13
rpc/client/types.go
Normal file
@ -0,0 +1,13 @@
|
||||
package client
|
||||
|
||||
// ABCIQueryOptions can be used to provide options for ABCIQuery call other
|
||||
// than the DefaultABCIQueryOptions.
|
||||
type ABCIQueryOptions struct {
|
||||
Height uint64
|
||||
Prove bool
|
||||
}
|
||||
|
||||
// DefaultABCIQueryOptions are latest height (0) and prove equal to true.
|
||||
func DefaultABCIQueryOptions() ABCIQueryOptions {
|
||||
return ABCIQueryOptions{Height: 0, Prove: true}
|
||||
}
|
Reference in New Issue
Block a user