Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion program/src/oracle/oracle.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ extern "C" {
#define PC_PUBKEY_SIZE_64 (PC_PUBKEY_SIZE/sizeof(uint64_t))
#define PC_MAP_TABLE_SIZE 640
#define PC_COMP_SIZE 32
#define PC_MAX_NUM_DECIMALS 16
// Bound on the range of the exponent in price accounts. This number is set such that the
// PD-based EMA computation does not lose too much precision.
#define PC_MAX_NUM_DECIMALS 8
#define PC_PROD_ACC_SIZE 512
#define PC_EXP_DECAY -9
// If ci > price / PC_MAX_CI_DIVISOR, set publisher status to unknown.
Expand Down