Skip to content

Commit

Permalink
update to version 1.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
nibty committed Jan 31, 2024
1 parent cad15bf commit ff93896
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions gossip/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,9 @@ func (h *handler) handle(p *peer) error {
if !useless && (!eligibleForSnap(p.Peer) || !strings.Contains(strings.ToLower(p.Name()), "x1")) {
useless = true
discfilter.Ban(p.ID())
} else if strings.Contains(strings.ToLower(p.Name()), "1.1.3") {
log.Warn("ignore v1.1.3 peer", "peer", p.ID(), "name", p.Name())
return p2p.DiscTooManyPeers
}
if !p.Peer.Info().Network.Trusted && useless {
if h.peers.UselessNum() >= h.maxPeers/10 {
Expand Down
4 changes: 2 additions & 2 deletions version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
func init() {
params.VersionMajor = 1 // Major version component of the current release
params.VersionMinor = 1 // Minor version component of the current release
params.VersionPatch = 3 // Patch version component of the current release
params.VersionMeta = "rc.6" // Version metadata to append to the version string
params.VersionPatch = 4 // Patch version component of the current release
params.VersionMeta = "rc.1" // Version metadata to append to the version string
}

func BigToString(b *big.Int) string {
Expand Down

0 comments on commit ff93896

Please sign in to comment.