uint32_t reserved GNUNET_PACKED;
/**
- * Timestamp
+ * Number that causes a hash collision with the @e public_key.
*/
- struct GNUNET_TIME_AbsoluteNBO ts;
+ uint64_t proof_of_work GNUNET_PACKED;
/**
- * Number that causes a hash collision with the @e public_key.
+ * Timestamp
*/
- uint64_t proof_of_work GNUNET_PACKED;
+ struct GNUNET_TIME_AbsoluteNBO ts;
/**
* Signature confirming revocation.
ts_nbo = GNUNET_TIME_absolute_hton (*ts);
- GNUNET_memcpy (buf, &pow, sizeof(pow)) ;
- GNUNET_memcpy (&buf[sizeof(pow)], key,
- sizeof(struct GNUNET_CRYPTO_EcdsaPublicKey));
- GNUNET_memcpy (&buf[sizeof(pow) + sizeof (struct GNUNET_TIME_AbsoluteNBO)],
+ GNUNET_memcpy (buf, &pow, sizeof(pow));
+ GNUNET_memcpy (&buf[sizeof(pow)],
&ts_nbo,
sizeof (struct GNUNET_TIME_AbsoluteNBO));
-
+ GNUNET_memcpy (&buf[sizeof(pow) + sizeof (struct GNUNET_TIME_AbsoluteNBO)],
+ key,
+ sizeof(struct GNUNET_CRYPTO_EcdsaPublicKey));
GNUNET_CRYPTO_pow_hash ("gnunet-revocation-proof-of-work",
buf,
sizeof(buf),