mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-12-26 08:35:17 +00:00
0803d95573
* experimental priority sync * get more aggressive about uncooperative ranking * v1.4.10
26 lines
411 B
Go
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, 0x0A}
|
|
}
|
|
|
|
func GetVersionString() string {
|
|
return fmt.Sprintf(
|
|
"%d.%d.%d",
|
|
GetVersion()[0], GetVersion()[1], GetVersion()[2],
|
|
)
|
|
}
|