* verification run

* ceasefire
This commit is contained in:
Cassandra Heart 2024-03-14 23:28:03 -05:00 committed by GitHub
parent cc1e304119
commit 1b11e07095
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 17 additions and 9 deletions

View File

@ -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 {

View File

@ -353,11 +353,19 @@ func (e *CeremonyDataClockConsensusEngine) publishProof(
"publishing frame and aggregations", "publishing frame and aggregations",
zap.Uint64("frame_number", frame.FrameNumber), zap.Uint64("frame_number", frame.FrameNumber),
) )
if err := e.publishMessage(e.filter, frame); err != nil { head, err := e.dataTimeReel.Head()
return errors.Wrap( if err != nil {
err, panic(err)
"publish proof", }
)
peers, max, err := e.GetMostAheadPeer()
if err != nil || len(peers) == 0 || head.FrameNumber+3 > max {
if err := e.publishMessage(e.filter, frame); err != nil {
return errors.Wrap(
err,
"publish proof",
)
}
} }
return nil return nil

View File

@ -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)