diff --git a/kernel/hack.go b/kernel/hack.go index 121160754..4e6a29acc 100644 --- a/kernel/hack.go +++ b/kernel/hack.go @@ -3,6 +3,6 @@ package kernel const ( mainnetConsensusOperationElectionForkAt = uint64(1701388800000000000) mainnetConsensusNodeRemovalTimeForkAt = uint64(1706400000000000000) - mainnetMintDayGapSkipForkBatch = uint64(1810) + mainnetMintDayGapSkipForkBatch = uint64(1800) mainnetNodeRemovalHackSnapshotHash = "b5a9ab66e3b5d24328f8f87bc38e90f0c426dc38413200bb8ecf7f5b8607a5f9" ) diff --git a/p2p/handle.go b/p2p/handle.go index 4387f07d1..fc7889adf 100644 --- a/p2p/handle.go +++ b/p2p/handle.go @@ -436,7 +436,7 @@ func (me *Peer) loopHandlePeerMessage(peerId crypto.Hash, receive chan *PeerMess } func (me *Peer) relayOrHandlePeerMessage(relayerId crypto.Hash, msg *PeerMessage) error { - logger.Printf("me.relayOrHandlePeerMessage(%s, %s) => %s %v", me.Address, me.IdForNetwork, relayerId, msg.Data) + logger.Verbosef("me.relayOrHandlePeerMessage(%s, %s) => %s %v", me.Address, me.IdForNetwork, relayerId, msg.Data) if len(msg.Data) < 64 { return nil } @@ -445,7 +445,7 @@ func (me *Peer) relayOrHandlePeerMessage(relayerId crypto.Hash, msg *PeerMessage copy(to[:], msg.Data[32:64]) if to == me.IdForNetwork { rm, err := parseNetworkMessage(msg.version, msg.Data[64:]) - logger.Printf("me.relayOrHandlePeerMessage.ME(%s, %s) => %s %v %v", me.Address, me.IdForNetwork, from, rm, err) + logger.Verbosef("me.relayOrHandlePeerMessage.ME(%s, %s) => %s %v %v", me.Address, me.IdForNetwork, from, rm, err) if err != nil { return err }