Documentation ¶
Index ¶
- Constants
- Variables
- func BlocksTopic(netName dtypes.NetworkName) string
- func BuiltinBootstrap() ([]peer.AddrInfo, error)
- func DefaultSectorSize() abi.SectorSize
- func DhtProtocolName(netName dtypes.NetworkName) protocol.ID
- func DrandBootstrap() ([]peer.AddrInfo, error)
- func MaybeGenesis() []byte
- func MessagesTopic(netName dtypes.NetworkName) string
- func ParametersJSON() []byte
- func UserVersion() string
- type Version
Constants ¶
View Source
const ( BuildDefault = 0 Build2k = 0x1 BuildDebug = 0x3 )
View Source
const AllowableClockDrift = 1
Seconds
View Source
const BadBlockCacheSize = 1 << 15
Sync
View Source
const BlockDelay = builtin.EpochDurationSeconds
Seconds
View Source
const BlockGasLimit = 100_000_000_000
View Source
const BlockMessageLimit = 512
TODO: If this is gonna stay, it should move to specs-actors
View Source
const BlsSignatureCacheSize = 40000
assuming 4000 messages per round, this lets us not lose any messages across a 10 block reorg.
View Source
const BuildVersion = "0.4.0"
BuildVersion is the local build version, set by build system
View Source
const FilecoinPrecision = 1_000_000_000_000_000_000
View Source
const Finality = miner.ChainFinalityish
Epochs
View Source
const ForkLengthThreshold = Finality
Epochs
View Source
const MaxSealLookback = SealRandomnessLookbackLimit + 2000 // TODO: Get from specs-actors
Maximum lookback that randomness can be sourced from for a seal proof submission
View Source
const MessageConfidence = 5
View Source
const MiningRewardTotal = 1_400_000_000
View Source
const PropagationDelay = 6
View Source
const SealRandomnessLookback = Finality
Epochs
View Source
const SealRandomnessLookbackLimit = SealRandomnessLookback + 2000 // TODO: Get from spec specs-actors
Epochs
View Source
const TicketRandomnessLookback = 1
Epochs
View Source
const TotalFilecoin = 2_000_000_000
View Source
const UnixfsChunkSize uint64 = 1 << 20
View Source
const UnixfsLinksPerLevel = 1024
View Source
const VerifSigCacheSize = 32000
Size of signature verification cache 32k keeps the cache around 10MB in size, max
View Source
const WRatioDen = 2
View Source
const WRatioNum = int64(1)
constants for Weight calculation The ratio of weight contributed by short-term vs long-term factors in a given round
View Source
const WinningPoStSectorSetLookback = 10
Variables ¶
View Source
var BlocksPerEpoch = uint64(builtin.ExpectedLeadersPerEpoch)
Blocks (e)
View Source
var BuildType int
View Source
var CurrentCommit string
View Source
var DrandChain = `` /* 225-byte string literal not displayed */
View Source
var InitialRewardBalance *big.Int
View Source
var InsecurePoStValidation = false
Functions ¶
func BlocksTopic ¶ added in v0.3.0
func BlocksTopic(netName dtypes.NetworkName) string
func BuiltinBootstrap ¶
func DefaultSectorSize ¶ added in v0.3.0
func DefaultSectorSize() abi.SectorSize
func DhtProtocolName ¶ added in v0.3.0
func DhtProtocolName(netName dtypes.NetworkName) protocol.ID
func DrandBootstrap ¶ added in v0.4.0
func MaybeGenesis ¶
func MaybeGenesis() []byte
func MessagesTopic ¶ added in v0.3.0
func MessagesTopic(netName dtypes.NetworkName) string
func ParametersJSON ¶ added in v0.3.1
func ParametersJSON() []byte
func UserVersion ¶ added in v0.1.1
func UserVersion() string
Types ¶
Click to show internal directories.
Click to hide internal directories.