build

package
v1.26.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2025 License: Apache-2.0, MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const (
	BuildMainnet  = 0x1
	Build2k       = 0x2
	BuildDebug    = 0x3
	BuildCalibnet = 0x4
)
View Source
const BlockDelaySecs = builtin.EpochDurationSeconds
View Source
const TicketRandomnessLookback = abi.ChainEpoch(1)
View Source
const UpgradeSmokeHeight = 51000

Variables

View Source
var BuildType int

Populated by Params

View Source
var BuildVersion string

Ex: "1.2.3" or "1.2.3-rcX"

View Source
var BuildVersionArray = [3]int{1, 26, 0}

Intent: Major.Network.Patch

View Source
var BuildVersionRC = 0

RC

View Source
var Clock = clock.New()

Clock is the global clock for the system. In standard builds, we use a real-time clock, which maps to the `time` package.

Tests that need control of time can replace this variable with clock.NewMock(). Always use real time for socket/stream deadlines.

View Source
var CurrentCommit string
View Source
var EquivocationDelaySecs = uint64(2)
View Source
var IsOpencl string

/////START BUILD_TIME POPULATED VARS///////

View Source
var PropagationDelaySecs = uint64(10)

Functions

func BuildTypeString

func BuildTypeString() string

func SetAddressNetwork

func SetAddressNetwork(n address.Network)

func UserVersion

func UserVersion() string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL