Add comment

This commit is contained in:
chimp1984 2021-02-18 11:44:12 -05:00
parent 097376ef07
commit 9ae76b621f
No known key found for this signature in database
GPG Key ID: 9801B4EC591F90E3

View File

@ -138,7 +138,9 @@ public abstract class BisqDefaultCoinSelector implements CoinSelector {
abstract boolean isTxOutputSpendable(TransactionOutput output);
//TODO why it uses coin age and not try to minimize number of inputs as the highest priority?
// TODO Why it uses coin age and not try to minimize number of inputs as the highest priority?
// Asked Oscar and he also don't knows why coin age is used. Should be changed so that min. number of inputs is
// target.
protected void sortOutputs(ArrayList<TransactionOutput> outputs) {
Collections.sort(outputs, (a, b) -> {
int depth1 = a.getParentTransactionDepthInBlocks();