prysm-pulse/beacon-chain/state/v1/spec_parameters.go

12 lines
340 B
Go
Raw Normal View History

package v1
import "github.com/prysmaticlabs/prysm/config/params"
func (b *BeaconState) ProportionalSlashingMultiplier() (uint64, error) {
return params.BeaconConfig().ProportionalSlashingMultiplier, nil
}
func (b *BeaconState) InactivityPenaltyQuotient() (uint64, error) {
return params.BeaconConfig().InactivityPenaltyQuotient, nil
}