prysm-pulse/beacon-chain/sync/subscriber_handlers.go
2019-12-16 19:53:55 -06:00

22 lines
584 B
Go

package sync
import (
"context"
"github.com/gogo/protobuf/proto"
)
func (r *Service) voluntaryExitSubscriber(ctx context.Context, msg proto.Message) error {
return r.operations.HandleValidatorExits(ctx, msg)
}
func (r *Service) attesterSlashingSubscriber(ctx context.Context, msg proto.Message) error {
// TODO(#3259): Requires handlers in operations service to be implemented.
return nil
}
func (r *Service) proposerSlashingSubscriber(ctx context.Context, msg proto.Message) error {
// TODO(#3259): Requires handlers in operations service to be implemented.
return nil
}