Skip to content

Enable P2P peer scoring in host and add concrete sync request score updates - #5014

Open
GheisMohammadi wants to merge 1 commit into
devfrom
feature/p2p_peer_scoring
Open

Enable P2P peer scoring in host and add concrete sync request score updates#5014
GheisMohammadi wants to merge 1 commit into
devfrom
feature/p2p_peer_scoring

p2p: enable peer score gating and record sync req/resp scores

a4b3dd5
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Mar 5, 2026 in 19m 41s

Build Passed

The build passed, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #5014 Enable P2P peer scoring in host and add concrete sync request score updates.
Any changes that have been made to the dev branch before the build ran are also included.

Jobs and Stages

This build has four jobs, running in parallel.

Job Go ENV OS State
16440.1 1.24.2 TEST="make" Linux passed
16440.2 1.24.2 TEST="bash ./scripts/travis_go_checker.sh" Linux passed
16440.3 1.24.2 TEST="bash ./scripts/travis_rpc_checker.sh" Linux passed
16440.4 1.24.2 TEST="bash ./scripts/travis_pyhmy_checker.sh" Linux passed

Build Configuration

Build Option Setting
Language Go
Operating System Linux (Jammy)
Go Version 1.24.2
Build Configuration
{
  "language": "go",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "go": [
    "1.24.2"
  ],
  "go_import_path": "github.com/harmony-one/harmony",
  "cache": {
    "directories": [
      "docker_images",
      "$HOME/.cache/go-build",
      "$GOPATH/pkg/mod"
    ]
  },
  "env": [
    "jobs={:TEST=>\"\\\"make\\\"\"}={:TEST=>\"\\\"bash ./scripts/travis_go_checker.sh\\\"\"}={:TEST=>\"\\\"bash ./scripts/travis_rpc_checker.sh\\\"\"}={:TEST=>\"\\\"bash ./scripts/travis_pyhmy_checker.sh\\\"\"}"
  ],
  "if": "type = pull_request OR (repo = harmony-one/harmony AND (branch = main OR branch = dev))\n",
  "before_install": [
    "echo \"deb https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable\" | sudo tee /etc/apt/sources.list.d/docker.list >/dev/null",
    "sudo apt-get update",
    "sudo apt-get -y -o Dpkg::Options::=\"--force-confnew\" install docker-ce"
  ],
  "install": [
    "git clone https://github.com/harmony-one/mcl.git $GOPATH/src/github.com/harmony-one/mcl",
    "git clone https://github.com/harmony-one/bls.git $GOPATH/src/github.com/harmony-one/bls",
    "git clone https://github.com/harmony-one/harmony-test.git $GOPATH/src/github.com/harmony-one/harmony-test",
    "(cd $GOPATH/src/github.com/harmony-one/mcl; make -j4)",
    "(cd $GOPATH/src/github.com/harmony-one/bls; make BLS_SWAP_G=1 -j4)",
    "make go-get",
    "go install golang.org/x/tools/cmd/goimports@v0.30.0",
    "go install github.com/fjl/gencodec@v0.1.1",
    "echo \"[WARN] - workaround for the GOPATH:\"",
    "rm $GOPATH/src/github.com/harmony-one/harmony || true;",
    "mv /home/travis/build/harmony-one/harmony $GOPATH/src/github.com/harmony-one/"
  ],
  "script": [
    "${TEST}"
  ],
  "after_success": [
    "wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh",
    "chmod +x send.sh",
    "./send.sh success $WEBHOOK_URL"
  ],
  "after_failure": [
    "wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh",
    "chmod +x send.sh",
    "./send.sh failure $WEBHOOK_URL"
  ]
}