projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
-help seaspider some more
[oweals/gnunet.git]
/
src
/
fs
/
gnunet-service-fs_cp.h
diff --git
a/src/fs/gnunet-service-fs_cp.h
b/src/fs/gnunet-service-fs_cp.h
index 11be4c6f12a7c0c70e8e1c6939101c59ebbe640a..e3c7cd2278259a8525aece2f1dfc30c062483bfd 100644
(file)
--- a/
src/fs/gnunet-service-fs_cp.h
+++ b/
src/fs/gnunet-service-fs_cp.h
@@
-92,6
+92,13
@@
struct GSF_PeerPerformanceData
*/
struct GNUNET_TIME_Relative avg_reply_delay;
*/
struct GNUNET_TIME_Relative avg_reply_delay;
+ /**
+ * If we get content we already have from this peer, for how
+ * long do we block him? Adjusted based on the fraction of
+ * redundant data we receive, between 1s and 1h.
+ */
+ struct GNUNET_TIME_Relative migration_delay;
+
/**
* Point in time until which this peer does not want us to migrate content
* to it.
/**
* Point in time until which this peer does not want us to migrate content
* to it.
@@
-140,10
+147,6
@@
struct GSF_PeerPerformanceData
*/
unsigned int pending_replies;
*/
unsigned int pending_replies;
- /**
- * How many of the last blocks from migration were duplicates?
- */
- unsigned int migration_duplication;
};
};
@@
-339,7
+342,7
@@
GSF_get_peer_performance_data_ (struct GSF_ConnectedPeer *cp);
*/
void
GSF_block_peer_migration_ (struct GSF_ConnectedPeer *cp,
*/
void
GSF_block_peer_migration_ (struct GSF_ConnectedPeer *cp,
- struct GNUNET_TIME_
Relativ
e block_time);
+ struct GNUNET_TIME_
Absolut
e block_time);
/**
/**