diff options
-rw-r--r-- | src/set/gnunet-service-set_union.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/set/gnunet-service-set_union.c b/src/set/gnunet-service-set_union.c index b51939da0..90f52ff47 100644 --- a/src/set/gnunet-service-set_union.c +++ b/src/set/gnunet-service-set_union.c | |||
@@ -889,7 +889,7 @@ handle_p2p_strata_estimator (void *cls, | |||
889 | } | 889 | } |
890 | 890 | ||
891 | 891 | ||
892 | if ( (GNUNET_YES == op->spec->force_full) || (diff > op->state->initial_size / 2)) | 892 | if ( (GNUNET_YES == op->spec->force_full) || (diff > op->state->initial_size / 4)) |
893 | { | 893 | { |
894 | LOG (GNUNET_ERROR_TYPE_INFO, | 894 | LOG (GNUNET_ERROR_TYPE_INFO, |
895 | "Sending full set (diff=%d, own set=%u)\n", | 895 | "Sending full set (diff=%d, own set=%u)\n", |
@@ -1565,8 +1565,8 @@ handle_p2p_full_element (void *cls, | |||
1565 | } | 1565 | } |
1566 | 1566 | ||
1567 | if ( (GNUNET_YES == op->spec->byzantine) && | 1567 | if ( (GNUNET_YES == op->spec->byzantine) && |
1568 | (op->state->received_total > 128) && | 1568 | (op->state->received_total > 128 + op->state->received_fresh * 4) && |
1569 | (op->state->received_fresh < op->state->received_total / 3) ) | 1569 | (op->state->received_fresh < op->state->received_total / 6) ) |
1570 | { | 1570 | { |
1571 | /* The other peer gave us lots of old elements, there's something wrong. */ | 1571 | /* The other peer gave us lots of old elements, there's something wrong. */ |
1572 | LOG (GNUNET_ERROR_TYPE_ERROR, | 1572 | LOG (GNUNET_ERROR_TYPE_ERROR, |