mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-30 17:22:13 +00:00
14 lines
366 B
Go
14 lines
366 B
Go
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}
|
|
}
|