UdjinM6
05da4557d0
Refactor masternode management ( #1611 )
...
* Store masternodes in a map instead of a vector, drop unused functions in CMasternodeMan
* CTxIn vin -> COutPoint outpoint
* do not use CMasternodeMan::Find outside of the class
* update GetMasternodeInfo
* safe version of GetNextMasternodeInQueueForPayment
* fix ProcessMasternodeConnections
* bump CMasternodeMan::SERIALIZATION_VERSION_STRING
2017-09-11 17:13:48 +03:00
UdjinM6
4f5455000e
Use GetAdjustedTime instead of GetTime when dealing with network-wide timestamps ( #1590 )
2017-08-29 02:51:44 +03:00
UdjinM6
9694658cd3
Make sure mixing messages are relayed/accepted properly ( #1547 )
...
* make sure addr of mixing mn matches peer's addr exactly (including port)
* Store addr of every mixing client and relay mixing mesasges to them only
2017-07-25 13:57:26 +03:00
UdjinM6
739ef9a681
Expire confirmed DSTXes after ~1h since confirmation ( #1499 )
...
* Expire confirmed DSTXes after ~1h since confirmation
* add missing cs_main lock
2017-07-10 17:42:09 +03:00
UdjinM6
029ee64948
split CPrivateSend ( #1492 )
...
* split CPrivateSend:
- common client/server base data structures/functions: CPrivateSendBase
- singleton-like helper: CPrivateSend
* GetCollateralAmount(), more of GetSmallestDenomination()
* refactor GetDSTX
* remove excessive static_cast<bool>
* bring back LOCK(cs_mapdstx) :)
* address review comments
* fix bool operator
2017-06-30 21:30:16 +03:00
UdjinM6
7242e29228
Refactor PS ( #1437 )
...
* split CDarksendPool
* split DoAutomaticDenominating
* CMasternode* -> masternode_info_t
* move some globals into CPrivateSendClient
* addressed PR comments
2017-05-05 14:26:27 +03:00