aboutsummaryrefslogtreecommitdiff
path: root/src/revocation/revocation.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-04-24 20:36:34 +0200
committerChristian Grothoff <christian@grothoff.org>2020-04-24 20:36:34 +0200
commit91fd7860cba14c27d52850f91b17060790855145 (patch)
treeed68970c3e78f18c06fc2a421e6d1468c74bffcf /src/revocation/revocation.h
parent18903294439021a77377bc63c74b284c82ad3894 (diff)
parent892bd3c6013f0a8c44106f16299a34d9a1c99e48 (diff)
downloadgnunet-91fd7860cba14c27d52850f91b17060790855145.tar.gz
gnunet-91fd7860cba14c27d52850f91b17060790855145.zip
Merge branch 'master' of git+ssh://gnunet.org/gnunet
Diffstat (limited to 'src/revocation/revocation.h')
-rw-r--r--src/revocation/revocation.h19
1 files changed, 2 insertions, 17 deletions
diff --git a/src/revocation/revocation.h b/src/revocation/revocation.h
index b6e7a07ec..868c2b853 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,23 +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;
95
96 /**
97 * Signature confirming revocation.
98 */
99 struct GNUNET_CRYPTO_EcdsaSignature signature;
100
101 /**
102 * Must have purpose #GNUNET_SIGNATURE_PURPOSE_REVOCATION,
103 * size expands over the public key. (@deprecated)
104 */
105 struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
106
107 /**
108 * Key to revoke.
109 */
110 struct GNUNET_CRYPTO_EcdsaPublicKey public_key;
111}; 96};
112 97
113 98