ceremonyclient/node/config/version.go
Cassandra Heart 3001611197
v1.4.9 (#131)
2024-03-17 16:14:37 -05:00

26 lines
411 B
Go

package config
import (
"fmt"
"time"
)
func GetMinimumVersionCutoff() time.Time {
return time.Date(2024, time.March, 15, 4, 20, 0, 0, time.UTC)
}
func GetMinimumVersion() []byte {
return []byte{0x01, 0x04, 0x08}
}
func GetVersion() []byte {
return []byte{0x01, 0x04, 0x09}
}
func GetVersionString() string {
return fmt.Sprintf(
"%d.%d.%d",
GetVersion()[0], GetVersion()[1], GetVersion()[2],
)
}