Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/test/app/CrossingLimits_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ class CrossingLimits_test : public beast::unit_test::suite
// offers unfunded.
// b. Carol's remaining 800 offers are consumed as unfunded.
// c. 199 of alice's XRP(1) to USD(3) offers are consumed.
// A book step is allowed to consume a maxium of 1000 offers
// A book step is allowed to consume a maximum of 1000 offers
// at a given quality, and that limit is now reached.
// d. Now the strand is dry, even though there are still funded
// XRP(1) to USD(3) offers available.
Expand Down Expand Up @@ -384,7 +384,7 @@ class CrossingLimits_test : public beast::unit_test::suite
// offers unfunded.
// b. Carol's remaining 800 offers are consumed as unfunded.
// c. 199 of alice's XRP(1) to USD(3) offers are consumed.
// A book step is allowed to consume a maxium of 1000 offers
// A book step is allowed to consume a maximum of 1000 offers
// at a given quality, and that limit is now reached.
// d. Now the strand is dry, even though there are still funded
// XRP(1) to USD(3) offers available. Bob has spent 400 EUR and
Expand Down
2 changes: 1 addition & 1 deletion src/test/app/Offer_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1295,7 +1295,7 @@ class OfferBaseUtil_test : public beast::unit_test::suite
testNegativeBalance(FeatureBitset features)
{
// This test creates an offer test for negative balance
// with transfer fees and miniscule funds.
// with transfer fees and minuscule funds.
testcase("Negative Balance");

using namespace jtx;
Expand Down
4 changes: 2 additions & 2 deletions src/test/app/RCLValidations_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ class RCLValidations_test : public beast::unit_test::suite
BEAST_EXPECT(trie.branchSupport(ledg_258) == 4);

// Move three of the s258 ledgers to s259, which splits the trie
// due to the 256 ancestory limit
// due to the 256 ancestry limit
BEAST_EXPECT(trie.remove(ledg_258, 3));
trie.insert(ledg_259, 3);
trie.getPreferred(1);
Expand All @@ -275,7 +275,7 @@ class RCLValidations_test : public beast::unit_test::suite
// then verify the remove call works
// past bug: remove had assumed the first child of a node in the trie
// which matches is the *only* child in the trie which matches.
// This is **NOT** true with the limited 256 ledger ancestory
// This is **NOT** true with the limited 256 ledger ancestry
// quirk of RCLValidation and prevents deleting the old support
// for ledger 257

Expand Down
2 changes: 1 addition & 1 deletion src/test/app/TxQ_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3821,7 +3821,7 @@ class TxQPosNegFlows_test : public beast::unit_test::suite
return result;
};

testcase("straightfoward positive case");
testcase("straightforward positive case");
{
// Queue up some transactions at a too-low fee.
auto aliceSeq = env.seq(alice);
Expand Down
4 changes: 2 additions & 2 deletions src/test/csf/Histogram.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ namespace csf {
- Comparison : T a, b; bool res = a < b
- Addition: T a, b; T c = a + b;
- Multiplication : T a, std::size_t b; T c = a * b;
- Divison: T a; std::size_t b; T c = a/b;
- Division: T a; std::size_t b; T c = a/b;


*/
template <class T, class Compare = std::less<T>>
class Histogram
{
// TODO: Consider logarithimic bins around expected median if this becomes
// TODO: Consider logarithmic bins around expected median if this becomes
// unscaleable
std::map<T, std::size_t, Compare> counts_;
std::size_t samples = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/test/csf/submitters.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ struct Rate
/** Submits transactions to a specified peer

Submits successive transactions beginning at start, then spaced according
to succesive calls of distribution(), until stop.
to successive calls of distribution(), until stop.

@tparam Distribution is a `UniformRandomBitGenerator` from the STL that
is used by random distributions to generate random samples
Expand Down
2 changes: 1 addition & 1 deletion src/xrpld/rpc/detail/TransactionSign.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ checkPayment(
app);
if (pf.findPaths(app.config().PATH_SEARCH_OLD))
{
// 4 is the maxium paths
// 4 is the maximum paths
pf.computePathRanks(4);
STPath fullLiquidityPath;
STPathSet paths;
Expand Down