Function Nominator.combineCandidates
Combine a set of transaction sets into a single transaction set. This may be done in arbitrary ways, as long as it's consistent (for a given input, the combined output is predictable). Please see CandidateHolder.opCmp for the actual implementation of which candidate is chosen.
override extern(C++) shared_ptr!(scpd.scp.SCPDriver.ValueWrapper) combineCandidates
(
ulong slot_idx,
ref const(set!(scpd.Cpp.shared_ptr!(scpd.scp.SCPDriver.ValueWrapper).shared_ptr,scpd.scp.SCPDriver.WrappedValuePtrComparator,scpd.Cpp.allocator!(scpd.Cpp.shared_ptr!(scpd.scp.SCPDriver.ValueWrapper).shared_ptr).allocator)) candidates
);
Parameters
Name | Description |
---|---|
slot_idx | the slot index we're currently reaching consensus for |
candidates | a set of a set of transactions |