mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-26 05:17:22 +00:00
9145310647
* get rid of v2 in prysm codebase * replace block2 * builds * terence comments * gazelle
22 lines
832 B
Go
22 lines
832 B
Go
package state
|
|
|
|
import statepb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1"
|
|
|
|
// BeaconStateAltair has read and write access to beacon state methods.
|
|
type BeaconStateAltair interface {
|
|
BeaconState
|
|
CurrentSyncCommittee() (*statepb.SyncCommittee, error)
|
|
NextSyncCommittee() (*statepb.SyncCommittee, error)
|
|
SetCurrentSyncCommittee(val *statepb.SyncCommittee) error
|
|
SetNextSyncCommittee(val *statepb.SyncCommittee) error
|
|
CurrentEpochParticipation() ([]byte, error)
|
|
PreviousEpochParticipation() ([]byte, error)
|
|
InactivityScores() ([]uint64, error)
|
|
AppendCurrentParticipationBits(val byte) error
|
|
AppendPreviousParticipationBits(val byte) error
|
|
AppendInactivityScore(s uint64) error
|
|
SetInactivityScores(val []uint64) error
|
|
SetPreviousParticipationBits(val []byte) error
|
|
SetCurrentParticipationBits(val []byte) error
|
|
}
|