Trait bitcoinchain_interface::FindCoins
source · pub trait FindCoins {
// Required method
fn find_coins(&mut self, coins: &mut HashMap<OutPoint, Coin>);
}
Required Methods§
sourcefn find_coins(&mut self, coins: &mut HashMap<OutPoint, Coin>)
fn find_coins(&mut self, coins: &mut HashMap<OutPoint, Coin>)
| Look up unspent output | information. Returns coins in the mempool | and in the current chain UTXO | set. Iterates through all the keys in the | map and populates the values.