Skip to content

Commit 9c4df8e

Browse files
riptlripatel-fd
authored andcommitted
Stutter typos
1 parent 9b6e490 commit 9c4df8e

File tree

8 files changed

+33
-33
lines changed

8 files changed

+33
-33
lines changed

book/api/websocket.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1400,11 +1400,11 @@ The source tpu for a transaction can be one of the following
14001400

14011401
| TPU | Description |
14021402
|--------|-------------|
1403-
| quic | the primary ingress tpu for user transactions. Utilizes the quic protocol to recieve packets |
1404-
| udp | ingress transactions recieved as simple UDP packets |
1405-
| gossip | vote transactions recieved from the gossip network |
1406-
| bundle | bundle transacionts recieved by the bundle tile from a block builder. Utilizes a grpc connection to recieve packets |
1407-
| send | vote transactions procuded by this validator recieved from the send tile. These transactions are meant for the active cluster leader |
1403+
| quic | the primary ingress tpu for user transactions. Utilizes the quic protocol to receive packets |
1404+
| udp | ingress transactions received as simple UDP packets |
1405+
| gossip | vote transactions received from the gossip network |
1406+
| bundle | bundle transacionts received by the bundle tile from a block builder. Utilizes a grpc connection to receive packets |
1407+
| send | vote transactions procuded by this validator received from the send tile. These transactions are meant for the active cluster leader |
14081408

14091409
These are the possible error codes that might be included in `txn_error_code` and their meanings.
14101410

