Skip to content

Commit

Permalink
feat: improve transaction ordering and expose compareTxOrder
Browse files Browse the repository at this point in the history
- Improved transaction ordering to ensure correct order for transactions in the same block that depend on each other
- Exposed compareTxOrder function for external transaction sorting
- Added TxoMap to map transactions outputs with corresponding indexed descriptors
- Enhanced getDescriptor performance by leveraging TxoMap
- Updated deriveDataFactory and DiscoveryFactory to handle transaction ordering and TxoMap
- Updated tests to cover new functionalities
  • Loading branch information
landabaso committed Jun 28, 2024
1 parent 0924f17 commit e31f016
Show file tree
Hide file tree
Showing 7 changed files with 310 additions and 172 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@bitcoinerlab/discovery",
"description": "A TypeScript library for retrieving Bitcoin funds from ranged descriptors, leveraging @bitcoinerlab/explorer for standardized access to multiple blockchain explorers.",
"homepage": "https://github.com/bitcoinerlab/discovery",
"version": "1.2.2",
"version": "1.2.3",
"author": "Jose-Luis Landabaso",
"license": "MIT",
"prettier": "@bitcoinerlab/configs/prettierConfig.json",
Expand Down
Loading

0 comments on commit e31f016

Please sign in to comment.