| 866 | } |
| 867 | |
| 868 | void OutputGroupTypeMap::Push(const OutputGroup& group, OutputType type, bool insert_positive, bool insert_mixed) |
| 869 | { |
| 870 | if (group.m_outputs.empty()) return; |
| 871 | |
| 872 | Groups& groups = groups_by_type[type]; |
| 873 | if (insert_positive && group.GetSelectionAmount() > 0) { |
| 874 | groups.positive_group.emplace_back(group); |
| 875 | all_groups.positive_group.emplace_back(group); |
| 876 | } |
| 877 | if (insert_mixed) { |
| 878 | groups.mixed_group.emplace_back(group); |
| 879 | all_groups.mixed_group.emplace_back(group); |
| 880 | } |
| 881 | } |
| 882 | |
| 883 | CAmount GenerateChangeTarget(const CAmount payment_value, const CAmount change_fee, FastRandomContext& rng) |
| 884 | { |
no test coverage detected