Documentation ¶
Overview ¶
Package legacy contains a global amino Cdc which is deprecated but still used in several places within the SDK. This package is intended to be removed at some point in the future when the global Cdc is removed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cdc *codec.LegacyAmino
Cdc defines a global generic sealed Amino codec to be used throughout sdk. It has all Tendermint crypto and evidence types registered.
TODO: Deprecated - remove this global.
Functions ¶
func PrivKeyFromBytes ¶
func PrivKeyFromBytes(privKeyBytes []byte) (privKey cryptotypes.PrivKey, err error)
PrivKeyFromBytes unmarshals private key bytes and returns a PrivKey
func PubKeyFromBytes ¶
func PubKeyFromBytes(pubKeyBytes []byte) (pubKey cryptotypes.PubKey, err error)
PubKeyFromBytes unmarshals public key bytes and returns a PubKey
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.