aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorOmar Tarabai <tarabai@devegypt.com>2014-08-20 14:05:05 +0000
committerOmar Tarabai <tarabai@devegypt.com>2014-08-20 14:05:05 +0000
commit5447f35b5322f59f0828699c4eef156496dbd6e6 (patch)
tree8355a10f3730a1338f3a8061674832ea96d8131e /src/include
parent3cf872e01763549f20773077baa0a5c7b794d2ea (diff)
downloadgnunet-5447f35b5322f59f0828699c4eef156496dbd6e6.tar.gz
gnunet-5447f35b5322f59f0828699c4eef156496dbd6e6.zip
sensor: proof-of-work ingerated with anomaly reports
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_sensor_util_lib.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/include/gnunet_sensor_util_lib.h b/src/include/gnunet_sensor_util_lib.h
index 55cfc9002..3cb88904b 100644
--- a/src/include/gnunet_sensor_util_lib.h
+++ b/src/include/gnunet_sensor_util_lib.h
@@ -322,11 +322,6 @@ struct GNUNET_SENSOR_AnomalyReportMessage
322{ 322{
323 323
324 /** 324 /**
325 * Message header
326 */
327 struct GNUNET_MessageHeader header;
328
329 /**
330 * Hash of sensor name 325 * Hash of sensor name
331 */ 326 */
332 struct GNUNET_HashCode sensorname_hash; 327 struct GNUNET_HashCode sensorname_hash;
@@ -495,7 +490,6 @@ GNUNET_SENSOR_crypto_pow_sign (void *msg, size_t msg_size,
495 * @param block The block received and needs to be verified 490 * @param block The block received and needs to be verified
496 * @param matching_bits Number of leading zeros in the hash used to verify pow 491 * @param matching_bits Number of leading zeros in the hash used to verify pow
497 * @param public_key Public key of the peer that sent this block 492 * @param public_key Public key of the peer that sent this block
498 * @param purpose Expected signing purpose
499 * @param payload Where to store the pointer to the payload 493 * @param payload Where to store the pointer to the payload
500 * @return Size of the payload 494 * @return Size of the payload
501 */ 495 */
@@ -503,8 +497,7 @@ size_t
503GNUNET_SENSOR_crypto_verify_pow_sign (struct GNUNET_SENSOR_crypto_pow_block * 497GNUNET_SENSOR_crypto_verify_pow_sign (struct GNUNET_SENSOR_crypto_pow_block *
504 block, int matching_bits, 498 block, int matching_bits,
505 struct GNUNET_CRYPTO_EddsaPublicKey * 499 struct GNUNET_CRYPTO_EddsaPublicKey *
506 public_key, uint32_t purpose, 500 public_key, void **payload);
507 void **payload);
508 501
509 502
510#if 0 /* keep Emacsens' auto-indent happy */ 503#if 0 /* keep Emacsens' auto-indent happy */