build

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: Apache-2.0, MIT Imports: 5 Imported by: 9

Documentation

Index

Constants

View Source
const BuildVersion = "1.7.1"

Variables

View Source
var (
	DefaultFDLimit uint64 = 16 << 10
	BoostFDLimit   uint64 = 100_000
)
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

Functions

func BlocksTopic

func BlocksTopic(netName dtypes.NetworkName) string

func DhtProtocolName

func DhtProtocolName(netName dtypes.NetworkName) protocol.ID

func IndexerIngestTopic added in v1.5.1

func IndexerIngestTopic(netName dtypes.NetworkName) string

func MessagesTopic

func MessagesTopic(netName dtypes.NetworkName) string

func MustParseAddress

func MustParseAddress(addr string) address.Address

func MustParseCid

func MustParseCid(c string) cid.Cid

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