Skip to content

Commit

Permalink
Revert "Add WaitForSynced to beacon node for validator startup (#5366)"
Browse files Browse the repository at this point in the history
This reverts commit 1224e75.
  • Loading branch information
terencechain committed Apr 18, 2020
1 parent 1224e75 commit 927d8d9
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 349 deletions.
8 changes: 0 additions & 8 deletions beacon-chain/core/feed/state/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ const (
ChainStarted
// Initialized is sent when the internal beacon node's state is ready to be accessed.
Initialized
// Synced is sent when the beacon node has completed syncing and is ready to participate in the network.
Synced
)

// BlockProcessedData is the data sent with BlockProcessed events.
Expand All @@ -29,12 +27,6 @@ type ChainStartedData struct {
StartTime time.Time
}

// SyncedData is the data sent with Synced events.
type SyncedData struct {
// StartTime is the time at which the chain started.
StartTime time.Time
}

// InitializedData is the data sent with Initialized events.
type InitializedData struct {
// StartTime is the time at which the chain started.
Expand Down
Loading

0 comments on commit 927d8d9

Please sign in to comment.