evan82
40b2ac6e3e
Merge pull request #211 from UdjinM6/v0.11.2.x_pay_to_oldest_legit
...
V0.11.2.x pay to oldest legit MN
2015-03-01 19:06:17 -07:00
evan82
e2cf12b9de
Merge pull request #210 from UdjinM6/v0.11.2.x_check_exp_mn_on_start
...
V0.11.2.x check expired MNs right on client start
2015-03-01 19:04:22 -07:00
UdjinM6
f4f3f6bd6a
prevent gaming sigTime too much on initial dsee
2015-03-01 18:51:30 +03:00
UdjinM6
b2017ebefa
find oldest legit masternode to pay / naming "now" -> "sigTime"
2015-03-01 18:45:27 +03:00
UdjinM6
7b1efb8997
show new number of MNs on add/remove in logs / move output to debug level
2015-03-01 03:26:29 +03:00
UdjinM6
80ce3f5a06
clear maps in mnodeman
2015-03-01 03:04:17 +03:00
UdjinM6
4af7c7411a
check and remove expired masternodes on client start / more info on load/flush
2015-03-01 02:56:52 +03:00
evan82
2d3426755c
Merge pull request #207 from UdjinM6/v0.11.2.x_fix_logs
...
V0.11.2.x fix logs
2015-02-27 06:49:31 -07:00
UdjinM6
e7bf8d0fe6
Few small log output fixes:
...
- fix DumpMasternodes log output (wasn't really working)
- add log output on CMasternodeMan::Add
- slightly edit CMasternodeMan::CheckAndRemove log output
2015-02-27 04:49:12 +03:00
UdjinM6
14ecda3486
With persistant storage this restriction was way too hard and could lead to dramatically shrinking/not updating masternode list after few restarts with some timeouts
2015-02-27 04:41:17 +03:00
UdjinM6
4fe845bf15
Fix crashes on remove from vector
...
Few more locks and slight iterators optimization
2015-02-27 02:12:43 +03:00
Evan Duffield
848adbb2d3
Fixed compiling errors
...
std::stoi was introduced in C++11, should probably avoid using it
2015-02-26 07:23:06 -07:00
UdjinM6
2e05bf212e
Change the way changes are handled:
...
- do not keep track of a single time variable for whole structure change
- save to masternode.dat and clear on checks:
- who's asked for the masternode list and the last time
- who we asked for the masternode list and the last time (will help to prevent dseg ban when restart wallet several times in short period of time)
- which masternodes we've asked for
- do not use timeout for CheckAndRemove (played with that - doesn't make sense actually)
2015-02-26 02:21:28 +03:00
UdjinM6
0d51e1c90d
better naming/readability (Find)
2015-02-25 14:54:03 +03:00
UdjinM6
259752c627
copyright
2015-02-24 17:05:26 +03:00
UdjinM6
003a1b7d72
track lastTimeChanged for mnodeman and ask for update only if UpdateNeeded
2015-02-24 13:39:29 +03:00
UdjinM6
dd61090051
move list logic back to rpcdarkcsend and give it a copy of vMasternodes (json dep in mnodeman is ugly, my bad)
2015-02-24 02:48:11 +03:00
UdjinM6
adddff85a2
CMasternodeMan - masternode manager class - part1(broken)
2015-02-23 23:01:21 +03:00