[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] 124/164: Fixed some bug
From: |
gnunet |
Subject: |
[gnunet] 124/164: Fixed some bug |
Date: |
Fri, 30 Jul 2021 15:33:10 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
commit 3634dc7016b4a4f5a80145e8540cee9dc0c76c39
Author: Elias Summermatter <elias.summermatter@seccom.ch>
AuthorDate: Sun May 30 14:26:00 2021 +0200
Fixed some bug
---
src/setu/gnunet-service-setu.c | 7 +++----
src/setu/perf_setu_api.c | 2 +-
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/setu/gnunet-service-setu.c b/src/setu/gnunet-service-setu.c
index ad2713719..036fd973c 100644
--- a/src/setu/gnunet-service-setu.c
+++ b/src/setu/gnunet-service-setu.c
@@ -2238,7 +2238,7 @@ handle_union_p2p_strata_estimator (void *cls,
/** Calculate avg element size if not initial sync **/
uint64_t avg_element_size = 0;
- if(0 < op->number_elements_local) {
+ if(0 < op->local_element_count) {
GNUNET_CONTAINER_multihashmap_iterate(op->set->content->elements,
&determinate_avg_element_size_iterator,
op);
@@ -2291,8 +2291,7 @@ handle_union_p2p_strata_estimator (void *cls,
}
if ((GNUNET_YES == op->force_full) ||
- ( op->mode_of_operation != DIFFERENTIAL_SYNC) ||
- (0 == other_size))
+ ( op->mode_of_operation != DIFFERENTIAL_SYNC))
{
LOG (GNUNET_ERROR_TYPE_DEBUG,
"Deciding to go for full set transmission (diff=%d, own set=%llu)\n",
@@ -3452,7 +3451,7 @@ handle_union_p2p_request_full (void *cls,
if(FULL_SYNC_REMOTE_SENDING_FIRST != mode_of_operation)
{
LOG (GNUNET_ERROR_TYPE_ERROR,
- "PROTOCOL VIOLATION: Remote peer choose to send his full set first
but correct mode would have been"
+ "PROTOCOL VIOLATION: Remote peer choose to request the full set
first but correct mode would have been"
" : %d\n", mode_of_operation);
GNUNET_break_op (0);
fail_union_operation (op);
diff --git a/src/setu/perf_setu_api.c b/src/setu/perf_setu_api.c
index 599ad7b2c..c47bd8f66 100644
--- a/src/setu/perf_setu_api.c
+++ b/src/setu/perf_setu_api.c
@@ -405,7 +405,7 @@ run (void *cls,
"Running real set-reconciliation\n");
//init_set1 ();
// limit ~23800 element total
- initRandomSets(50, 500,500,32);
+ initRandomSets(470, 500,500,32);
}
void perf_thread() {
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnunet] 143/164: Added some comments, (continued)
- [gnunet] 143/164: Added some comments, gnunet, 2021/07/30
- [gnunet] 139/164: Fixed wrong argument for mode of operation, gnunet, 2021/07/30
- [gnunet] 80/164: Perf test, gnunet, 2021/07/30
- [gnunet] 84/164: Perf test, gnunet, 2021/07/30
- [gnunet] 110/164: Improved IBF with salt + prime ibf size, gnunet, 2021/07/30
- [gnunet] 113/164: Salt mul 7 for salt optimization, gnunet, 2021/07/30
- [gnunet] 117/164: Prepare fore messurement 4, gnunet, 2021/07/30
- [gnunet] 109/164: Added multi strata estimator, gnunet, 2021/07/30
- [gnunet] 130/164: Cleaned some more warnings, gnunet, 2021/07/30
- [gnunet] 142/164: Maded struct camelcase, gnunet, 2021/07/30
- [gnunet] 124/164: Fixed some bug,
gnunet <=
- [gnunet] 144/164: Fixed mem leak, gnunet, 2021/07/30
- [gnunet] 133/164: Removed some unneseray padding from inquery message, gnunet, 2021/07/30
- [gnunet] 149/164: Restored normal config, gnunet, 2021/07/30
- [gnunet] 157/164: Fixed one more bug ;-), gnunet, 2021/07/30
- [gnunet] 158/164: removed exponation from plausability check, gnunet, 2021/07/30
- [gnunet] 162/164: Iproved ibf counter packing code, gnunet, 2021/07/30
- [gnunet] 127/164: Liniting, gnunet, 2021/07/30
- [gnunet] 125/164: Removed unusable counter, gnunet, 2021/07/30
- [gnunet] 122/164: Improved code and commtents, gnunet, 2021/07/30
- [gnunet] 150/164: Fixed a bug in message controll, gnunet, 2021/07/30