Documentation ¶
Index ¶
Constants ¶
View Source
const ( // EnvvarMetaDataDir is the environment variable that tells the web wallet where // to put the sia data EnvvarMetaDataDir = "SCPRIME_WEB_WALLET_DATA_DIR" )
View Source
const (
// Version is the current version of ScPrime web wallet.
Version = "0.2.5"
)
Variables ¶
View Source
var ( // GitRevision is the git commit hash used when built GitRevision string // BuildTime is the date and time the build was completed BuildTime string )
GitRevision and BuildTime get assigned via the Makefile when built.
Functions ¶
func ConsensusSizeByteCheck ¶ added in v0.1.4
func ConsensusSizeByteCheck() int64
ConsensusSizeByteCheck returns the size in bytes that the on-desk consensus database must be larger than to skip the consensus construction prompt.
func ScPrimeWebWalletDir ¶
func ScPrimeWebWalletDir() string
ScPrimeWebWalletDir returns the ScPrime web wallet's data directory either from· the environment variable or the default.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.