Skip to content

Lower target gets better results #5

@karelbilek

Description

@karelbilek

(continuation of discussion here bitcoinjs/coinselect#13 (comment) )

When I was playing with my JS port, I found out that using "lower" target - only sum of the outputs, without the added costs of tx + outputs - I get better results.

When I tried it on your code, I get better results too. See my branch

https://github.com/runn1ng/CoinSelectionSimulator/commits/experiment_lowtarget

Yeah, it's probabilistic :), but I always get better results with the low target

You can try it yourself. What do you think is the issue, and what is the ideal target?

(By "target", I mean the value that is targeted with the branch search)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions