// TODO: Serialization needs to increase the seperator between properties, otherwise there will
//  be the same serialization of different data, but because the modification will cause data
//  incompatibility, it needs to be modified during the overall data migration
Serialization needs to increase the seperator between properties, otherwise there will
be the same serialization of different data, but because the modification will cause data
incompatibility, it needs to be modified during the overall data migration
// TODO : Serialization needs to increase the seperator between properties otherwise there will // be the same serialization of different data but because the modification will cause data // incompatibility it needs to be modified during the overall data migration
func (d *Dataserver) hashSerialize(w io.Writer) (int, error) {
	str := []string{
		strconv.Itoa(int(d.ChainID)),
		d.NodeIDString, d.IP,
		strconv.Itoa(int(d.BasicPort)),
		strconv.Itoa(int(d.ConsensusPort0)),
		strconv.Itoa(int(d.ConsensusPort1)),
		strconv.Itoa(int(d.DataPort0)),
		strconv.Itoa(int(d.DataPort1)),
		strconv.Itoa(int(d.DataRpcPort)),
	}
	p := strings.Join(str, "")
	return w.Write([]byte(p))
}
func ( d * Dataserver ) hashSerialize ( w io . Writer ) ( int , error ) { str := [ ] string { strconv . Itoa ( int ( d . ChainID ) ) , d . NodeIDString , d . IP , strconv . Itoa ( int ( d . BasicPort ) ) , strconv . Itoa ( int ( d . ConsensusPort0 ) ) , strconv . Itoa ( int ( d . ConsensusPort1 ) ) , strconv . Itoa ( int ( d . DataPort0 ) ) , strconv . Itoa ( int ( d . DataPort1 ) ) , strconv . Itoa ( int ( d . DataRpcPort ) ) , } p := strings . Join ( str , " " ) return w . Write ( [ ] byte ( p ) ) }
Serialization needs to increase the seperator between properties, otherwise there will
be the same serialization of different data, but because the modification will cause data
incompatibility, it needs to be modified during the overall data migration
Serialization needs to increase the seperator between properties otherwise there will be the same serialization of different data but because the modification will cause data incompatibility it needs to be modified during the overall data migration