tendermint/rpc/client/types.go

13 lines
392 B
Go
Raw Normal View History

package client
// ABCIQueryOptions can be used to provide options for ABCIQuery call other
// than the DefaultABCIQueryOptions.
type ABCIQueryOptions struct {
2017-12-01 22:47:55 -08:00
Height int64
2017-10-11 05:50:11 -07:00
Trusted bool
}
2017-10-13 04:02:49 -07:00
// DefaultABCIQueryOptions are latest height (0) and trusted equal to false
// (which will result in a proof being returned).
2017-10-11 05:50:11 -07:00
var DefaultABCIQueryOptions = ABCIQueryOptions{Height: 0, Trusted: false}