Documentation ¶
Index ¶
- func FromCmtProtoPublicKey(protoPk cmtprotocrypto.PublicKey) (cryptotypes.PubKey, error)
- func FromCmtPubKeyInterface(tmPk cmtcrypto.PubKey) (cryptotypes.PubKey, error)
- func RegisterCrypto(registrar registry.AminoRegistrar)
- func RegisterInterfaces(registry registry.InterfaceRegistrar)
- func ToCmtProtoPublicKey(pk cryptotypes.PubKey) (cmtprotocrypto.PublicKey, error)
- func ToCmtPubKeyInterface(pk cryptotypes.PubKey) (cmtcrypto.PubKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromCmtProtoPublicKey ¶ added in v0.50.0
func FromCmtProtoPublicKey(protoPk cmtprotocrypto.PublicKey) (cryptotypes.PubKey, error)
FromCmtProtoPublicKey converts a CMT's cmtprotocrypto.PublicKey into our own PubKey.
func FromCmtPubKeyInterface ¶ added in v0.50.0
func FromCmtPubKeyInterface(tmPk cmtcrypto.PubKey) (cryptotypes.PubKey, error)
FromCmtPubKeyInterface converts CMT's cmtcrypto.PubKey to our own PubKey.
func RegisterCrypto ¶
func RegisterCrypto(registrar registry.AminoRegistrar)
RegisterCrypto registers all crypto dependency types with the provided Amino codec.
func RegisterInterfaces ¶
func RegisterInterfaces(registry registry.InterfaceRegistrar)
RegisterInterfaces registers the sdk.Tx interface.
func ToCmtProtoPublicKey ¶ added in v0.50.0
func ToCmtProtoPublicKey(pk cryptotypes.PubKey) (cmtprotocrypto.PublicKey, error)
ToCmtProtoPublicKey converts our own PubKey to Cmt's cmtprotocrypto.PublicKey.
func ToCmtPubKeyInterface ¶ added in v0.50.0
func ToCmtPubKeyInterface(pk cryptotypes.PubKey) (cmtcrypto.PubKey, error)
ToCmtPubKeyInterface converts our own PubKey to CMT's cmtcrypto.PubKey.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.