AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Informational 17 Bitcoin

wallet: change dev_listaddrs to also list bip86 addresses

Public commit record

What the developer wrote

Authored by Sangbida Chaudhuri

83/100 · Strong
wallet: change dev_listaddrs to also list bip86 addresses

listaddrs is dev only and used in tests so it's okay if we change the API here, the usage is by positional arguments in tests so we're okay. Also changing est_option_upfront_shutdown_script to handle both old hsmsecret and the newer mnemonic one.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
The short version

What changed, and why it matters

This is a small developer-only change to a wallet debugging command. It makes the internal `dev_listaddrs` tool also work with newer BIP86-style wallets (mnemonic/seed-based), instead of only older BIP32-style wallets. There is no direct evidence this fixes an exploitable security bug; it appears to be a compatibility/API improvement for tests.

Recommended action

No immediate security action required. Reviewers should verify that callers of `dev_listaddrs` in tests and any developer tooling are updated to use the renamed `max_index` parameter, and that `bip86_pubkey` and `bip86_max_index` are correctly initialized for BIP86 wallets.

Security signals we found

01

Developer-only RPC command changed (dev_listaddrs)

02

Adds BIP86 derivation path support alongside legacy BIP32

03

Parameter renamed, potentially breaking for callers using the old name

04

No input validation, memory, or authorization changes visible

Risk score

Why this scored 17/100

Our methodology →
Potential impact 2/30
Exploitability 1/25
Stealth signal 1/15
Affected reach 2/15
Confidence 8/10
Evidence quality 3/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.