Repository navigation
Commit f523d50
committed
1f97572 Fix `#include`s in `src/wallet` (Hennadii Stepanov)
Pull request description:
This PR is a minimum required changes to fix bitcoin#27571 (comment).
ACKs for top commit:
MarcoFalke:
lgtm ACK 1f97572
Tree-SHA512: de885210076d23f3394c42ca50e6ae2470c0ae6523399a2fa3ebb7c06383bdacef9c26166fa19747200396bed796c8772165e24416eb30ed8edd024e3394b2fe
Dash adaptations:
- src/wallet/scriptpubkeyman.h: added #include <logging.h> next to Dash's existing #include <outputtype.h> (upstream had removed outputtype.h before this PR; Dash still includes it), kept alphabetical
- src/wallet/scriptpubkeyman.h: the MigrationData struct moved here from walletutil.h is Dash's version, keeping the Dash-only fields mnemonic, mnemonic_passphrase, external_chain_counter, internal_chain_counter and their comment; upstream's copy lacks them
- src/wallet/wallet.cpp: added #include <wallet/scriptpubkeyman.h> after Dash's <wallet/platformkeys.h>; did not bring in upstream's context line <wallet/fees.h>, which Dash's wallet.cpp does not include; all Dash includes (warnings.h, coinjoin/options.h, evo/providertx.h, governance/vote.h) kept
- src/wallet/walletutil.h: removed the forward declarations and the Dash MigrationData struct as upstream does; kept Dash's own WalletDescriptor (id(DescriptorID(*descriptor)) and its existing formatting) unchanged
- ci/test/06_script_b.sh: Dash had deleted this file and upstream modified it; resolved by keeping it deleted (git rm), see omitted_hunks
Not applicable to Dash (intentionally omitted):
- ci/test/06_script_b.sh: The hunk only removes the temporary 'src/wallet/walletutil' exclusion from upstream's jq filter on compile_commands.json. Dash removed this script; its counterpart ci/dash/lint-tidy.sh has no jq filter and no walletutil exclusion (and its IWYU file list has no src/wallet files), so there is nothing to remove there.
1 parent 3240908 commit f523d50
3 files changed
Lines changed: 27 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| 31 | + | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
| |||
684 | 687 | | |
685 | 688 | | |
686 | 689 | | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
687 | 713 | | |
688 | 714 | | |
689 | 715 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | 104 | | |
130 | 105 | | |
131 | 106 | | |
0 commit comments