Tim Flynn
8c16880b15
Fix governance hash ( #1208 )
...
* Add vinMasternode to governance object hash and bump protocols
* Add collateral hash to governance object hash
* Added signature to object hash
* Revert "Add collateral hash to governance object hash"
This reverts commit 2f60c280f3
.
2016-12-20 07:25:20 +04:00
Tim Flynn
84c242fc8c
Restore relaying and fix rate threshold ( #1206 )
...
* Restore object relaying during orphan processing
* Relay votes during orphan processing
* Allow relaying of objects and votes during syncing
* Double rate check threshold
2016-12-15 20:27:09 +04:00
Tim Flynn
711a5fbf20
Deletion time fix ( #1205 )
...
* Fix deletion time bug
* Only set deletion time if it has not already been set
2016-12-14 19:27:46 +04:00
Tim Flynn
df5abf1468
Convert masternode rate checks to use object timestamp ( #1198 )
...
* Change rate check logic to avoid DoS attacks
* Convert rate check to use object timestamp instead of arrival time
* Update cached variables before checking for superblocks
* Ensure that last times are monotonically non-decreasing
* Bump governance manager serialization format
* Improved rate check error reporting
2016-12-11 10:17:38 +04:00
Tim Flynn
15bb93d5e8
Rate check fixes ( #1196 )
...
* Fix rate checks for governance objects
* Do not update last vote time when rate checks are disabled
* Bump governance serialization version
2016-12-09 00:00:49 +04:00
UdjinM6
6a3550b94f
Fix some gov sync issues ( #1191 )
...
* Don't relay objects and votes until synced
* fix sync timeout for govobjs
* count objs and votes separately
* reuse GetHash() value, adjust log messages
2016-12-06 20:40:37 +04:00
Tim Flynn
ecdc160119
Governance object deletion changes ( #1167 )
...
* Increase quorum for object deletion to 2/3 of MN network
* Implement expiration of watchdog objects
* Remove objects from the watchdog map itself
* Message fix for invalid objects
2016-11-25 18:08:48 +04:00
Tim Flynn
1b90d66ab6
Implement orphan object and vote timeouts ( #1166 )
2016-11-24 22:12:05 +04:00