You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
595 B
20 lines
595 B
5 years ago
|
package shard
|
||
|
|
||
|
import (
|
||
|
shardingconfig "github.com/harmony-one/harmony/internal/configs/sharding"
|
||
|
)
|
||
|
|
||
|
const (
|
||
|
// BeaconChainShardID is the ShardID of the BeaconChain
|
||
|
BeaconChainShardID = 0
|
||
|
)
|
||
|
|
||
|
// TODO ek – Schedule should really be part of a general-purpose network
|
||
|
// configuration. We are OK for the time being,
|
||
|
// until the day we should let one node process join multiple networks.
|
||
|
var (
|
||
|
// Schedule is the sharding configuration schedule.
|
||
|
// Depends on the type of the network. Defaults to the mainnet schedule.
|
||
|
Schedule shardingconfig.Schedule = shardingconfig.MainnetSchedule
|
||
|
)
|