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

Method GetInputWeight

src/wallet/coincontrol.h:131–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129 }
130
131 int64_t GetInputWeight(const COutPoint& outpoint) const
132 {
133 auto it = m_input_weights.find(outpoint);
134 assert(it != m_input_weights.end());
135 return it->second;
136 }
137
138private:
139 std::set<COutPoint> setSelected;

Callers 2

DummySignTxMethod · 0.80
spend.cppFile · 0.80

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected