diff options
Diffstat (limited to 'src/revocation/revocation.h')
-rw-r--r-- | src/revocation/revocation.h | 19 |
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 | ||
31 | GNUNET_NETWORK_STRUCT_BEGIN | 32 | GNUNET_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 | ||