1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
crate::ix!();

pub struct DepthAndScoreComparator {

}

impl DepthAndScoreComparator {

    pub fn invoke(&mut self, 
        a: &TxMemPoolIndexedTransactionSetConstIterator,
        b: &TxMemPoolIndexedTransactionSetConstIterator) -> bool {
        
        todo!();
        /*
            uint64_t counta = a->GetCountWithAncestors();
            uint64_t countb = b->GetCountWithAncestors();
            if (counta == countb) {
                return CompareTxMemPoolEntryByScore()(*a, *b);
            }
            return counta < countb;
        */
    }
}