From 593324c0639120327667096d7ed75e8c385d18e8 Mon Sep 17 00:00:00 2001 From: Hack666r Date: Wed, 25 Dec 2024 22:28:07 +0100 Subject: [PATCH 1/2] fix typos pub_stats.hpp --- pc/pub_stats.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pc/pub_stats.hpp b/pc/pub_stats.hpp index 3d2bbed7f..f114ecfd8 100644 --- a/pc/pub_stats.hpp +++ b/pc/pub_stats.hpp @@ -12,7 +12,7 @@ namespace pc pub_stats(); - // number of prices submited + // number of prices submitted uint64_t get_num_sent() const; // number of observed aggregate slot updates From 5fc2d7064bf869fa549474adc47298c3dceef1d5 Mon Sep 17 00:00:00 2001 From: Hack666r Date: Wed, 25 Dec 2024 22:30:52 +0100 Subject: [PATCH 2/2] typo fix prng.h --- program/c/src/oracle/util/prng.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/c/src/oracle/util/prng.h b/program/c/src/oracle/util/prng.h index dd7b1dabf..1fdf078c9 100644 --- a/program/c/src/oracle/util/prng.h +++ b/program/c/src/oracle/util/prng.h @@ -307,7 +307,7 @@ static inline double prng_double_o ( prng_t * prng ) { return prng_uint64_to_dou Rejection method based. Specifically, the number of prng slots consumed is typically 1 but theoretically might be higher - occassionally (64-bit wide types consume prng slots twice as fast). + occasionally (64-bit wide types consume prng slots twice as fast). Deterministic prng slot consumption possible with a slightly more approximate implementation (bound the number of iterations such that