code: func maxNetAddressPayload(pver uint32) uint32 {
  	// Services 8 bytes + ip 16 bytes + port 2 bytes.
  	plen := uint32(26)
  
  	// NetAddressTimeVersion added a timestamp field.
  	if pver >= NetAddressTimeVersion {
  		// Timestamp 4 bytes.
  		plen += 4
  	}
  
  	return plen
  }
docs: // maxNetAddressPayload returns the max payload size for a bitcoin NetAddress
  // based on the protocol version.