Bitcoin Core 28.99.0
P2P Digital Currency
|
A set of transactions together with their aggregate feerate. More...
#include <cluster_linearize.h>
Public Member Functions | |
SetInfo () noexcept=default | |
Construct a SetInfo for the empty set. More... | |
SetInfo (const SetType &txn, const FeeFrac &fr) noexcept | |
Construct a SetInfo for a specified set and feerate. More... | |
SetInfo (const DepGraph< SetType > &depgraph, ClusterIndex pos) noexcept | |
Construct a SetInfo for a given transaction in a depgraph. More... | |
SetInfo (const DepGraph< SetType > &depgraph, const SetType &txn) noexcept | |
Construct a SetInfo for a set of transactions in a depgraph. More... | |
void | Set (const DepGraph< SetType > &depgraph, ClusterIndex pos) noexcept |
Add a transaction to this SetInfo (which must not yet be in it). More... | |
SetInfo & | operator|= (const SetInfo &other) noexcept |
Add the transactions of other to this SetInfo (no overlap allowed). More... | |
SetInfo | Add (const DepGraph< SetType > &depgraph, const SetType &txn) const noexcept |
Construct a new SetInfo equal to this, with more transactions added (which may overlap with the existing transactions in the SetInfo). More... | |
Public Attributes | |
SetType | transactions |
The transactions in the set. More... | |
FeeFrac | feerate |
Their combined fee and size. More... | |
Friends | |
void | swap (SetInfo &a, SetInfo &b) noexcept |
Swap two SetInfo objects. More... | |
bool | operator== (const SetInfo &, const SetInfo &) noexcept=default |
Permit equality testing. More... | |
A set of transactions together with their aggregate feerate.
Definition at line 316 of file cluster_linearize.h.
|
defaultnoexcept |
Construct a SetInfo for the empty set.
|
inlinenoexcept |
Construct a SetInfo for a specified set and feerate.
Definition at line 327 of file cluster_linearize.h.
|
inlineexplicitnoexcept |
Construct a SetInfo for a given transaction in a depgraph.
Definition at line 330 of file cluster_linearize.h.
|
inlineexplicitnoexcept |
Construct a SetInfo for a set of transactions in a depgraph.
Definition at line 334 of file cluster_linearize.h.
|
inlinenoexcept |
Construct a new SetInfo equal to this, with more transactions added (which may overlap with the existing transactions in the SetInfo).
Definition at line 356 of file cluster_linearize.h.
|
inlinenoexcept |
Add the transactions of other to this SetInfo (no overlap allowed).
Definition at line 346 of file cluster_linearize.h.
|
inlinenoexcept |
Add a transaction to this SetInfo (which must not yet be in it).
Definition at line 338 of file cluster_linearize.h.
|
friend |
Permit equality testing.
Swap two SetInfo objects.
Definition at line 362 of file cluster_linearize.h.
FeeFrac cluster_linearize::SetInfo< SetType >::feerate |
Their combined fee and size.
Definition at line 321 of file cluster_linearize.h.
SetType cluster_linearize::SetInfo< SetType >::transactions |
The transactions in the set.
Definition at line 319 of file cluster_linearize.h.