Skip to content

Conversation

@OttoAllmendinger
Copy link
Contributor

The earlier generateAddress class method was unnecessary and had a return type that was too
complex. We actually only need the address string and don't care about the rest.

Issue: BTC-2652

OttoAllmendinger and others added 4 commits October 28, 2025 14:25
Move the generateAddress function to its own module and update imports
across the codebase to maintain functionality.

Issue: BTC-2652

Co-authored-by: llm-git <llm-git@ttll.de>
…file

Move tests related to custom change wallets to their own test file for better
organization. These tests were previously part of the general abstract UTXO
coin test file.

Issue: BTC-2652

Co-authored-by: llm-git <llm-git@ttll.de>
Remove unnecessary coinSpecific variable from the custom change wallet
test that was not used.

Issue: BTC-2652

Co-authored-by: llm-git <llm-git@ttll.de>
Move the fixed-script address generation and validation code from
AbstractUtxoCoin into a separate module. This improves code organization
and reuse, making the implementation more maintainable.

Issue: BTC-2652

Co-authored-by: llm-git <llm-git@ttll.de>
@OttoAllmendinger OttoAllmendinger force-pushed the BTC-2652.remove-generateaddress branch from ae25bc6 to 394f6ee Compare October 28, 2025 13:28
OttoAllmendinger and others added 2 commits October 28, 2025 14:52
Remove unused signatureThreshold from generateAddress function as it is
not needed and only generates a potential warning.

Issue: BTC-2652

Co-authored-by: llm-git <llm-git@ttll.de>
Remove redundant threshold parameter since it is fixed at 2 for our
2-of-3 multisig scripts. Also make GenerateFixedScriptAddressOptions
interface internal since it's only used within this file.

Issue: BTC-2652

Co-authored-by: llm-git <llm-git@ttll.de>
@OttoAllmendinger OttoAllmendinger marked this pull request as ready for review October 28, 2025 14:30
@OttoAllmendinger OttoAllmendinger requested a review from a team as a code owner October 28, 2025 14:30
@OttoAllmendinger OttoAllmendinger merged commit 909c667 into master Oct 28, 2025
13 checks passed
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.

3 participants