diff --git a/src/eth_client/libdevcrypto/Common.h b/src/eth_client/libdevcrypto/Common.h index fa6c87b256..0abedd2171 100644 --- a/src/eth_client/libdevcrypto/Common.h +++ b/src/eth_client/libdevcrypto/Common.h @@ -113,7 +113,7 @@ inline bytesSec decryptSymNoAuth(SecureFixedHash<32> const& _k, h128 const& _iv, /// Recovers Public key from signed message hash. Public recover(Signature const& _sig, h256 const& _hash); -/// Returns siganture of message hash. +/// Returns signature of message hash. Signature sign(Secret const& _k, h256 const& _hash); /// Verify signature. diff --git a/src/eth_client/libethereum/ExtVM.cpp b/src/eth_client/libethereum/ExtVM.cpp index 5c977cea13..12abb167a8 100644 --- a/src/eth_client/libethereum/ExtVM.cpp +++ b/src/eth_client/libethereum/ExtVM.cpp @@ -36,7 +36,7 @@ static unsigned const c_offloadPoint = (c_defaultStackSize - c_entryOverhead) / void goOnOffloadedStack(Executive& _e, OnOpFunc const& _onOp) { - // Set new stack size enouth to handle the rest of the calls up to the limit. + // Set new stack size enough to handle the rest of the calls up to the limit. boost::thread::attributes attrs; attrs.set_stack_size((c_depthLimit - c_offloadPoint) * c_singleExecutionStackSize); diff --git a/src/minisketch/src/sketch_impl.h b/src/minisketch/src/sketch_impl.h index 4547b742f2..e9f18a9b87 100644 --- a/src/minisketch/src/sketch_impl.h +++ b/src/minisketch/src/sketch_impl.h @@ -217,7 +217,7 @@ bool RecFindRoots(std::vector>& stack, size_t pos, } if (fully_factorizable) { - // Every succesful iteration of this algorithm splits the input + // Every successful iteration of this algorithm splits the input // polynomial further into buckets, each corresponding to a subset // of 2^(BITS-depth) roots. If after depth splits the degree of // the polynomial is >= 2^(BITS-depth), something is wrong. diff --git a/src/node/miner.cpp b/src/node/miner.cpp index 3ad173e40b..6734fdb2b8 100644 --- a/src/node/miner.cpp +++ b/src/node/miner.cpp @@ -1960,7 +1960,7 @@ class StakeMiner : public IStakeMiner } if (d->pblockfilled->GetBlockTime() > FutureDrift(GetAdjustedTimeSeconds(), d->nHeight, d->consensusParams)) { if (d->fAggressiveStaking) { - //if being agressive, then check more often to publish immediately when valid. This might allow you to find more blocks, + //if being aggressive, then check more often to publish immediately when valid. This might allow you to find more blocks, //but also increases the chance of broadcasting invalid blocks and getting DoS banned by nodes, //or receiving more stale/orphan blocks than normal. Use at your own risk. if(!Sleep(100)) break; diff --git a/src/pos.cpp b/src/pos.cpp index ba1b37ef9c..52e46ba839 100644 --- a/src/pos.cpp +++ b/src/pos.cpp @@ -727,7 +727,7 @@ bool GetMPoSOutputs(std::vector& mposOutputList, int64_t nRewardPiece, i int64_t nRewardDelegate, nRewardStaker; if(!SplitOfflineStakeReward(nRewardPiece, blockScript.fee, nRewardDelegate, nRewardStaker)) { - LogPrint(BCLog::COINSTAKE, "Fail to to split the offline staking reward\n"); + LogPrint(BCLog::COINSTAKE, "Fail to split the offline staking reward\n"); return false; }