mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-29 06:37:17 +00:00
b919429801
* generate archive proto * archived committee info * archive methods added to iface definition * impl * update iface * proto comments
59 lines
2.1 KiB
Go
59 lines
2.1 KiB
Go
package kv
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/pkg/errors"
|
|
ethpb "github.com/prysmaticlabs/prysm/proto/eth/v1alpha1"
|
|
)
|
|
|
|
// ArchivedActiveValidatorChanges retrieval by epoch.
|
|
func (k *Store) ArchivedActiveValidatorChanges(ctx context.Context, epoch uint64) (*ethpb.ArchivedActiveSetChanges, error) {
|
|
return nil, errors.New("unimplemented")
|
|
}
|
|
|
|
// SaveArchivedActiveValidatorChanges by epoch.
|
|
func (k *Store) SaveArchivedActiveValidatorChanges(ctx context.Context, epoch uint64, changes *ethpb.ArchivedActiveSetChanges) error {
|
|
return errors.New("unimplemented")
|
|
}
|
|
|
|
// ArchivedCommitteeInfo retrieval by epoch.
|
|
func (k *Store) ArchivedCommitteeInfo(ctx context.Context, epoch uint64) (*ethpb.ArchivedCommitteeInfo, error) {
|
|
return nil, errors.New("unimplemented")
|
|
}
|
|
|
|
// SaveArchivedCommitteeInfo by epoch.
|
|
func (k *Store) SaveArchivedCommitteeInfo(ctx context.Context, epoch uint64, info *ethpb.ArchivedCommitteeInfo) error {
|
|
return errors.New("unimplemented")
|
|
}
|
|
|
|
// ArchivedBalances retrieval by epoch.
|
|
func (k *Store) ArchivedBalances(ctx context.Context, epoch uint64) ([]uint64, error) {
|
|
return nil, errors.New("unimplemented")
|
|
}
|
|
|
|
// SaveArchivedBalances by epoch.
|
|
func (k *Store) SaveArchivedBalances(ctx context.Context, epoch uint64, balances []uint64) error {
|
|
return errors.New("unimplemented")
|
|
}
|
|
|
|
// ArchivedActiveIndices retrieval by epoch.
|
|
func (k *Store) ArchivedActiveIndices(ctx context.Context, epoch uint64) ([]uint64, error) {
|
|
return nil, errors.New("unimplemented")
|
|
}
|
|
|
|
// SaveArchivedActiveIndices by epoch.
|
|
func (k *Store) SaveArchivedActiveIndices(ctx context.Context, epoch uint64, indices []uint64) error {
|
|
return errors.New("unimplemented")
|
|
}
|
|
|
|
// ArchivedValidatorParticipation retrieval by epoch.
|
|
func (k *Store) ArchivedValidatorParticipation(ctx context.Context, epoch uint64) (*ethpb.ValidatorParticipation, error) {
|
|
return nil, errors.New("unimplemented")
|
|
}
|
|
|
|
// SaveArchivedValidatorParticipation by epoch.
|
|
func (k *Store) SaveArchivedValidatorParticipation(ctx context.Context, epoch uint64, part *ethpb.ValidatorParticipation) error {
|
|
return errors.New("unimplemented")
|
|
}
|