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. Before is on the left; after is on the right. Unified view fits narrow screens more easily.
src/qt/sendcoinsdialog.h
CHANGED
|
@@ -72,6 +72,7 @@ private:
|
|
| 72 |
std::unique_ptr<WalletModelTransaction> m_current_transaction;
|
| 73 |
bool fNewRecipientAllowed{true};
|
| 74 |
bool fFeeMinimized{true};
|
|
|
|
| 75 |
const PlatformStyle *platformStyle;
|
| 76 |
|
| 77 |
// Copy PSBT to clipboard and offer to save it.
|
|
@@ -92,6 +93,8 @@ private:
|
|
| 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 updateFeeMinimizedLabel();
|
| 96 |
void updateCoinControlState();
|
| 97 |
|
|
@@ -120,6 +123,7 @@ private Q_SLOTS:
|
|
| 120 |
void updateFeeSectionControls();
|
| 121 |
void updateNumberOfBlocks(int count, const QDateTime& blockDate, double nVerificationProgress, SyncType synctype, SynchronizationState sync_state);
|
| 122 |
void updateSmartFeeLabel();
|
|
|
|
| 123 |
|
| 124 |
Q_SIGNALS:
|
| 125 |
// Fired when a message should be reported to the user
|
|
|
|
| 72 |
std::unique_ptr<WalletModelTransaction> m_current_transaction;
|
| 73 |
bool fNewRecipientAllowed{true};
|
| 74 |
bool fFeeMinimized{true};
|
| 75 |
+
bool m_sending{false};
|
| 76 |
const PlatformStyle *platformStyle;
|
| 77 |
|
| 78 |
// Copy PSBT to clipboard and offer to save it.
|
|
|
|
| 93 |
* @returns false if any failure occurred, which may include the user rejection of a transaction on the device.
|
| 94 |
*/
|
| 95 |
bool signWithExternalSigner(PartiallySignedTransaction& psbt, CMutableTransaction& mtx, bool& complete);
|
| 96 |
+
void appendCoinControlSummary(QString& text) const;
|
| 97 |
+
void invalidateSendPreview();
|
| 98 |
void updateFeeMinimizedLabel();
|
| 99 |
void updateCoinControlState();
|
| 100 |
|
|
|
|
| 123 |
void updateFeeSectionControls();
|
| 124 |
void updateNumberOfBlocks(int count, const QDateTime& blockDate, double nVerificationProgress, SyncType synctype, SynchronizationState sync_state);
|
| 125 |
void updateSmartFeeLabel();
|
| 126 |
+
void walletChanged(const interfaces::WalletBalances& balances);
|
| 127 |
|
| 128 |
Q_SIGNALS:
|
| 129 |
// Fired when a message should be reported to the user
|