mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
11 lines
326 B
Go
11 lines
326 B
Go
package params
|
|
|
|
import "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
|
|
|
|
const BasisPoints = primitives.BP(10000)
|
|
|
|
// SlotBP returns the duration of a slot expressed in milliseconds, represented as basis points of a slot.
|
|
func SlotBP() primitives.BP {
|
|
return primitives.BP(BeaconConfig().SlotDurationMillis())
|
|
}
|