Documentation ¶
Index ¶
Constants ¶
View Source
const ( IncludedBlockNumber = BlockNumber(-1) EarliestBlockNumber = BlockNumber(1) )
BlockNumber tags: - "earliest" = literal 1 - "included" = seen on DA
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ABCIQueryArgs ¶
type ABCIQueryArgs struct { Path string `json:"path"` Data bytes.HexBytes `json:"data"` Height *StrInt64 `json:"height"` Prove *bool `json:"prove"` }
ABCIQueryArgs defines args for ABCI Query method.
type BlockNumber ¶ added in v0.13.7
type BlockNumber StrInt64
BlockNumber is a StrInt64 with helper tags for block heights
func (*BlockNumber) UnmarshalJSON ¶ added in v0.13.7
func (bn *BlockNumber) UnmarshalJSON(b []byte) error
UnmarshalJSON parses JSON (int or block tag quoted as string) into BlockNumber
type StrInt ¶
type StrInt int
StrInt is an proper int or quoted "int"
func (*StrInt) UnmarshalJSON ¶
UnmarshalJSON parses JSON (int or int quoted as string) into StrInt
Click to show internal directories.
Click to hide internal directories.