File: fix-typos.patch

package info (click to toggle)
feather-wallet 2.8.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 64,380 kB
  • sloc: cpp: 231,721; ansic: 40,691; asm: 16,356; sh: 7,882; python: 7,373; makefile: 672; lisp: 484; perl: 205; xml: 101; awk: 67; pascal: 52
file content (111 lines) | stat: -rw-r--r-- 7,811 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
Description: Fix varios typos.
From: Soren Stoutner <soren@debian.org>
Forwarded: https://github.com/monero-project/monero/pull/9565
           https://github.com/abumq/easyloggingpp/pull/857
Last-Update: 2025-11-08

--- a/monero/src/device_trezor/device_trezor.cpp
+++ b/monero/src/device_trezor/device_trezor.cpp
@@ -511,7 +511,7 @@ namespace trezor {
                                 tools::wallet2::signed_tx_set & signed_tx,
                                 hw::tx_aux_data & aux_data)
     {
-      CHECK_AND_ASSERT_THROW_MES(std::get<0>(unsigned_tx.transfers) == 0, "Unsuported non zero offset");
+      CHECK_AND_ASSERT_THROW_MES(std::get<0>(unsigned_tx.transfers) == 0, "Unsupported non zero offset");
 
       TREZOR_AUTO_LOCK_CMD();
       require_connected();
--- a/monero/external/easylogging++/easylogging++.cc
+++ b/monero/external/easylogging++/easylogging++.cc
@@ -369,7 +369,7 @@ Configurations::Configurations(const std
 }
 
 bool Configurations::parseFromFile(const std::string& configurationFile, Configurations* base) {
-  // We initial assertion with true because if we have assertion diabled, we want to pass this
+  // We initial assertion with true because if we have assertion disabled, we want to pass this
   // check and if assertion is enabled we will have values re-assigned any way.
   bool assertionPassed = true;
   ELPP_ASSERT((assertionPassed = base::utils::File::pathExists(configurationFile.c_str(), true)) == true,
@@ -1954,7 +1954,7 @@ bool RegisteredHitCounters::validateEver
 }
 
 /// @brief Validates counter for hits >= N, i.e, registers new if does not exist otherwise updates original one
-/// @return True if validation resulted in triggering hit. Meaning logs should be written everytime true is returned
+/// @return True if validation resulted in triggering hit. Meaning logs should be written every time true is returned
 bool RegisteredHitCounters::validateAfterN(const char* filename, base::type::LineNumber lineNumber, std::size_t n) {
   base::threading::ScopedLock scopedLock(lock());
   base::HitCounter* counter = get(filename, lineNumber);
@@ -1971,7 +1971,7 @@ bool RegisteredHitCounters::validateAfte
 }
 
 /// @brief Validates counter for hits are <= n, i.e, registers new if does not exist otherwise updates original one
-/// @return True if validation resulted in triggering hit. Meaning logs should be written everytime true is returned
+/// @return True if validation resulted in triggering hit. Meaning logs should be written every time true is returned
 bool RegisteredHitCounters::validateNTimes(const char* filename, base::type::LineNumber lineNumber, std::size_t n) {
   base::threading::ScopedLock scopedLock(lock());
   base::HitCounter* counter = get(filename, lineNumber);
--- a/monero/external/easylogging++/easylogging++.h
+++ b/monero/external/easylogging++/easylogging++.h
@@ -2156,15 +2156,15 @@ class HitCounter {
 class RegisteredHitCounters : public base::utils::RegistryWithPred<base::HitCounter, base::HitCounter::Predicate> {
  public:
   /// @brief Validates counter for every N, i.e, registers new if does not exist otherwise updates original one
-  /// @return True if validation resulted in triggering hit. Meaning logs should be written everytime true is returned
+  /// @return True if validation resulted in triggering hit. Meaning logs should be written every time true is returned
   bool validateEveryN(const char* filename, base::type::LineNumber lineNumber, std::size_t n);
 
   /// @brief Validates counter for hits >= N, i.e, registers new if does not exist otherwise updates original one
-  /// @return True if validation resulted in triggering hit. Meaning logs should be written everytime true is returned
+  /// @return True if validation resulted in triggering hit. Meaning logs should be written every time true is returned
   bool validateAfterN(const char* filename, base::type::LineNumber lineNumber, std::size_t n);
 
   /// @brief Validates counter for hits are <= n, i.e, registers new if does not exist otherwise updates original one
-  /// @return True if validation resulted in triggering hit. Meaning logs should be written everytime true is returned
+  /// @return True if validation resulted in triggering hit. Meaning logs should be written every time true is returned
   bool validateNTimes(const char* filename, base::type::LineNumber lineNumber, std::size_t n);
 
   /// @brief Gets hit counter registered at specified position
--- a/external/feather-docs/content/_guides/nodes.md
+++ b/external/feather-docs/content/_guides/nodes.md
@@ -53,7 +53,7 @@ During normal use the wallet will use th
 |/get_transaction_pool_hashes.bin| Sync | Get tx hashes from transaction pool. Called every 10 seconds after main sync is finished. |
 |/get_transactions| Sync | Get pool transactions the wallet hasn't scanned before. |
 |/get_output_distribution| Tx Construction | Output distribution used in decoy selection. Data is hashed and checked against a hardcoded value to mitigate against output distribution poisoning.<br>In Feather, the distribution is requested and cached immediately upon finishing wallet synchronization to cut bandwidth requirements for transaction construction by an order of magnitude. |
-|/get_outs.bin| Tx Construction | Request output public keys for selected indeces of ring members. The wallet cannot verify the validity of the public keys, except for the true input. Feather will show a warning if the true input is missing from the response. |
+|/get_outs.bin| Tx Construction | Request output public keys for selected indices of ring members. The wallet cannot verify the validity of the public keys, except for the true input. Feather will show a warning if the true input is missing from the response. |
 |get_fee_estimate| Tx Construction | Get base transaction fee. Malicious nodes can introduce a fungibility defect by providing an incorrect fee estimate. |
 |hard_fork_info | Tx Construction | Get information about hard fork state. |
 |/send_raw_transaction | Tx Broadcast | Instruct the node to broadcast the transcation to the network. |
--- a/monero/src/multisig/multisig_account.h
+++ b/monero/src/multisig/multisig_account.h
@@ -142,7 +142,7 @@ namespace multisig
     const std::string& get_next_kex_round_msg() const { return m_next_round_kex_message; }
 
   //account status functions
-    // account has been intialized, and the account holder can use the 'common' key
+    // account has been initialized, and the account holder can use the 'common' key
     bool account_is_active() const;
     // account has gone through main kex rounds, only remaining step is to verify all other participants are ready
     bool main_kex_rounds_done() const;
--- a/monero/src/wallet/wallet2.cpp
+++ b/monero/src/wallet/wallet2.cpp
@@ -6099,7 +6099,7 @@ std::string wallet2::make_multisig(const
   // add self to signers
   signers.push_back(multisig_account.get_base_pubkey());
 
-  // intialize key exchange
+  // initialize key exchange
   multisig_account.initialize_kex(threshold, signers, expanded_msgs);
   CHECK_AND_ASSERT_THROW_MES(multisig_account.account_is_active(), "Failed to activate multisig account.");
 
--- a/monero/src/multisig/multisig_account_kex_impl.cpp
+++ b/monero/src/multisig/multisig_account_kex_impl.cpp
@@ -598,7 +598,7 @@ namespace multisig
       // note: if num_signers_required == signers.size(), then this test will ensure all signers are present in 'origins',
       //       which contains only unique pubkeys
       CHECK_AND_ASSERT_THROW_MES(std::find(signers.begin(), signers.end(), origin) != signers.end(),
-        "An unknown origin recommended a multisig post-kex verification messsage.");
+        "An unknown origin recommended a multisig post-kex verification message.");
     }
 
     return pubkey_origins_map;