ceremonyclient/node/config/version.go
Cassandra Heart 5afabc401b
V1.4.12 (#142)
* v1.4.12

* small logging adjust
2024-03-23 15:26:57 -05:00

26 lines
411 B
Go

package config
import (
"fmt"
"time"
)
func GetMinimumVersionCutoff() time.Time {
return time.Date(2024, time.March, 21, 5, 00, 0, 0, time.UTC)
}
func GetMinimumVersion() []byte {
return []byte{0x01, 0x04, 0x0B}
}
func GetVersion() []byte {
return []byte{0x01, 0x04, 0x0C}
}
func GetVersionString() string {
return fmt.Sprintf(
"%d.%d.%d",
GetVersion()[0], GetVersion()[1], GetVersion()[2],
)
}