Skip to content

Commit

Permalink
Linter spellcheck corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescowens committed Feb 3, 2024
1 parent b7f7fe7 commit d0e8231
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/gridcoin/beacon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1313,7 +1313,7 @@ template<> void BeaconRegistry::BeaconDB::HandleCurrentHistoricalEntries(GRC::Be
}

if (entry.m_status == BeaconStatusForStorage::ACTIVE) {
// Note that in the orginal activation, all the activations happen for a superblock, and then the expired_entry set is
// Note that in the original activation, all the activations happen for a superblock, and then the expired_entry set is
// cleared and then new expired entries recorded from the just committed SB. This method operates at the record level, but
// clearing the expired_entries for each ACTIVE record posting will achieve the same effect, because the entries are ordered
// the proper way. It is a little bit of undesired work, but it is not worth the complexity of feeding the boundaries
Expand Down
2 changes: 1 addition & 1 deletion src/gridcoin/contract/registry_db.h
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ class RegistryDB
}

//!
//! \brief Handles the passivation of previous historical entries that have been superceded by current entries.
//! \brief Handles the passivation of previous historical entries that have been superseded by current entries.
//!
//! \param historical_entry_ptr. Shared smart pointer to current historical entry already inserted into historical map.
//!
Expand Down
6 changes: 3 additions & 3 deletions src/gridcoin/md5.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercial use as long as
* the following conditions are aheared to. The following conditions
* the following conditions are adhered to. The following conditions
* apply to all code found in this distribution, be it the RC4, RSA,
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
* included with this distribution is covered by the same copyright terms
Expand All @@ -31,7 +31,7 @@
* must display the following acknowledgement:
* "This product includes cryptographic software written by
* Eric Young ([email protected])"
* The word 'cryptographic' can be left out if the rouines from the library
* The word 'cryptographic' can be left out if the routines from the library
* being used are not cryptographic related :-).
* 4. If you include any Windows specific code (or a derivative thereof) from
* the apps directory (application code) you must include an acknowledgement:
Expand All @@ -49,7 +49,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* The licence and distribution terms for any publically available version or
* The licence and distribution terms for any publicly available version or
* derivative of this code cannot be changed. i.e. this code cannot simply be
* copied and put under another distribution licence
* [including the GNU Public Licence.] */
Expand Down
2 changes: 1 addition & 1 deletion src/miner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@ void SplitCoinStakeOutput(CBlock &blocknew, int64_t &nReward, bool &fEnableStake
CScript SideStakeScriptPubKey;
GRC::Allocation SumAllocation;

// Lambda for sidestake allocation. This iterates throught the provided sidestake vector until either all elements processed,
// Lambda for sidestake allocation. This iterates through the provided sidestake vector until either all elements processed,
// the maximum number of sidestake outputs is reached via the provided output_limit, or accumulated allocation will exceed 100%.
const auto allocate_sidestakes = [&](SideStakeAlloc sidestakes, unsigned int output_limit) {
for (auto iterSideStake = sidestakes.begin();
Expand Down
2 changes: 1 addition & 1 deletion src/random.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ constexpr auto GetRandMillis = GetRandomDuration<std::chrono::milliseconds>;
* is memoryless and should be used for repeated network events (e.g. sending a
* certain type of message) to minimize leaking information to observers.
*
* The probability of an event occuring before time x is 1 - e^-(x/a) where a
* The probability of an event occurring before time x is 1 - e^-(x/a) where a
* is the average interval between events.
* */
std::chrono::microseconds GetExponentialRand(std::chrono::microseconds now, std::chrono::seconds average_interval);
Expand Down
2 changes: 1 addition & 1 deletion src/test/xxd/xxd.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* 7.06.96 -i printed 'int' instead of 'char'. *blush*
* added Bram's OS2 ifdefs...
* 18.07.96 gcc -Wall @ SunOS4 is now silent.
* Added osver for MSDOS/DJGPP/WIN32.
* Added osver for MS-DOS/DJGPP/WIN32.
* 29.08.96 Added size_t to strncmp() for Amiga.
* 24.03.97 Windows NT support (Phil Hanna). Clean exit for Amiga WB (Bram)
* 02.04.97 Added -E option, to have EBCDIC translation instead of ASCII
Expand Down

0 comments on commit d0e8231

Please sign in to comment.