Adaptations in Weight Calculation Methods #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This update ensure that
@bitcoinerlab/coinselect
takes full advantage of the recent improvements in the@bitcoinerlab/descriptors
package, particularly the new weight calculation methods. This alignment enhances the performance of coin selection and transaction size estimation since it now relies on smarter caching strategies implemented in@bitcoinerlab/descriptors
.It aligns with the recent enhancements and new functionalities in weight calculation methods introduced in
@bitcoinerlab/descriptors
(PR #32).Key Changes:
Package Version and Dependencies:
@bitcoinerlab/coinselect
from version1.1.0
to1.2.0
.@bitcoinerlab/descriptors
to version2.1.0
to leverage the latest enhancements.Code Refactoring:
inputWeight
andoutputWeight
) and replaced them with the updated methods from@bitcoinerlab/descriptors
.descriptors
package.Validation and Dust Calculation Adjustments:
Test Suite Enhancements:
Updates and modifications have been appropriately commented and documented within the code.