summaryrefslogtreecommitdiff
path: root/src/reclaim/reclaim.h
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2019-06-05 00:19:09 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2019-06-05 00:19:09 +0200
commit2af1b568199c62152fe7892ec33579aed326c136 (patch)
treebbb5b8f17aa875fc3d8862602268295bc6709b7a /src/reclaim/reclaim.h
parent761cdce49f33607b0e8e1ef0c4275bf8d7e82c02 (diff)
fix message sizes; pending test
Diffstat (limited to 'src/reclaim/reclaim.h')
-rw-r--r--src/reclaim/reclaim.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/reclaim/reclaim.h b/src/reclaim/reclaim.h
index 982cd8ae4..3c7c05a10 100644
--- a/src/reclaim/reclaim.h
+++ b/src/reclaim/reclaim.h
@@ -323,7 +323,10 @@ struct RevokeTicketMessage
*/
uint32_t attrs_len GNUNET_PACKED;
- // Followed by a ticket and serialized attribute list
+ /**
+ * The ticket to revoke
+ */
+ struct GNUNET_RECLAIM_Ticket ticket;
};
/**
@@ -362,6 +365,11 @@ struct TicketResultMessage
* Unique identifier for this request (for key collisions).
*/
uint32_t id GNUNET_PACKED;
+
+ /**
+ * The new ticket
+ */
+ struct GNUNET_RECLAIM_Ticket ticket;
};
/**
@@ -384,7 +392,10 @@ struct ConsumeTicketMessage
*/
struct GNUNET_CRYPTO_EcdsaPrivateKey identity;
- // Followed by a serialized ticket
+ /**
+ * The ticket to consume
+ */
+ struct GNUNET_RECLAIM_Ticket ticket;
};
/**