Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion pc/pub_stats.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion program/c/src/oracle/util/prng.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down