tx3-resolver 0.23.0

Infrastructure for resolving tx3 transactions
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use tx3_tir::model::{
    assets::CanonicalAssets,
    core::{Utxo, UtxoSet},
};

use super::Rank;

#[allow(dead_code)]
pub struct NaiveRanker;

impl Rank for NaiveRanker {
    fn sorted_candidates(search_space: UtxoSet, _target: &CanonicalAssets) -> Vec<Utxo> {
        Vec::from_iter(search_space)
    }
}