File tree Expand file tree Collapse file tree 7 files changed +10
-10
lines changed Expand file tree Collapse file tree 7 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -303,7 +303,7 @@ class CrossingLimits_test : public beast::unit_test::suite
303303 // offers unfunded.
304304 // b. Carol's remaining 800 offers are consumed as unfunded.
305305 // c. 199 of alice's XRP(1) to USD(3) offers are consumed.
306- // A book step is allowed to consume a maxium of 1000 offers
306+ // A book step is allowed to consume a maximum of 1000 offers
307307 // at a given quality, and that limit is now reached.
308308 // d. Now the strand is dry, even though there are still funded
309309 // XRP(1) to USD(3) offers available.
@@ -384,7 +384,7 @@ class CrossingLimits_test : public beast::unit_test::suite
384384 // offers unfunded.
385385 // b. Carol's remaining 800 offers are consumed as unfunded.
386386 // c. 199 of alice's XRP(1) to USD(3) offers are consumed.
387- // A book step is allowed to consume a maxium of 1000 offers
387+ // A book step is allowed to consume a maximum of 1000 offers
388388 // at a given quality, and that limit is now reached.
389389 // d. Now the strand is dry, even though there are still funded
390390 // XRP(1) to USD(3) offers available. Bob has spent 400 EUR and
Original file line number Diff line number Diff line change @@ -1295,7 +1295,7 @@ class OfferBaseUtil_test : public beast::unit_test::suite
12951295 testNegativeBalance (FeatureBitset features)
12961296 {
12971297 // This test creates an offer test for negative balance
1298- // with transfer fees and miniscule funds.
1298+ // with transfer fees and minuscule funds.
12991299 testcase (" Negative Balance" );
13001300
13011301 using namespace jtx ;
Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ class RCLValidations_test : public beast::unit_test::suite
254254 BEAST_EXPECT (trie.branchSupport (ledg_258) == 4 );
255255
256256 // Move three of the s258 ledgers to s259, which splits the trie
257- // due to the 256 ancestory limit
257+ // due to the 256 ancestry limit
258258 BEAST_EXPECT (trie.remove (ledg_258, 3 ));
259259 trie.insert (ledg_259, 3 );
260260 trie.getPreferred (1 );
@@ -275,7 +275,7 @@ class RCLValidations_test : public beast::unit_test::suite
275275 // then verify the remove call works
276276 // past bug: remove had assumed the first child of a node in the trie
277277 // which matches is the *only* child in the trie which matches.
278- // This is **NOT** true with the limited 256 ledger ancestory
278+ // This is **NOT** true with the limited 256 ledger ancestry
279279 // quirk of RCLValidation and prevents deleting the old support
280280 // for ledger 257
281281
Original file line number Diff line number Diff line change @@ -3821,7 +3821,7 @@ class TxQPosNegFlows_test : public beast::unit_test::suite
38213821 return result;
38223822 };
38233823
3824- testcase (" straightfoward positive case" );
3824+ testcase (" straightforward positive case" );
38253825 {
38263826 // Queue up some transactions at a too-low fee.
38273827 auto aliceSeq = env.seq (alice);
Original file line number Diff line number Diff line change @@ -18,14 +18,14 @@ namespace csf {
1818 - Comparison : T a, b; bool res = a < b
1919 - Addition: T a, b; T c = a + b;
2020 - Multiplication : T a, std::size_t b; T c = a * b;
21- - Divison : T a; std::size_t b; T c = a/b;
21+ - Division : T a; std::size_t b; T c = a/b;
2222
2323
2424*/
2525template <class T , class Compare = std::less<T>>
2626class Histogram
2727{
28- // TODO: Consider logarithimic bins around expected median if this becomes
28+ // TODO: Consider logarithmic bins around expected median if this becomes
2929 // unscaleable
3030 std::map<T, std::size_t , Compare> counts_;
3131 std::size_t samples = 0 ;
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ struct Rate
3131/* * Submits transactions to a specified peer
3232
3333 Submits successive transactions beginning at start, then spaced according
34- to succesive calls of distribution(), until stop.
34+ to successive calls of distribution(), until stop.
3535
3636 @tparam Distribution is a `UniformRandomBitGenerator` from the STL that
3737 is used by random distributions to generate random samples
Original file line number Diff line number Diff line change @@ -277,7 +277,7 @@ checkPayment(
277277 app);
278278 if (pf.findPaths (app.config ().PATH_SEARCH_OLD ))
279279 {
280- // 4 is the maxium paths
280+ // 4 is the maximum paths
281281 pf.computePathRanks (4 );
282282 STPath fullLiquidityPath;
283283 STPathSet paths;
You can’t perform that action at this time.
0 commit comments