@@ -198,10 +198,6 @@ class CGovernanceManager
198198
199199 typedef txout_m_t ::iterator txout_m_it;
200200
201- typedef txout_m_t ::const_iterator txout_m_cit;
202-
203- typedef std::map<COutPoint, int > txout_int_m_t ;
204-
205201 typedef std::set<uint256> hash_s_t ;
206202
207203 typedef hash_s_t ::iterator hash_s_it;
@@ -212,14 +208,10 @@ class CGovernanceManager
212208
213209 typedef object_info_m_t ::iterator object_info_m_it;
214210
215- typedef object_info_m_t ::const_iterator object_info_m_cit;
216-
217211 typedef std::map<uint256, int64_t > hash_time_m_t ;
218212
219213 typedef hash_time_m_t ::iterator hash_time_m_it;
220214
221- typedef hash_time_m_t ::const_iterator hash_time_m_cit;
222-
223215private:
224216 static const int MAX_CACHE_SIZE = 1000000 ;
225217
@@ -380,10 +372,6 @@ class CGovernanceManager
380372 mapPostponedObjects.insert (std::make_pair (govobj.GetHash (), govobj));
381373 }
382374
383- void AddSeenGovernanceObject (const uint256& nHash, int status);
384-
385- void AddSeenVote (const uint256& nHash, int status);
386-
387375 void MasternodeRateUpdate (const CGovernanceObject& govobj);
388376
389377 bool MasternodeRateCheck (const CGovernanceObject& govobj, bool fUpdateFailStatus = false );
@@ -420,11 +408,6 @@ class CGovernanceManager
420408 cmapInvalidVotes.Insert (vote.GetHash (), vote);
421409 }
422410
423- void AddOrphanVote (const CGovernanceVote& vote)
424- {
425- cmmapOrphanVotes.Insert (vote.GetHash (), vote_time_pair_t (vote, GetAdjustedTime () + GOVERNANCE_ORPHAN_EXPIRATION_TIME));
426- }
427-
428411 bool ProcessVote (CNode* pfrom, const CGovernanceVote& vote, CGovernanceException& exception, CConnman& connman);
429412
430413 // / Called to indicate a requested object has been received
0 commit comments