v30.3-roots.1 · Commit 26: [PATCH 26/68] feat(qt): enhance privacy-aware coin control
src/qt/sendcoinsdialog.h
Before: src/qt/sendcoinsdialog.h · After: src/qt/sendcoinsdialog.h
File metadata
index 4d5adc4ff62cced7086839ff3d40bbfa312c9bdd..e750ebe0a0a1440b001f5a580741b2147aec61c8 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
|
@@ -72,6 +72,7 @@ private:
|
|
|
72
72
|
std::unique_ptr<WalletModelTransaction> m_current_transaction;
|
|
73
73
|
bool fNewRecipientAllowed{true};
|
|
74
74
|
bool fFeeMinimized{true};
|
|
75
|
+
bool m_sending{false};
|
|
75
76
|
const PlatformStyle *platformStyle;
|
|
76
77
|
|
|
77
78
|
// Copy PSBT to clipboard and offer to save it.
|
|
@@ -92,6 +93,8 @@ private:
|
|
|
92
93
|
* @returns false if any failure occurred, which may include the user rejection of a transaction on the device.
|
|
93
94
|
*/
|
|
94
95
|
bool signWithExternalSigner(PartiallySignedTransaction& psbt, CMutableTransaction& mtx, bool& complete);
|
|
96
|
+
void appendCoinControlSummary(QString& text) const;
|
|
97
|
+
void invalidateSendPreview();
|
|
95
98
|
void updateFeeMinimizedLabel();
|
|
96
99
|
void updateCoinControlState();
|
|
97
100
|
|
|
@@ -120,6 +123,7 @@ private Q_SLOTS:
|
|
|
120
123
|
void updateFeeSectionControls();
|
|
121
124
|
void updateNumberOfBlocks(int count, const QDateTime& blockDate, double nVerificationProgress, SyncType synctype, SynchronizationState sync_state);
|
|
122
125
|
void updateSmartFeeLabel();
|
|
126
|
+
void walletChanged(const interfaces::WalletBalances& balances);
|
|
123
127
|
|
|
124
128
|
Q_SIGNALS:
|
|
125
129
|
// Fired when a message should be reported to the user
|