@@ -65,12 +65,12 @@ class CCoinControl
6565
6666 bool HasSelected () const
6767 {
68- return (setSelected .size () > 0 );
68+ return (m_selected_inputs .size () > 0 );
6969 }
7070
7171 bool IsSelected (const COutPoint& output) const
7272 {
73- return (setSelected .count (output) > 0 );
73+ return (m_selected_inputs .count (output) > 0 );
7474 }
7575
7676 bool IsExternalSelected (const COutPoint& output) const
@@ -90,28 +90,28 @@ class CCoinControl
9090
9191 void Select (const COutPoint& output)
9292 {
93- setSelected .insert (output);
93+ m_selected_inputs .insert (output);
9494 }
9595
9696 void SelectExternal (const COutPoint& outpoint, const CTxOut& txout)
9797 {
98- setSelected .insert (outpoint);
98+ m_selected_inputs .insert (outpoint);
9999 m_external_txouts.emplace (outpoint, txout);
100100 }
101101
102102 void UnSelect (const COutPoint& output)
103103 {
104- setSelected .erase (output);
104+ m_selected_inputs .erase (output);
105105 }
106106
107107 void UnSelectAll ()
108108 {
109- setSelected .clear ();
109+ m_selected_inputs .clear ();
110110 }
111111
112112 void ListSelected (std::vector<COutPoint>& vOutpoints) const
113113 {
114- vOutpoints.assign (setSelected .begin (), setSelected .end ());
114+ vOutpoints.assign (m_selected_inputs .begin (), m_selected_inputs .end ());
115115 }
116116
117117 void SetInputWeight (const COutPoint& outpoint, int64_t weight)
@@ -132,7 +132,7 @@ class CCoinControl
132132 }
133133
134134private:
135- std::set<COutPoint> setSelected ;
135+ std::set<COutPoint> m_selected_inputs ;
136136 std::map<COutPoint, CTxOut> m_external_txouts;
137137 // ! Map of COutPoints to the maximum weight for that input
138138 std::map<COutPoint, int64_t > m_input_weights;
0 commit comments