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