Documentation ¶
Index ¶
- Constants
- Variables
- func BlocksTopic(netName dtypes.NetworkName) string
- func DhtProtocolName(netName dtypes.NetworkName) protocol.ID
- func IndexerIngestTopic(netName dtypes.NetworkName) string
- func MessagesTopic(netName dtypes.NetworkName) string
- func MustParseAddress(addr string) address.Address
- func MustParseCid(c string) cid.Cid
- func SetAddressNetwork(n address.Network)
- func UserVersion() string
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.
Click to show internal directories.
Click to hide internal directories.