prysm-pulse/beacon-chain/sync/subscriber_handlers.go

22 lines
584 B
Go
Raw Normal View History

package sync
import (
"context"
"github.com/gogo/protobuf/proto"
)
2019-12-17 01:53:55 +00:00
func (r *Service) voluntaryExitSubscriber(ctx context.Context, msg proto.Message) error {
2019-08-23 21:34:03 +00:00
return r.operations.HandleValidatorExits(ctx, msg)
}
2019-12-17 01:53:55 +00:00
func (r *Service) attesterSlashingSubscriber(ctx context.Context, msg proto.Message) error {
// TODO(#3259): Requires handlers in operations service to be implemented.
return nil
}
2019-12-17 01:53:55 +00:00
func (r *Service) proposerSlashingSubscriber(ctx context.Context, msg proto.Message) error {
// TODO(#3259): Requires handlers in operations service to be implemented.
return nil
}