aboutsummaryrefslogtreecommitdiffstats
path: root/core/utils/utils.go
Commit message (Collapse)AuthorAgeFilesLines
* core/utils: Add Penalty checker and VerifyDKGComplaint (#393)Jimmy Hu2019-01-041-0/+49
| | | | | | | | | | * Add Util for checking penalty * Add VerifyDKGComplaints * Fixup and rename * Happy New Year!
* misc: panic not ready (#374)Mission Liao2018-12-181-0/+61
* Panic when config/crs not ready For those calls to Governace.Configuration and Governance.CRS without checking returns, replace those calls with these newly added helpers: - utils.GetConfigurationWithPanic - utils.GetCRSWithPanic They would check returns, and panic directly if not ready yet. * Fix a bug that config is not ready when syncing