-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements on Status service (#821)
* improve status service usage * simplify reshare status on status service
- Loading branch information
1 parent
0cf33c1
commit 6590940
Showing
7 changed files
with
130 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package core | ||
|
||
const UnknownDesc = "Unknown" | ||
const NotStartedDesc = "Not started" | ||
const InProgressDesc = "In progress" | ||
|
||
type DkgStatus uint32 | ||
|
||
const ( | ||
DkgReady DkgStatus = iota | ||
DkgInProgress | ||
DkgNotStarted | ||
) | ||
|
||
type ReshareStatus uint32 | ||
|
||
const ( | ||
ReshareNotInProgress ReshareStatus = iota | ||
ReshareInProgress | ||
) | ||
|
||
type BeaconStatus uint32 | ||
|
||
const ( | ||
BeaconNotInited BeaconStatus = iota | ||
BeaconInited | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters