prysm-pulse/sharding/config.go
Terence Tsao 4bb856a622 change shard count to 1
Former-commit-id: d8467e1a5984852549ed1182f82050c4d7b4fdff [formerly e78ec2db8f5919541a73782b7f02ed19b6a7f5b9]
Former-commit-id: f2349649dd1d031f7cae9dfd54ad75ff79ba60f6
2018-03-21 21:04:07 -07:00

25 lines
703 B
Go

package sharding
import (
"math/big"
"github.com/ethereum/go-ethereum/common"
)
var (
// Number of network shards
shardCount = int64(1)
// Address of the sharding manager contract
shardingManagerAddress = common.HexToAddress("0x0") // TODO
// Gas limit for verifying signatures
sigGasLimit = 40000
// Number of blocks in a period
periodLength = int64(5)
// Number of periods ahead of current period which the contract is able to return the collator of that period.
lookaheadPeriods = 4
// Required deposit size in wei
depositSize = new(big.Int).Exp(big.NewInt(10), big.NewInt(20), nil) // 100 ETH
// Gas limit to create contract
contractGasLimit = uint64(4700000) // Max is 4712388
)