func (info *GNodeInfo) Marshal() ([]byte, error) {
	return cdc.MarshalBinaryBare(info)
}
Marshal returns the amino encoding.
package p2p
import (
	amino "github.com/tendermint/go-amino"
	net "github.com/tendermint/tendermint/p2p"
)
type GNodeInfo struct {
	net.DefaultNodeInfo
}
var cdc = amino.NewCodec()
func (info *GNodeInfo) Size() int {
	bs, _ := info.Marshal()
	return len(bs)
}