Documentation ¶
Index ¶
- func AreVEEnabled(ctx sdk.Context) bool
- func GetPriceFromBytes(id uint32, bz []byte) (*big.Int, error)
- func GetVEDecodedPrice(priceBz []byte) (*big.Int, error)
- func GetVEEncodedPrice(price *big.Int) ([]byte, error)
- func GetValPubKeyFromVote(ctx sdk.Context, vote cometabci.ExtendedVoteInfo, ...) (crypto.PubKey, error)
- func MarshalDelimited(msg proto.Message) ([]byte, error)
- type ValidatorNotFoundError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AreVEEnabled ¶
func GetValPubKeyFromVote ¶
func GetValPubKeyFromVote( ctx sdk.Context, vote cometabci.ExtendedVoteInfo, validatorStore voteweighted.ValidatorStore, ) (crypto.PubKey, error)
Types ¶
type ValidatorNotFoundError ¶
type ValidatorNotFoundError struct {
Address []byte
}
func (*ValidatorNotFoundError) Error ¶
func (e *ValidatorNotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.