chore: Fix small typos in protocol files (#5279)

This commit is contained in:
code0xff
2025-02-13 22:48:48 +09:00
committed by GitHub
parent a079bac153
commit b02b8d016c
4 changed files with 4 additions and 4 deletions

View File

@@ -114,7 +114,7 @@ operator<<(std::ostream& os, AccountID const& x)
is expensive (it requires a SHA-256 operation) in most cases the overhead is expensive (it requires a SHA-256 operation) in most cases the overhead
of the cache is worth the benefit. of the cache is worth the benefit.
@param count The number of entries the cache should accomodate. Zero will @param count The number of entries the cache should accommodate. Zero will
disable the cache, releasing any memory associated with it. disable the cache, releasing any memory associated with it.
@note The function will only initialize the cache the first time it is @note The function will only initialize the cache the first time it is

View File

@@ -75,7 +75,7 @@ buildMultiSigningData(STObject const& obj, AccountID const& signingID);
The following methods support that optimization: The following methods support that optimization:
1. startMultiSigningData provides the large part which can be shared. 1. startMultiSigningData provides the large part which can be shared.
2. finishMuiltiSigningData caps the passed in serializer with each 2. finishMultiSigningData caps the passed in serializer with each
signer's unique data. signer's unique data.
*/ */
Serializer Serializer

View File

@@ -30,7 +30,7 @@ namespace ripple {
@ingroup protocol @ingroup protocol
*/ */
/** Transaction type identifieers /** Transaction type identifiers
Each ledger object requires a unique type identifier, which is stored Each ledger object requires a unique type identifier, which is stored
within the object itself; this makes it possible to iterate the entire within the object itself; this makes it possible to iterate the entire

View File

@@ -56,7 +56,7 @@
#include <sys/types.h> #include <sys/types.h>
#endif #endif
// Do we know the plaform we're compiling on? If you're adding new platforms // Do we know the platform we're compiling on? If you're adding new platforms
// modify this check accordingly. // modify this check accordingly.
#if !BOOST_OS_LINUX && !BOOST_OS_WINDOWS && !BOOST_OS_MACOS #if !BOOST_OS_LINUX && !BOOST_OS_WINDOWS && !BOOST_OS_MACOS
#error Supported platforms are: Linux, Windows and MacOS #error Supported platforms are: Linux, Windows and MacOS