aboutsummaryrefslogtreecommitdiff
path: root/src/revocation/revocation.h
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2020-04-19 20:05:26 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2020-04-19 20:05:26 +0200
commit8f9a45e853d9759f04a5f4fe9aa0146ed3f3fb17 (patch)
treeb9ef6928b2fdb8647a8c7d3e0f6d316198b51d48 /src/revocation/revocation.h
parenteb6b547e243144f27749811c15b6cce90e03aaa7 (diff)
downloadgnunet-8f9a45e853d9759f04a5f4fe9aa0146ed3f3fb17.tar.gz
gnunet-8f9a45e853d9759f04a5f4fe9aa0146ed3f3fb17.zip
towards less variance
Diffstat (limited to 'src/revocation/revocation.h')
-rw-r--r--src/revocation/revocation.h24
1 files changed, 2 insertions, 22 deletions
diff --git a/src/revocation/revocation.h b/src/revocation/revocation.h
index d7b9cc139..b2769da0e 100644
--- a/src/revocation/revocation.h
+++ b/src/revocation/revocation.h
@@ -27,6 +27,7 @@
27#define REVOCATION_H 27#define REVOCATION_H
28 28
29#include "gnunet_util_lib.h" 29#include "gnunet_util_lib.h"
30#include "gnunet_revocation_service.h"
30 31
31GNUNET_NETWORK_STRUCT_BEGIN 32GNUNET_NETWORK_STRUCT_BEGIN
32 33
@@ -91,28 +92,7 @@ struct RevokeMessage
91 /** 92 /**
92 * Number that causes a hash collision with the @e public_key. 93 * Number that causes a hash collision with the @e public_key.
93 */ 94 */
94 uint64_t proof_of_work GNUNET_PACKED; 95 struct GNUNET_REVOCATION_Pow proof_of_work GNUNET_PACKED;
95
96 /**
97 * Timestamp
98 */
99 struct GNUNET_TIME_AbsoluteNBO ts;
100
101 /**
102 * Signature confirming revocation.
103 */
104 struct GNUNET_CRYPTO_EcdsaSignature signature;
105
106 /**
107 * Must have purpose #GNUNET_SIGNATURE_PURPOSE_REVOCATION,
108 * size expands over the public key. (@deprecated)
109 */
110 struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
111
112 /**
113 * Key to revoke.
114 */
115 struct GNUNET_CRYPTO_EcdsaPublicKey public_key;
116}; 96};
117 97
118 98