Closed yancyribbens closed 1 year ago
BTW, I added this repository to my watch list, so if you ask something here, I should also see.
@Tibo-lg I think the only downside to using a Trait instead of a struct is the increased compile time. A monomorphised type has to be constructed at compile time, although the run-time should be the same, so either is probably fine.
I believe this PR is ready to merge. Any objections @Tibo-lg ?
Hey, this keeps popping up in my notifications but doesn’t seem to be ready for review. I’ll stop following notifications here for the time being. Please feel free to ping me here again when this PR is ready for review.
Hey, this keeps popping up in my notifications but doesn’t seem to be ready for review. I’ll stop following notifications here for the time being. Please feel free to ping me here again when this PR is ready for review.
Sorry for all the noise. I think it's about ready now, however there seems to be some unrelated failure with the nightly toolchain I'm trying to figure out. Anyway, I think at this point I'll just close this PR and open a fresh one once I figure out what's going on with CI.
@Xekyo a new PR is now open here https://github.com/p2pderivatives/rust-bitcoin-coin-selection/pull/23 - cheers.
I have renamed and moved the random function to it's own module. This feature is similar to SRD in core. Also, I've added
effective_value
which is used for the sum calculation instead ofvalue
. Lastly I did some minor refactoring so that the unit sizes used in the test match core.