doc(chain): Clarify direct_conflicts_of_tx's docs
Co-authored-by: Wei Chen <wzc110@gmail.com>
This commit is contained in:
parent
4742d88ea3
commit
a3e8480ad9
@ -381,8 +381,9 @@ impl<A> TxGraph<A> {
|
|||||||
/// transaction's inputs (spends). The conflicting txids are returned with the given
|
/// transaction's inputs (spends). The conflicting txids are returned with the given
|
||||||
/// transaction's vin (in which it conflicts).
|
/// transaction's vin (in which it conflicts).
|
||||||
///
|
///
|
||||||
/// Note that this only returns directly conflicting txids and does not include descendants of
|
/// Note that this only returns directly conflicting txids and won't include:
|
||||||
/// those txids (which are technically also conflicting).
|
/// - descendants of conflicting transactions (which are technically also conflicting)
|
||||||
|
/// - transactions conflicting with the given transaction's ancestors
|
||||||
pub fn direct_conflicts_of_tx<'g>(
|
pub fn direct_conflicts_of_tx<'g>(
|
||||||
&'g self,
|
&'g self,
|
||||||
tx: &'g Transaction,
|
tx: &'g Transaction,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user