prop250: Change reveal_num to uint64_t and version to uint32_t

Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
David Goulet
2016-05-26 12:25:01 -04:00
parent 899d2b890b
commit e62f3133bb
5 changed files with 20 additions and 23 deletions
+2 -2
View File
@@ -36,7 +36,7 @@ typedef struct sr_state_t {
/* Filename of the state file on disk. */
char *fname;
/* Version of the protocol. */
uint8_t version;
uint32_t version;
/* The valid-after of the voting period we have prepared the state for. */
time_t valid_after;
/* Until when is this state valid? */
@@ -76,7 +76,7 @@ typedef struct sr_state_t {
typedef struct sr_disk_state_t {
uint32_t magic_;
/* Version of the protocol. */
int Version;
uint32_t Version;
/* Version of our running tor. */
char *TorVersion;
/* Creation time of this state */