cryptoAmino

package
v0.27.3 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrivKeyFromBytes

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

func PubKeyFromBytes

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

func PubkeyAminoRoute added in v0.26.0

func PubkeyAminoRoute(cdc *amino.Codec, key crypto.PubKey) (string, bool)

PubkeyAminoRoute returns the amino route of a pubkey cdc is currently passed in, as eventually this will not be using a package level codec.

func RegisterAmino

func RegisterAmino(cdc *amino.Codec)

RegisterAmino registers all crypto related types in the given (amino) codec.

Types

This section is empty.

Jump to

Keyboard shortcuts

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