mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-03 16:41:19 +00:00
52 lines
1.1 KiB
Go
52 lines
1.1 KiB
Go
|
package types
|
||
|
|
||
|
type ParamsEcho struct {
|
||
|
Message string `json:"message,omitempty"`
|
||
|
}
|
||
|
|
||
|
type ParamsFlush struct {
|
||
|
}
|
||
|
|
||
|
type ParamsInfo struct {
|
||
|
Version string `json:"version,omitempty"`
|
||
|
}
|
||
|
|
||
|
type ParamsSetOption struct {
|
||
|
Key string `json:"key,omitempty"`
|
||
|
Value string `json:"value,omitempty"`
|
||
|
}
|
||
|
|
||
|
type ParamsInitChain struct {
|
||
|
Validators []Validator `json:"validators"`
|
||
|
GenesisBytes []byte `json:"genesis_bytes,omitempty"`
|
||
|
}
|
||
|
|
||
|
type ParamsQuery struct {
|
||
|
Data []byte `json:"data,omitempty"`
|
||
|
Path string `json:"path,omitempty"`
|
||
|
Height int64 `json:"height,omitempty"`
|
||
|
Prove bool `json:"prove,omitempty"`
|
||
|
}
|
||
|
|
||
|
type ParamsBeginBlock struct {
|
||
|
Hash []byte `json:"hash,omitempty"`
|
||
|
Header Header `json:"header"`
|
||
|
Validators []SigningValidator `json:"validators,omitempty"`
|
||
|
ByzantineValidators []Evidence `json:"byzantine_validators"`
|
||
|
}
|
||
|
|
||
|
type ParamsCheckTx struct {
|
||
|
Tx []byte `json:"tx,omitempty"`
|
||
|
}
|
||
|
|
||
|
type ParamsDeliverTx struct {
|
||
|
Tx []byte `json:"tx,omitempty"`
|
||
|
}
|
||
|
|
||
|
type ParamsEndBlock struct {
|
||
|
Height int64 `json:"height,omitempty"`
|
||
|
}
|
||
|
|
||
|
type ParamsCommit struct {
|
||
|
}
|