MCPcopy Create free account
hub / github.com/ElementsProject/elements / ComputeAndSetWaste

Method ComputeAndSetWaste

src/wallet/coinselection.cpp:573–576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

571}
572
573void SelectionResult::ComputeAndSetWaste(CAmount change_cost)
574{
575 m_waste = GetSelectionWaste(m_selected_inputs, change_cost, m_target, m_use_effective);
576}
577
578CAmount SelectionResult::GetWaste() const
579{

Callers 1

AttemptSelectionFunction · 0.80

Calls 1

GetSelectionWasteFunction · 0.85

Tested by

no test coverage detected