Documentation
¶
Index ¶
Constants ¶
View Source
const ( ShareValid = 0 ShareStale = 1 ShareInvalid = 2 )
View Source
const GethNode = 0
GethNode specifies NodeType for Geth (go-ethereum)
View Source
const OpenEthereumNode = 1
OpenEthereumNode specifies NodeType for OpenEthereum (formerly Parity Ethereum)
Variables ¶
View Source
var NodeStringMap = map[NodeType]string{ GethNode: "Geth", OpenEthereumNode: "OpenEthereum", }
NodeStringMap is a mapping that allows to quickly access the name of node
View Source
0: "valid",
1: "stale",
2: "invalid",
}
ShareTypeNameMap has ShareType => <Share name (String)> mapping
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.