Skip to content
Bitcoin Roots

v29.4-roots.4 · Commit 26: [PATCH 26/37] feat(qt): enhance privacy-aware coin control

src/qt/sendcoinsdialog.h

Before: src/qt/sendcoinsdialog.h · After: src/qt/sendcoinsdialog.h

File metadata
index 4e861e55bb3b7efcf13680e0d7b63042661991d8..608831ebed73bd94e03227afe4513899349e1c1e 100644

Download original patch · Release notes

Diff rows 1–22 of 22. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.

src/qt/sendcoinsdialog.h CHANGED
@@ -71,6 +71,7 @@ private:
71
  std::unique_ptr<WalletModelTransaction> m_current_transaction;
72
  bool fNewRecipientAllowed{true};
73
  bool fFeeMinimized{true};
 
74
  const PlatformStyle *platformStyle;
75
 
76
  // Copy PSBT to clipboard and offer to save it.
@@ -91,6 +92,8 @@ private:
91
  * @returns false if any failure occurred, which may include the user rejection of a transaction on the device.
92
  */
93
  bool signWithExternalSigner(PartiallySignedTransaction& psbt, CMutableTransaction& mtx, bool& complete);
 
 
94
  void updateFeeMinimizedLabel();
95
  void updateCoinControlState();
96
 
@@ -115,6 +118,7 @@ private Q_SLOTS:
115
  void updateFeeSectionControls();
116
  void updateNumberOfBlocks(int count, const QDateTime& blockDate, double nVerificationProgress, SyncType synctype, SynchronizationState sync_state);
117
  void updateSmartFeeLabel();
 
118
 
119
  Q_SIGNALS:
120
  // Fired when a message should be reported to the user
 
71
  std::unique_ptr<WalletModelTransaction> m_current_transaction;
72
  bool fNewRecipientAllowed{true};
73
  bool fFeeMinimized{true};
74
+ bool m_sending{false};
75
  const PlatformStyle *platformStyle;
76
 
77
  // Copy PSBT to clipboard and offer to save it.
 
92
  * @returns false if any failure occurred, which may include the user rejection of a transaction on the device.
93
  */
94
  bool signWithExternalSigner(PartiallySignedTransaction& psbt, CMutableTransaction& mtx, bool& complete);
95
+ void appendCoinControlSummary(QString& text) const;
96
+ void invalidateSendPreview();
97
  void updateFeeMinimizedLabel();
98
  void updateCoinControlState();
99
 
 
118
  void updateFeeSectionControls();
119
  void updateNumberOfBlocks(int count, const QDateTime& blockDate, double nVerificationProgress, SyncType synctype, SynchronizationState sync_state);
120
  void updateSmartFeeLabel();
121
+ void walletChanged(const interfaces::WalletBalances& balances);
122
 
123
  Q_SIGNALS:
124
  // Fired when a message should be reported to the user