Partial backport of Core PR 10244
https://github.com/bitcoin/bitcoin/pull/10244/commits/a0704a8996bb950ae3c4d5b5a30e9dfe34cde1d3
Progress towards T417
Depends on D2871, D2876
Details
- Reviewers
deadalnix Fabien - Group Reviewers
Restricted Project - Commits
- rSTAGINGb2b842fed456: Remove most direct bitcoin calls from qt/walletmodel.cpp
rABCb2b842fed456: Remove most direct bitcoin calls from qt/walletmodel.cpp
make check
ninja check
bitcoin-qt # sanity checks; perform transactions and make sure affected dialog boxes behave as expected
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- walletmodel
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 5596 Build 9254: Bitcoin ABC Buildbot (legacy) Build 9253: arc lint + arc unit
Event Timeline
src/interfaces/node.h | ||
---|---|---|
151 ↗ | (On Diff #8259) | getTxConfirmTarget was left out because confirm target is not supported |
src/interfaces/wallet.cpp | ||
19 ↗ | (On Diff #8259) |
|
src/interfaces/wallet.h | ||
149 ↗ | (On Diff #8259) | Address type and change type do not exist in ABC. |
src/qt/sendcoinsdialog.cpp | ||
223 ↗ | (On Diff #8259) | nConfTarget no longer supported |
src/qt/transactionview.cpp | ||
416 ↗ | (On Diff #8259) | bumping txs (RBF) isn't supported by ABC |
src/qt/walletmodel.cpp | ||
256 ↗ | (On Diff #8259) | Removed parentheses even though the original PR didn't because the locks no longer exist and there's no reason to maintain limited scope here. |
301 ↗ | (On Diff #8259) | Removed parentheses even though the original PR didn't because the locks no longer exist and there's no reason to maintain limited scope here. |
src/qt/walletmodel.h | ||
218 ↗ | (On Diff #8259) | ABC doesn't support bumping fees, bumping txs, or conf target. |
src/qt/walletmodeltransaction.cpp | ||
23 ↗ | (On Diff #8259) | Virtual size is for segwit, which ABC doesn't support |
src/qt/transactionview.cpp | ||
---|---|---|
373 | Done. | |
src/qt/walletmodel.cpp | ||
127 | I went ahead and cleaned this up because it was tightly related to the chain I described in the below comment(s). | |
187 | Required. See comment below. | |
227 | I did this to match the original PR for reduced merge conflicts. It fits within our linting rules, so I left it. | |
280 | Required. See comment below. | |
503 | Required. See comment below. | |
527 | This is subtle, but necessary. wallet -> m_wallet changed type in addition to naming. m_wallet doesn't have direct access to chainparams. |
src/qt/sendcoinsdialog.cpp | ||
---|---|---|
16 | This hasn't been backported yet but the looks of it? |