Skip to content

Commit 0984ef5

Browse files
committed
left space for extra publishers
1 parent 891d42e commit 0984ef5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

program/c/src/oracle/oracle.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ const uint64_t SUCCESSFULLY_UPDATED_AGGREGATE = 1000ULL;
1717
// Rust portion of the codebase.
1818
const uint64_t TIME_MACHINE_STRUCT_SIZE = 1864ULL;
1919

20+
const uint64_t EXTRA_PUBLISHER_SPACE = 1000ULL;
21+
22+
2023
// magic number at head of account
2124
#define PC_MAGIC 0xa1b2c3d4
2225

@@ -190,7 +193,7 @@ typedef struct pc_price
190193

191194
static_assert( sizeof( pc_price_t ) == 3312, "" );
192195

193-
const uint64_t PRICE_ACCOUNT_SIZE = TIME_MACHINE_STRUCT_SIZE + sizeof( pc_price_t );
196+
const uint64_t PRICE_ACCOUNT_SIZE = TIME_MACHINE_STRUCT_SIZE + EXTRA_PUBLISHER_SPACE + sizeof( pc_price_t );
194197

195198
// command enumeration
196199
typedef enum {

0 commit comments

Comments
 (0)