Partial backport of Core PR 10244
https://github.com/bitcoin/bitcoin/pull/10244/commits/58845587e11140e81f087a74c3db76a4d1fc3a1a
Progress towards T417
Depends on D2886
Details
Details
- Reviewers
deadalnix Fabien - Group Reviewers
Restricted Project - Commits
- rSTAGINGd80fb0a9f1e3: Remove direct bitcoin calls from qt transaction table files
rABCd80fb0a9f1e3: Remove direct bitcoin calls from qt transaction table files
make check
ninja check
bitcoin-qt # sanity checks on transaction details
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
src/interfaces/wallet.cpp | ||
---|---|---|
87 ↗ | (On Diff #8299) | You can use LookupBlockIndex() here. |
268 ↗ | (On Diff #8299) | OK The lock is here. So maybe add an AssertLockHeld(cs_main) in MakeWalletTxStatus() ? |
src/qt/bitcoin.cpp | ||
28 ↗ | (On Diff #8299) | i comes befors q |
src/qt/recentrequeststablemodel.cpp | ||
5 ↗ | (On Diff #8299) | You updated the .h to angle brackets, don't you want to update the .cpp as well ? |
src/qt/recentrequeststablemodel.h | ||
8 ↗ | (On Diff #8299) | <qt/walletmodel.h> |
src/qt/transactiondesc.cpp | ||
7 ↗ | (On Diff #8299) | Please sort with the others for consistency |
src/qt/transactionrecord.cpp | ||
74 ↗ | (On Diff #8299) | Braces |
75 ↗ | (On Diff #8299) | Dito |
80 ↗ | (On Diff #8299) | Dito |
81 ↗ | (On Diff #8299) | Dito |
src/qt/transactiontablemodel.cpp | ||
7 ↗ | (On Diff #8299) | Sort them with others for consistency |
src/interfaces/wallet.cpp | ||
---|---|---|
87 ↗ | (On Diff #8299) | good idea. |
268 ↗ | (On Diff #8299) | LookupBlockIndex already calls AssertLockHeld, so we're good. killed two birds with one stone :) |
src/qt/bitcoin.cpp | ||
28 ↗ | (On Diff #8299) | Looks like the #ifdef broke up the sorting. I'll move it down to its own section. |
src/qt/recentrequeststablemodel.cpp | ||
5 ↗ | (On Diff #8299) | Yes, thanks for flagging. |