codec

package
v0.40.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 License: Apache-2.0 Imports: 9 Imported by: 3,363

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrivKeyFromBytes

func PrivKeyFromBytes(privKeyBytes []byte) (privKey crypto.PrivKey, err error)

PrivKeyFromBytes unmarshals private key bytes and returns a PrivKey

func PubKeyFromBytes

func PubKeyFromBytes(pubKeyBytes []byte) (pubKey crypto.PubKey, err error)

PubKeyFromBytes unmarshals public key bytes and returns a 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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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