aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-01-02 23:55:18 +0100
committerChristian Grothoff <christian@grothoff.org>2022-01-02 23:55:18 +0100
commitf30d3de6fb8bbd01072df00815b5f18a1808312e (patch)
tree1932f5174084f5df09cf1c95f599d15266022736 /src/include
parent7b6ad5eedc4444ed8739932a388189bfd4e35e44 (diff)
downloadgnunet-f30d3de6fb8bbd01072df00815b5f18a1808312e.tar.gz
gnunet-f30d3de6fb8bbd01072df00815b5f18a1808312e.zip
-DHT: clean up peer selection logic
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_crypto_lib.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h
index 4e26429c9..1ab135d80 100644
--- a/src/include/gnunet_crypto_lib.h
+++ b/src/include/gnunet_crypto_lib.h
@@ -1058,21 +1058,6 @@ GNUNET_CRYPTO_hash_count_tailing_zeros (const struct GNUNET_HashCode *h);
1058 1058
1059 1059
1060/** 1060/**
1061 * Compute the distance between have and target as a 64-bit value.
1062 * Differences in the lower bits must count stronger than differences
1063 * in the higher bits.
1064 *
1065 * @param xor input hash
1066 * @param bucket up to which offset we are to ignore @a xor
1067 * @return the subsequent 64 bits after @a bucket from @a xor, in
1068 * host byte order.
1069 */
1070uint64_t
1071GNUNET_CRYPTO_hash_bucket_distance (const struct GNUNET_HashCode *xor,
1072 unsigned int bucket);
1073
1074
1075/**
1076 * @ingroup hash 1061 * @ingroup hash
1077 * Convert a hashcode into a key. 1062 * Convert a hashcode into a key.
1078 * 1063 *