mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-12-25 16:15:17 +00:00
parent
cc1e304119
commit
1b11e07095
@ -6,15 +6,15 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func GetMinimumVersionCutoff() time.Time {
|
func GetMinimumVersionCutoff() time.Time {
|
||||||
return time.Date(2024, time.March, 10, 5, 30, 0, 0, time.UTC)
|
return time.Date(2024, time.March, 15, 4, 20, 0, 0, time.UTC)
|
||||||
}
|
}
|
||||||
|
|
||||||
func GetMinimumVersion() []byte {
|
func GetMinimumVersion() []byte {
|
||||||
return []byte{0x01, 0x04, 0x05}
|
return []byte{0x01, 0x04, 0x08}
|
||||||
}
|
}
|
||||||
|
|
||||||
func GetVersion() []byte {
|
func GetVersion() []byte {
|
||||||
return []byte{0x01, 0x04, 0x07}
|
return []byte{0x01, 0x04, 0x08}
|
||||||
}
|
}
|
||||||
|
|
||||||
func GetVersionString() string {
|
func GetVersionString() string {
|
||||||
|
@ -353,12 +353,20 @@ func (e *CeremonyDataClockConsensusEngine) publishProof(
|
|||||||
"publishing frame and aggregations",
|
"publishing frame and aggregations",
|
||||||
zap.Uint64("frame_number", frame.FrameNumber),
|
zap.Uint64("frame_number", frame.FrameNumber),
|
||||||
)
|
)
|
||||||
|
head, err := e.dataTimeReel.Head()
|
||||||
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
|
||||||
|
peers, max, err := e.GetMostAheadPeer()
|
||||||
|
if err != nil || len(peers) == 0 || head.FrameNumber+3 > max {
|
||||||
if err := e.publishMessage(e.filter, frame); err != nil {
|
if err := e.publishMessage(e.filter, frame); err != nil {
|
||||||
return errors.Wrap(
|
return errors.Wrap(
|
||||||
err,
|
err,
|
||||||
"publish proof",
|
"publish proof",
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
@ -59,7 +59,7 @@ var BITMASK_ALL = []byte{
|
|||||||
// While we iterate through these next phases, we're going to aggressively
|
// While we iterate through these next phases, we're going to aggressively
|
||||||
// enforce keeping updated. This will be achieved through announce strings
|
// enforce keeping updated. This will be achieved through announce strings
|
||||||
// that will vary with each update
|
// that will vary with each update
|
||||||
var ANNOUNCE = "quilibrium-1.4.5-sunset-mirage"
|
var ANNOUNCE = "quilibrium-1.4.8-sunset-ceasefire"
|
||||||
|
|
||||||
func getPeerID(p2pConfig *config.P2PConfig) peer.ID {
|
func getPeerID(p2pConfig *config.P2PConfig) peer.ID {
|
||||||
peerPrivKey, err := hex.DecodeString(p2pConfig.PeerPrivKey)
|
peerPrivKey, err := hex.DecodeString(p2pConfig.PeerPrivKey)
|
||||||
|
Loading…
Reference in New Issue
Block a user