Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NodeVer = &Version{
Major: 0,
Minor: 3,
Patch: 0,
}
NodeVer is the current node version.
Functions ¶
This section is empty.
Types ¶
type Magic ¶
type Magic uint8
Magic is the network that Dusk is running on
func Extract ¶ added in v0.2.0
Extract the magic from io.Reader. In case of unknown Magic, it returns DevNet
func MagicFromConfig ¶
func MagicFromConfig() Magic
MagicFromConfig reads the loaded magic config and tries to map it to magic identifier. Panic, if no match found.
type ServiceFlag ¶
type ServiceFlag uint64
ServiceFlag indicates the services provided by the Node.
const ( // FullNode indicates that a user is running the full node implementation of Dusk FullNode ServiceFlag = 1 )
Click to show internal directories.
Click to hide internal directories.