Skip to content

Conversation

@JustinBeBoy
Copy link
Contributor

Close #3475

This PR:

  • Migrated BTC testing harness from legacy wallets to descriptor wallets to be compatible with Bitcoin Core v26.0.0+ (tested up to v30.2)

@JustinBeBoy JustinBeBoy marked this pull request as ready for review January 17, 2026 04:55
Copilot AI review requested due to automatic review settings January 17, 2026 04:55
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates the BTC testing harness from legacy wallets to descriptor wallets for compatibility with Bitcoin Core v26.0.0+ and tested up to v30.2. The migration removes legacy wallet seed management and introduces a new script for regenerating descriptor files with correct checksums.

Changes:

  • Replaced legacy wallet seeds with descriptor wallet configuration files (desc-*.json)
  • Changed default wallet creation to use descriptor wallets (descriptors=true by default)
  • Added gen-descriptors.sh script to regenerate descriptor files when needed
  • Updated documentation to reflect descriptor wallet usage and removed references to legacy seed management

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
dex/testing/btc/harness.sh Removed legacy wallet seeds and deprecated variables; updated mining addresses for new descriptor wallets; changed default wallet type to descriptors; bumped harness version to 3
dex/testing/btc/gen-descriptors.sh New utility script to generate descriptor JSON files with correct checksums using Bitcoin Core RPC
dex/testing/btc/desc-alpha.json New descriptor wallet configuration for alpha wallet with BIP44/49/84/86 support
dex/testing/btc/desc-beta.json Updated descriptor wallet configuration for beta wallet
dex/testing/btc/desc-gamma.json Updated descriptor wallet configuration for gamma wallet
dex/testing/btc/desc-delta.json New descriptor wallet configuration for delta wallet
dex/testing/btc/README.md Updated documentation to reflect four wallets, descriptor wallet usage, and added instructions for regenerating descriptor files

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Address review comment: document python3 dependency in script header.
@JustinBeBoy JustinBeBoy force-pushed the fix_testing_btc_harness branch from 414e1d6 to 3e24636 Compare January 17, 2026 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BTC testing harness wallets have zero balances (or don't exist)

1 participant