You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #17304: refactor: Move many functions into LegacyScriptPubKeyMan and further separate it from CWallet
152b0a0 Refactor: Move nTimeFirstKey accesses out of CWallet (Andrew Chow)
7ef47b8 Refactor: Move GetKeypoolSize code out of CWallet (Andrew Chow)
089e17d Refactor: Move RewriteDB code out of CWallet (Andrew Chow)
0eac708 Refactor: Move SetupGeneration code out of CWallet (Andrew Chow)
f45d12b Refactor: Move HavePrivateKeys code out of CWallet::CreateWalletFromFile (Andrew Chow)
8b0d82b Refactor: Move Upgrade code out of CWallet::CreateWalletFromFile (Andrew Chow)
46865ec Refactor: Move MarkUnusedAddresses code out of CWallet::AddToWalletIfInvolvingMe (Andrew Chow)
a18edd7 Refactor: Move GetMetadata code out of getaddressinfo (Andrew Chow)
9716bbe Refactor: Move LoadKey LegacyScriptPubKeyMan method definition (Andrew Chow)
67be6b9 Refactor: Move SetAddressBookWithDB call out of LegacyScriptPubKeyMan::ImportScriptPubKeys (Andrew Chow)
fc2867f refactor: Replace UnsetWalletFlagWithDB with UnsetBlankWalletFlag in ScriptPubKeyMan (Andrew Chow)
78e7cbc Refactor: Remove UnsetWalletFlag call from LegacyScriptPubKeyMan::SetHDSeed (Andrew Chow)
0391aba Remove SetWalletFlag from WalletStorage (Andrew Chow)
4c5491f Refactor: Move SetWalletFlag out of LegacyScriptPubKeyMan::UpgradeKeyMetadata (Andrew Chow)
769acef Refactor: Move SetAddressBook call out of LegacyScriptPubKeyMan::GetNewDestination (Andrew Chow)
acedc5b Refactor: Add new ScriptPubKeyMan virtual methods (Andrew Chow)
533d8b3 Refactor: Declare LegacyScriptPubKeyMan methods as virtual (Andrew Chow)
b4cb18b MOVEONLY: Reorder LegacyScriptPubKeyMan methods (Andrew Chow)
Pull request description:
Moves several more key management and metadata functions into LegacyScriptPubKeyMan from CWallet to further separate the two.
Note to reviewers: All of the `if (auto spk_man = walletInstance->m_spk_man.get()) {` blocks will be replaced with for loops in the next PR so you may see some things in those blocks that don't necessarily make sense with an `if` but will with a `for`.
ACKs for top commit:
laanwj:
code review ACK 152b0a0
Sjors:
re-ACK 152b0a0
promag:
Code review ACK 152b0a0.
Tree-SHA512: ff9872a3ef818922166cb15d72363004ec184e1015a3928a66091bddf48995423602ccd7e55b814de85d25ad7c69058280b1fde2e633570c680dc7d6084b3122
0 commit comments