codec

package
v0.52.0-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2024 License: Apache-2.0 Imports: 12 Imported by: 3,368

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL