2019-08-18 11:33:58 -04:00
|
|
|
package sync
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
|
|
|
"github.com/gogo/protobuf/proto"
|
|
|
|
)
|
|
|
|
|
2019-08-23 17:34:03 -04:00
|
|
|
func (r *RegularSync) voluntaryExitSubscriber(ctx context.Context, msg proto.Message) error {
|
|
|
|
return r.operations.HandleValidatorExits(ctx, msg)
|
2019-08-18 11:33:58 -04:00
|
|
|
}
|
2019-08-22 11:04:25 +05:30
|
|
|
|
2019-08-23 17:34:03 -04:00
|
|
|
func (r *RegularSync) attesterSlashingSubscriber(ctx context.Context, msg proto.Message) error {
|
2019-08-22 11:04:25 +05:30
|
|
|
// TODO(#3259): Requires handlers in operations service to be implemented.
|
|
|
|
return nil
|
|
|
|
}
|
2019-08-22 20:01:56 +05:30
|
|
|
|
2019-08-23 17:34:03 -04:00
|
|
|
func (r *RegularSync) proposerSlashingSubscriber(ctx context.Context, msg proto.Message) error {
|
2019-08-22 20:01:56 +05:30
|
|
|
// TODO(#3259): Requires handlers in operations service to be implemented.
|
|
|
|
return nil
|
|
|
|
}
|