prysm-pulse/sharding/config.go
Preston Van Loon 1a0dcb955a update abi and bytecode
Former-commit-id: d12c81d3c5e40a2ed59eb8f5ca2b977dfa0cff0f [formerly 3cdb4b1860ab41e6a0608a2496ea675eb5d93606]
Former-commit-id: 2cd1c66534d1fe28124c771b78ff4c6613bdedbc
2018-01-16 23:09:16 -05:00

27 lines
760 B
Go

package sharding
import (
"math/big"
"github.com/ethereum/go-ethereum/common"
)
var (
// Number of network shards
shardCount = 100
// Address of the validator management contract
validatorManagerAddress = common.HexToAddress("0x0") // TODO
// Gas limit for verifying signatures
sigGasLimit = 40000
// Number of blocks in a period
periodLength = 5
// Number of periods to lookahead for ??? TODO(prestonvanloon) finish this comment.
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
// Gas price for contract creation
contractGasPrice = new(big.Int).SetInt64(18000000000)
)