Skip to content

Commit

Permalink
doc/dev: Fix typos in encoding.rst
Browse files Browse the repository at this point in the history
Signed-off-by: N Balachandran <[email protected]>
  • Loading branch information
nbalacha committed Jun 27, 2024
1 parent 3b3242c commit 9f43c67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/dev/encoding.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ by a programmer by implementing the ``encode`` and ``decode`` methods.
Principles for format change
----------------------------
It is not unusual that the format of serialization changes. This
process requires careful attention from during both development
process requires careful attention during both development
and review.

The general rule is that a decoder must understand what had been
Expand All @@ -55,7 +55,7 @@ of interoperability between dencoders:

* ``n-2`` for dencoding between daemons,
* ``n-3`` hard requirement for client-involved scenarios,
* ``n-3..`` soft requirements for clinet-involved scenarios. Ideally
* ``n-3..`` soft requirements for client-involved scenarios. Ideally
every client should be able to talk any version of daemons.

As the underlying reasons are the same, the rules dencoders
Expand Down Expand Up @@ -163,7 +163,7 @@ macro.
The append-extendability of our dencoders is a result of the forward
compatibility that the ``ENCODE_START`` and ``DECODE_FINISH`` macros bring.

They are implementing extendibility facilities. An encoder, when filling
They are implementing extensibility facilities. An encoder, when filling
the bufferlist, prepends three fields: version of the current format,
minimal version of a decoder compatible with it and the total size of
all encoded fields.
Expand Down

0 comments on commit 9f43c67

Please sign in to comment.