Skip to content
Bitcoin Roots

v31.1-roots.1 · Commit 6: [PATCH 06/17] feat(wallet): preserve Roots signing and spend controls on v31

src/qt/sendcoinsdialog.h

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

File metadata
index e1b4a156ab1432675aa15c6aa55f40cf7809d4fa..bfae0f5dbdac595e781e78ddb4e21891376084d2 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();
123
127
 
124
128
  Q_SIGNALS:
125
129
  // Fired when a message should be reported to the user