cluster_linearize::SetInfo

A set of transactions together with their aggregate feerate.

Synopsis

Declared in <cluster_linearize.h>

template<typename SetType>
struct SetInfo;

Member Functions

NameDescription
SetInfo [constructor]Constructors
Set Add a transaction to this SetInfo (which must not yet be in it).
operator- Compute the difference between this and other SetInfo (which must be a subset).
operator-= Remove the transactions of other from this SetInfo (which must be a subset).
operator|= Add the transactions of other to this SetInfo (no overlap allowed).

Data Members

NameDescription
feerate Their combined fee and size.
transactions The transactions in the set.

Friends

NameDescription
cluster_linearize::operator==Permit equality testing.
cluster_linearize::swapSwap two SetInfo objects.

Non-Member Functions

NameDescription
ChunkLinearizationInfoCompute the chunks of linearization as SetInfos.