Remove the specified transaction. If a staging graph exists, the removal only happens there. This is a no‐op if the transaction was already removed.

Synopsis

Declared in <txgraph.h>

virtual
void
RemoveTransaction(Ref const& arg) noexcept = 0;

Description

TxGraph may internally reorder transaction removals with dependency additions for performance reasons. If together with any transaction removal all its descendants, or all its ancestors, are removed as well (which is what always happens in realistic scenarios), this reordering will not affect the behavior of TxGraph.

As an example, imagine 3 transactions A,B,C where B depends on A. If a dependency of C on B is added, and then B is deleted, C will still depend on A. If the deletion of B is reordered before the C‐>B dependency is added, the dependency adding has no effect. If, together with the deletion of B also either A or C is deleted, there is no distinction between the original order case and the reordered case.

Parameters

Name

Description

arg

Reference to the transaction to remove.

Created with MrDocs