build

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 4 Imported by: 2

Documentation

Overview

Package build contains build-time information.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commit

func Commit() string

Commit returns the commit hash of hostd

func Network

func Network() (*consensus.Network, types.Block)

Network returns the Sia network consts and genesis block for the current build.

func NetworkName

func NetworkName() string

NetworkName returns the human-readable name of the current network.

func Time added in v0.1.6

func Time() time.Time

Time returns the time at which the binary was built.

func Version

func Version() string

Version returns the version of hostd

Types

This section is empty.

Jump to

Keyboard shortcuts

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