changed NetworkDomain.Prefix format from []byte to string for more conveniant input

This commit is contained in:
vadym 2022-12-09 13:51:21 +02:00
parent f84f0a5f19
commit 3e72a57ec5
9 changed files with 34 additions and 27 deletions

View file

@ -43,15 +43,15 @@ type NodeConfig struct {
}
type MulticastInterfaceConfig struct {
Regex string
Beacon bool
Listen bool
Port uint16
Regex string
Beacon bool
Listen bool
Port uint16
Priority uint64 // really uint8, but gobind won't export it
}
type NetworkDomainConfig struct {
Prefix [1]byte
Prefix string
}
// NewSigningKeys replaces the signing keypair in the NodeConfig with a new