src/disco/fd_disco_base.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ FD_FN_CONST static inline ulong fd_disco_replay_old_sig_slot( ulong sig ) { retu
160160
161161
There are two types of messages on the shred_repair link. The first
162162
type is a generic shred message. The second is a FEC set completion
163-
message. Since we have run out of bits, the reciever must look at the
163+
message. Since we have run out of bits, the receiver must look at the
164164
sz of the dcache entry to determine which type of message it is.
165165
166166
For the first message type (SHRED):

src/discof/forest/fd_forest.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ fd_forest_iter_next( fd_forest_iter_t iter, fd_forest_t const * forest ) {
651651
}
652652

653653
/* Common case - valid shred to request. Note you can't know the
654-
ele->complete_idx until you have actually recieved the slot
654+
ele->complete_idx until you have actually received the slot
655655
complete shred, thus the we can do lt instead of leq */
656656

657657
if( ele->complete_idx != UINT_MAX &&

src/discof/forest/test_forest.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ test_branched_forest_iterator( fd_wksp_t * wksp ) {
520520
slot 4 |
521521
slot 5
522522
523-
slot complete_idx recieved
523+
slot complete_idx received
524524
0 1
525525
1 1 1
526526
2 2 2

src/flamenco/runtime/tests/fd_dump_pb.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ fd_dump_txn_to_protobuf( fd_exec_txn_ctx_t *txn_ctx, fd_spad_t * spad );
7878
will create an initial BlockContext type that saves some fields from the slot and epoch context, as well as any current
7979
builtins and sysvar accounts.
8080
81-
`fd_dump_block_to_protobuf_tx_only` takes an existing block context message and a runtime block and and dumps
81+
`fd_dump_block_to_protobuf_tx_only` takes an existing block context message and a runtime block and dumps
8282
the transactions within the block to be replayed.
8383
8484
CAVEATS: Currently, due to how spad frames are handled in the runtime, there is an edge case where block dumping will

src/groove/fd_groove_data.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ FD_PROTOTYPES_BEGIN
204204
fd_groove_data. Assumes shdata points in the caller's address space
205205
to the memory region containing the fd_groove_data and that there are
206206
no current joins globally. Returns shdata on success (caller has
207-
ownership of the memory region, any volumes in the groove and and any
207+
ownership of the memory region, any volumes in the groove and any
208208
groove data objects in these volumes) and NULL on failure (no
209209
ownership changes, logs details). */
210210

@@ -495,10 +495,10 @@ fd_groove_data_verify( fd_groove_data_t const * data );
495495

496496
/* fd_groove_data_volume_verify returns FD_GROOVE_SUCCESS if the
497497
groove volume mapped into the caller's address at _volume is appears
498-
to be a valid groove volume and and FD_GROOVE_ERR_CORRUPT
499-
otherwise (logs details). Assumes join is a current local join and
500-
the groove data is idle. It is fine to verify volumes in parallel
501-
(e.g. use hundreds of cores to verify petabytes of groove data). */
498+
to be a valid groove volume and FD_GROOVE_ERR_CORRUPT otherwise (logs
499+
details). Assumes join is a current local join and the groove data
500+
is idle. It is fine to verify volumes in parallel (e.g. use hundreds
501+
of cores to verify petabytes of groove data). */
502502

503503
int
504504
fd_groove_data_volume_verify( fd_groove_data_t const * data,

src/util/alloc/fd_alloc_cfg.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
Critically, noting that ~ 512KiB/64 ~ 8KiB is pretty clumsy for small
3131
allocations, we recursively nest a smaller sized superblock within
3232
blocks of this superblock.
33-
33+
3434
Specifically, we pick a "large" superblock size that will nest as
3535
tightly inside a block of a "huge" superblock when the huge
3636
superblock is divided into the minimum 8 blocks. Noting that the
@@ -51,14 +51,14 @@
5151
rounding nearest. (For the parameters here, this implies a few
5252
percent overhead from the implicit rounding up of an unaligned
5353
allocation.)
54-
54+
5555
block_footprints are directly computed from these superblock
56-
footprints and and the block counts are recomputed to squeeze some
57-
extra blocks into the superblocks that various integer roundings
58-
might have exposed. We discard any sizeclasses that are redundant
59-
and any sizeclasses that are too small to be useful (blocks need to
60-
be at least 5 as a single byte unaligned allocation will still have a
61-
4 byte fd_alloc_hdr_t associated with it). This yields the 126 size
56+
footprints and the block counts are recomputed to squeeze some extra
57+
blocks into the superblocks that various integer roundings might have
58+
exposed. We discard any sizeclasses that are redundant and any
59+
sizeclasses that are too small to be useful (blocks need to be at
60+
least 5 as a single byte unaligned allocation will still have a 4
61+
byte fd_alloc_hdr_t associated with it). This yields the 126 size
6262
classes below.
6363
6464
On the assumption that small allocations have a shorter lifetime /

src/util/bits/fd_uwide.h

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,11 @@ static inline int fd_uwide_find_msb_def( ulong xh, ulong xl, int def ) { return
126126
Large values of s are fine (shifts to zero). Returns the inexact
127127
flag (will be 0 or 1) which indicates if any non-zero bits of <xh,xl>
128128
were lost in the process. Note that inexact handling and various
129-
cases should be compile time optimized out if if s is known at
130-
compile time on input and/or return value is not used. Ignoring
131-
inexact handling and assuming compile time s, for the worst case s,
132-
cost is 3 u64 shifts and 1 u64 bit or. FIXME: CONSIDER HAVING AN
133-
INVALID FLAG FOR NEGATIVE S? FIXME: BRANCHLESS? */
129+
cases should be compile time optimized out if s is known at compile
130+
time on input and/or return value is not used. Ignoring inexact
131+
handling and assuming compile time s, for the worst case s, cost is 3
132+
u64 shifts and 1 u64 bit or. FIXME: CONSIDER HAVING AN INVALID FLAG
133+
FOR NEGATIVE S? FIXME: BRANCHLESS? */
134134

135135
static inline int
136136
fd_uwide_sl( ulong * FD_RESTRICT _zh, ulong * FD_RESTRICT _zl,
@@ -148,12 +148,12 @@ fd_uwide_sl( ulong * FD_RESTRICT _zh, ulong * FD_RESTRICT _zl,
148148
Large values of s are fine (shifts to zero). Returns the inexact
149149
flag (will be 0 or 1) which indicates if any non-zero bits of <xh,xl>
150150
were lost in the process. Note that inexact handling and various
151-
cases should be compile time optimized out if if s is known at
152-
compile time on input and/or return value is not used. Ignoring
153-
inexact handling and assuming compile time s, for the worst case s,
154-
cost is 3 u64 shifts and 1 u64 bit or. (FIXME: CONSIDER HAVING AN
155-
INVALID FLAG FOR NEGATIVE S AND/OR MORE DETAILED INEXACT FLAGS TO
156-
SIMPLIFY IMPLEMENTING FIXED AND FLOATING POINT ROUNDING MODES?) */
151+
cases should be compile time optimized out if s is known at compile
152+
time on input and/or return value is not used. Ignoring inexact
153+
handling and assuming compile time s, for the worst case s, cost is 3
154+
u64 shifts and 1 u64 bit or. (FIXME: CONSIDER HAVING AN INVALID FLAG
155+
FOR NEGATIVE S AND/OR MORE DETAILED INEXACT FLAGS TO SIMPLIFY
156+
IMPLEMENTING FIXED AND FLOATING POINT ROUNDING MODES?) */
157157

158158
static inline int
159159
fd_uwide_sr( ulong * FD_RESTRICT _zh, ulong * FD_RESTRICT _zl,

0 commit comments

Comments
 (0)