wire

package
v0.10.10 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComposeTxDecoders

func ComposeTxDecoders(cdc *Codec, decoders ...txDecoderFn) sdk.TxDecoder

ComposeTxDecoders composes tx decoders together and tries each one until a decoded tx is returned.

func MarshalJSONIndent

func MarshalJSONIndent(cdc *Codec, obj interface{}) ([]byte, error)

attempt to make some pretty json

func RegisterCrypto

func RegisterCrypto(cdc *Codec)

Register the go-crypto to the codec

Types

type Codec

type Codec = amino.Codec

amino codec to marshal/unmarshal

var Cdc *Codec

generic sealed codec to be used throughout sdk

func NewCodec

func NewCodec() *Codec

Jump to

Keyboard shortcuts

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