diff options
author | Florian Dold <florian.dold@gmail.com> | 2014-02-03 21:25:53 +0000 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2014-02-03 21:25:53 +0000 |
commit | 8a3563b5c242b60aa4b7d2b9a3c3607ef8dcbadb (patch) | |
tree | f4b85c248403ba6783db017930b2258f3e61e18a /src/secretsharing/secretsharing.h | |
parent | 694581b42a78419c1c8ffc31ee873484ff93d79b (diff) | |
download | gnunet-8a3563b5c242b60aa4b7d2b9a3c3607ef8dcbadb.tar.gz gnunet-8a3563b5c242b60aa4b7d2b9a3c3607ef8dcbadb.zip |
- consensus and secretsharing have both start time and deadline
Diffstat (limited to 'src/secretsharing/secretsharing.h')
-rw-r--r-- | src/secretsharing/secretsharing.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/secretsharing/secretsharing.h b/src/secretsharing/secretsharing.h index e94ff46b7..796feabae 100644 --- a/src/secretsharing/secretsharing.h +++ b/src/secretsharing/secretsharing.h | |||
@@ -57,6 +57,11 @@ struct GNUNET_SECRETSHARING_CreateMessage | |||
57 | struct GNUNET_HashCode session_id GNUNET_PACKED; | 57 | struct GNUNET_HashCode session_id GNUNET_PACKED; |
58 | 58 | ||
59 | /** | 59 | /** |
60 | * Start time for communication with the other peers. | ||
61 | */ | ||
62 | struct GNUNET_TIME_AbsoluteNBO start; | ||
63 | |||
64 | /** | ||
60 | * Deadline for the establishment of the crypto system. | 65 | * Deadline for the establishment of the crypto system. |
61 | */ | 66 | */ |
62 | struct GNUNET_TIME_AbsoluteNBO deadline; | 67 | struct GNUNET_TIME_AbsoluteNBO deadline; |
@@ -131,6 +136,11 @@ struct GNUNET_SECRETSHARING_DecryptRequestMessage | |||
131 | struct GNUNET_MessageHeader header; | 136 | struct GNUNET_MessageHeader header; |
132 | 137 | ||
133 | /** | 138 | /** |
139 | * Until when should the decryption start? | ||
140 | */ | ||
141 | struct GNUNET_TIME_AbsoluteNBO start; | ||
142 | |||
143 | /** | ||
134 | * Until when should the decryption be finished? | 144 | * Until when should the decryption be finished? |
135 | */ | 145 | */ |
136 | struct GNUNET_TIME_AbsoluteNBO deadline; | 146 | struct GNUNET_TIME_AbsoluteNBO deadline; |