github.com/vipernet-xyz/tendermint-core@v0.32.0/p2p/conn/codec.go (about) 1 package conn 2 3 import ( 4 amino "github.com/tendermint/go-amino" 5 6 cryptoamino "github.com/tendermint/tendermint/crypto/encoding/amino" 7 ) 8 9 var cdc *amino.Codec = amino.NewCodec() 10 11 func init() { 12 cryptoamino.RegisterAmino(cdc) 13 RegisterPacket(cdc) 14 }