Function zebra_rpc::methods::get_block_template_rpcs::zip317::has_direct_dependencies
source ยท fn has_direct_dependencies(
candidate_tx_deps: Option<&HashSet<Hash>>,
selected_txs: &Vec<VerifiedUnminedTx>,
) -> bool
Expand description
Checks if every item in candidate_tx_deps
is present in selected_txs
.
Requires items in selected_txs
to be unique to work correctly.