mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-12-26 08:35:17 +00:00
5a3af70dc8
* v1.4.13 * adjust blossomsub param
30 lines
479 B
Go
30 lines
479 B
Go
package config
|
|
|
|
import (
|
|
"fmt"
|
|
"time"
|
|
)
|
|
|
|
func GetMinimumVersionCutoff() time.Time {
|
|
return time.Date(2024, time.March, 27, 8, 30, 0, 0, time.UTC)
|
|
}
|
|
|
|
func GetMinimumVersion() []byte {
|
|
return []byte{0x01, 0x04, 0x0D}
|
|
}
|
|
|
|
func GetVersion() []byte {
|
|
return []byte{0x01, 0x04, 0x0D}
|
|
}
|
|
|
|
func GetVersionString() string {
|
|
return FormatVersion(GetVersion())
|
|
}
|
|
|
|
func FormatVersion(version []byte) string {
|
|
return fmt.Sprintf(
|
|
"%d.%d.%d",
|
|
version[0], version[1], version[2],
|
|
)
|
|
}
|