Documentation ¶
Index ¶
- func FromOcPubKeyInterface(tmPk picrypto.PubKey) (cryptotypes.PubKey, error)
- func FrompiprotoPublicKey(protoPk tmprotocrypto.PublicKey) (cryptotypes.PubKey, error)
- func RegisterCrypto(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func ToOcPubKeyInterface(pk cryptotypes.PubKey) (picrypto.PubKey, error)
- func TopiprotoPublicKey(pk cryptotypes.PubKey) (tmprotocrypto.PublicKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromOcPubKeyInterface ¶ added in v0.45.0
func FromOcPubKeyInterface(tmPk picrypto.PubKey) (cryptotypes.PubKey, error)
FromOcPubKeyInterface converts OC's picrypto.PubKey to our own PubKey.
func FrompiprotoPublicKey ¶ added in v0.45.5
func FrompiprotoPublicKey(protoPk tmprotocrypto.PublicKey) (cryptotypes.PubKey, error)
FrompiprotoPublicKey converts a OC's tmprotocrypto.PublicKey into our own PubKey.
func RegisterCrypto ¶
func RegisterCrypto(cdc *codec.LegacyAmino)
RegisterCrypto registers all crypto dependency types with the provided Amino codec.
func RegisterInterfaces ¶
func RegisterInterfaces(registry codectypes.InterfaceRegistry)
RegisterInterfaces registers the sdk.Tx interface.
func ToOcPubKeyInterface ¶ added in v0.45.0
func ToOcPubKeyInterface(pk cryptotypes.PubKey) (picrypto.PubKey, error)
ToOcPubKeyInterface converts our own PubKey to OC's picrypto.PubKey.
func TopiprotoPublicKey ¶ added in v0.45.5
func TopiprotoPublicKey(pk cryptotypes.PubKey) (tmprotocrypto.PublicKey, error)
TopiprotoPublicKey converts our own PubKey to OC's tmprotocrypto.PublicKey.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.