Skip to content

PSBT file refactoring #1993

Open
Open
@jasonandjay

Description

@jasonandjay

Background: The PSBT file contains over 2200 lines of code, too many for readers or maintainers.
I think it's necessary to refactor it. Do we have plans to separate bip371 from bitcoinjs-lib? Maybe deep dependencies with the taproot are not easily detachable.
Another way to handle this situation is to simply split psbt into psbt_interface, psbt_helper and psbt_transaction under the ts_src/psbt folder.

I prefer the last solution, other suggestions are welcome.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions