diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-06-23 08:35:49 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-06-23 08:35:49 +0000 |
commit | c00ade9abf751ea2157f1f78dd834257fe19ed6c (patch) | |
tree | 0eebb88f356ba98fce52398dcea22a89011d7e6d /src/include/gnunet_fs_service.h | |
parent | 8f850cddd40436aa9f5a3ec82606dd5bceebef3d (diff) | |
download | gnunet-c00ade9abf751ea2157f1f78dd834257fe19ed6c.tar.gz gnunet-c00ade9abf751ea2157f1f78dd834257fe19ed6c.zip |
-passing total trust offered along (fixing #1369)
Diffstat (limited to 'src/include/gnunet_fs_service.h')
-rw-r--r-- | src/include/gnunet_fs_service.h | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h index 4b7e726dd..f93f4e856 100644 --- a/src/include/gnunet_fs_service.h +++ b/src/include/gnunet_fs_service.h | |||
@@ -1018,21 +1018,32 @@ struct GNUNET_FS_ProgressInfo | |||
1018 | uint64_t data_len; | 1018 | uint64_t data_len; |
1019 | 1019 | ||
1020 | /** | 1020 | /** |
1021 | * How much time passed between us asking for this block and | ||
1022 | * actually getting it? GNUNET_TIME_UNIT_FOREVER_REL if unknown. | ||
1023 | */ | ||
1024 | struct GNUNET_TIME_Relative block_download_duration; | ||
1025 | |||
1026 | /** | ||
1021 | * Depth of the given block in the tree; | 1027 | * Depth of the given block in the tree; |
1022 | * 0 would be the lowest level (DBLOCKS). | 1028 | * 0 would be the lowest level (DBLOCKS). |
1023 | */ | 1029 | */ |
1024 | unsigned int depth; | 1030 | unsigned int depth; |
1025 | 1031 | ||
1026 | /** | 1032 | /** |
1027 | * How much respect did we offer for downloading this block? | 1033 | * How much respect did we offer for downloading this block? (estimate, |
1034 | * because we might have the same request pending for multiple clients, | ||
1035 | * and of course because a transmission may have failed at a lower | ||
1036 | * layer). | ||
1028 | */ | 1037 | */ |
1029 | unsigned int respect_offered; | 1038 | uint32_t respect_offered; |
1030 | 1039 | ||
1031 | /** | 1040 | /** |
1032 | * How much time passed between us asking for this block and | 1041 | * How often did we transmit the request? (estimate, |
1033 | * actually getting it? GNUNET_TIME_UNIT_FOREVER_REL if unknown. | 1042 | * because we might have the same request pending for multiple clients, |
1043 | * and of course because a transmission may have failed at a lower | ||
1044 | * layer). | ||
1034 | */ | 1045 | */ |
1035 | struct GNUNET_TIME_Relative block_download_duration; | 1046 | uint32_t num_transmissions; |
1036 | 1047 | ||
1037 | } progress; | 1048 | } progress; |
1038 | 1049 | ||