mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user