Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ShifuTestnet is the domain for shifu testnet // NOTE: do not use directly unless you want to check domain, // i.e. use GetDefaultDomain() to get the current domain. ShifuTestnet = spectypes.DomainType("shifu") )
Functions ¶
func GetDefaultDomain ¶
func GetDefaultDomain() spectypes.DomainType
GetDefaultDomain returns the global domain used across the system
func SetDefaultDomain ¶
func SetDefaultDomain(d spectypes.DomainType)
SetDefaultDomain updates the global domain used across the system allows injecting domain for testnets
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.