![]() |
Bitcoin Core 30.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, DepGraphIndex 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, DepGraphIndex 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 & | operator-= (const SetInfo &other) noexcept |
| Remove the transactions of other from this SetInfo (which must be a subset). More... | |
| SetInfo | operator- (const SetInfo &other) const noexcept |
| Compute the difference between this and other SetInfo (which must be a subset). 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 360 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 371 of file cluster_linearize.h.
|
inlineexplicitnoexcept |
Construct a SetInfo for a given transaction in a depgraph.
Definition at line 374 of file cluster_linearize.h.
|
inlineexplicitnoexcept |
Construct a SetInfo for a set of transactions in a depgraph.
Definition at line 378 of file cluster_linearize.h.
|
inlinenoexcept |
Compute the difference between this and other SetInfo (which must be a subset).
Definition at line 408 of file cluster_linearize.h.
|
inlinenoexcept |
Remove the transactions of other from this SetInfo (which must be a subset).
Definition at line 399 of file cluster_linearize.h.
|
inlinenoexcept |
Add the transactions of other to this SetInfo (no overlap allowed).
Definition at line 390 of file cluster_linearize.h.
|
inlinenoexcept |
Add a transaction to this SetInfo (which must not yet be in it).
Definition at line 382 of file cluster_linearize.h.
|
friend |
Permit equality testing.
Swap two SetInfo objects.
Definition at line 415 of file cluster_linearize.h.
| FeeFrac cluster_linearize::SetInfo< SetType >::feerate |
Their combined fee and size.
Definition at line 365 of file cluster_linearize.h.
| SetType cluster_linearize::SetInfo< SetType >::transactions |
The transactions in the set.
Definition at line 363 of file cluster_linearize.h.