Revision 9819f35f

View differences:

blacklist.c
98 98
	struct black_list *bl_iterator;
99 99
	// Start from the beginning of the list
100 100
	bl_iterator = bl;
101
 	dprintf("BLACKLIST: looking for peer %s in the list\n", node_addr);
101
	//dprintf("BLACKLIST: looking for peer %s in the list\n", node_addr);
102 102
	// Iterate the list until you get the right element
103 103
	while (bl_iterator != NULL) {
104 104
		if (strcmp(bl_iterator->blp.node_addr, node_addr) == 0) {
......
124 124
	current_time = current_time_timeval.tv_sec + current_time_timeval.tv_usec*1e-6; 
125 125
	
126 126
	if (bl_iterator == NULL) {
127
		dprintf("BLACKLIST: empty %f...\n", current_time);
127
		//dprintf("BLACKLIST: empty %f...\n", current_time);
128 128
		}
129 129
	
130 130
	while (bl_iterator != NULL) {
measures-monl.c
355 355
 * RTT to a given peer in seconds
356 356
*/
357 357
double get_rtt(struct nodeID *id){
358
	return get_measure(id, 1, WIN_AVG);
358
	return get_measure(id, 1, MIN);
359 359
}
360 360

  
361 361
/*
streaming.c
299 299
  transactions_check();
300 300

  
301 301
  res = parseChunkMsg(buff + 1, len - 1, &c, &transid);
302
  dprintf("Received chunk from peer: %s, trans_id %d\n", node_addr(from), transid);
302
//   dprintf("Received chunk from peer: %s, trans_id %d\n", node_addr(from), transid);
303 303
  if (res > 0) {
304 304
    chunk_attributes_update_received(&c);
305 305
    chunk_unlock(c.id);

Also available in: Unified diff