-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat: descriptor wallets uses one extra spk for mobile derivation path for CJ #6834
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,7 +31,7 @@ class CMasterKey; | |
| class CWallet; | ||
| class CWalletTx; | ||
| struct WalletContext; | ||
|
|
||
| enum class InternalKey; | ||
| /** | ||
| * Overview of wallet database classes: | ||
| * | ||
|
|
@@ -61,6 +61,7 @@ namespace DBKeys { | |
| extern const std::string ACENTRY; | ||
| extern const std::string ACTIVEEXTERNALSPK; | ||
| extern const std::string ACTIVEINTERNALSPK; | ||
| extern const std::string ACTIVECOINJOINSPK; | ||
| extern const std::string BESTBLOCK; | ||
| extern const std::string BESTBLOCK_NOMERKLE; | ||
| extern const std::string CRYPTED_HDCHAIN; | ||
|
|
@@ -229,7 +230,7 @@ class WalletBatch | |
| /// Erase destination data tuple from wallet database | ||
| bool EraseDestData(const std::string &address, const std::string &key); | ||
|
|
||
| bool WriteActiveScriptPubKeyMan(const uint256& id, bool internal); | ||
| bool WriteActiveScriptPubKeyMan(const uint256& id, InternalKey internal); | ||
| bool EraseActiveScriptPubKeyMan(bool internal); | ||
|
|
||
|
||
| DBErrors LoadWallet(CWallet* pwallet); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forward-declared scoped enum used by value — specify underlying type or include the definition.
enum class InternalKey;is incomplete here and is used by value in a function declaration below; this can fail to compile unless the underlying type is known. Add: int(matches the default for scoped enums) or include the defining header.📝 Committable suggestion
🤖 Prompt for AI Agents