package
1.9.15-temp-stability-tests
Repository: https://github.com/kaspanet/kaspad.git
Documentation: pkg.go.dev

# Functions

AreEqual returns true if both slices contain the same IDs.
Decode decodes the byte-reversed hexadecimal string encoding of a SubnetworkID to a destination.
Less returns true iff id a is less than id b.
New returns a new ID from a byte slice.
NewFromStr creates a SubnetworkID from a string.
Strings returns a slice of strings representing the IDs in the given slice of IDs.
ToBig converts a SubnetworkID into a big.Int that can be used to perform math comparisons.

# Constants

IDLength of array used to store the subnetwork ID.
MaxStringSize is the maximum length of a SubnetworkID string.

# Variables

ErrIDStrSize describes an error that indicates the caller specified an ID string that has too many characters.
SubnetworkIDCoinbase is the subnetwork ID which is used for the coinbase transaction.
SubnetworkIDNative is the default subnetwork ID which is used for transactions without related payload data.
SubnetworkIDRegistry is the subnetwork ID which is used for adding new sub networks to the registry.

# Type aliases

SubnetworkID is used in several of the kaspa messages and common structures.