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

Method Clear

src/wallet/coinselection.cpp:588–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

586}
587
588void SelectionResult::Clear()
589{
590 m_selected_inputs.clear();
591 m_waste.reset();
592}
593
594void SelectionResult::AddInput(const OutputGroup& group)
595{

Callers 6

BOOST_AUTO_TEST_CASEFunction · 0.45
SimulationTestFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
SetCoinsValueFunction · 0.45
FindCoinsFunction · 0.45

Calls 2

clearMethod · 0.45
resetMethod · 0.45

Tested by 5

BOOST_AUTO_TEST_CASEFunction · 0.36
SimulationTestFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
SetCoinsValueFunction · 0.36