package
1.2.20
Repository: https://github.com/qitmeer/qng-core.git
Documentation: pkg.go.dev

# Functions

hasServices returns whether or not the provided advertised service flags have all of the provided desired service flags set.
MissingServices returns what missing service flags from the advertised flags to the desired flags set.

# Constants

a peer supports bloom filtering.
a peer supports committed filters (CFs).
full node.
InitialProcotolVersion is the initial protocol version for the network.
light node.
MainNet represents the main network.
MixNet represents the Mix Pow network.
Observer.
PrivNet represents the private test network.
ProtocolVersion is the latest protocol version this package supports.
Relay.
TestNet2 represents the test network.
None.

# Type aliases

Network represents which qitmeer network a message belongs to.
ServiceFlag identifies services supported by a peer node.