We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 891d42e commit 0984ef5Copy full SHA for 0984ef5
program/c/src/oracle/oracle.h
@@ -17,6 +17,9 @@ const uint64_t SUCCESSFULLY_UPDATED_AGGREGATE = 1000ULL;
17
// Rust portion of the codebase.
18
const uint64_t TIME_MACHINE_STRUCT_SIZE = 1864ULL;
19
20
+const uint64_t EXTRA_PUBLISHER_SPACE = 1000ULL;
21
+
22
23
// magic number at head of account
24
#define PC_MAGIC 0xa1b2c3d4
25
@@ -190,7 +193,7 @@ typedef struct pc_price
190
193
191
194
static_assert( sizeof( pc_price_t ) == 3312, "" );
192
195
-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 );
197
198
// command enumeration
199
typedef enum {
0 commit comments