T3225
This diff fixes bytecount related logic and unit tests, including contextual comments.
Differential D14380
[ecash-coinselect] Fix byte count calculation logic emack on Aug 16 2023, 02:39. Authored by Tags None Subscribers None
Details
T3225 This diff fixes bytecount related logic and unit tests, including contextual comments. npm test
Diff Detail
Event TimelineThere are a very large number of changes, so older changes are hidden. Show Older Changes
Comment Actions Responding to feedback
Comment Actions Responding to feedback
Comment Actions It looks good now, so the only thing that remains is to get rid of the boilerplate. Create a function that takes the raw tx in the test to avoid repeating the comment and the asserts all over the place, and it's good to go. Comment Actions Ok, can you please split this in 2 pieces ? The actual byte count bug fix first, which should be green easily as it's been heavily reviewed here, then the input accounting for op_return in another diff based on this ? This diff has more to do with the byte count calculation than the feature change now. Also please update the title and summary accordingly. Comment Actions Code lgtm but I see there is not test on CI, can you please add the CI config for this lib ? In another diff ofc |