mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-12-27 17:15:18 +00:00
11ff272daf
* v1.4.17 – Aurora * binaries, digests, and first signature * signer #3 verified * signer #8 verified * signer #14 verified * signer #12 verified * Add signatures (#170) * Add files via upload (#171) * signer #4 verified * signer #11 verified * signer #16 verified * signer #1 verified * remove binaries from repo, release ready --------- Co-authored-by: Agost Biro <5764438+agostbiro@users.noreply.github.com> Co-authored-by: Demipoet <161999657+demipoet@users.noreply.github.com>
30 lines
478 B
Go
30 lines
478 B
Go
package config
|
|
|
|
import (
|
|
"fmt"
|
|
"time"
|
|
)
|
|
|
|
func GetMinimumVersionCutoff() time.Time {
|
|
return time.Date(2024, time.April, 4, 6, 20, 0, 0, time.UTC)
|
|
}
|
|
|
|
func GetMinimumVersion() []byte {
|
|
return []byte{0x01, 0x04, 0x10}
|
|
}
|
|
|
|
func GetVersion() []byte {
|
|
return []byte{0x01, 0x04, 0x11}
|
|
}
|
|
|
|
func GetVersionString() string {
|
|
return FormatVersion(GetVersion())
|
|
}
|
|
|
|
func FormatVersion(version []byte) string {
|
|
return fmt.Sprintf(
|
|
"%d.%d.%d",
|
|
version[0], version[1], version[2],
|
|
)
|
|
}
|