• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

neo-project / neo / 12536801072
79%

Build:
DEFAULT BRANCH: master
Ran 29 Dec 2024 04:03PM UTC
Jobs 1
Files 557
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Dec 2024 03:58PM UTC coverage: 55.541% (+0.002%) from 55.539%
12536801072

push

github

web-flow
P2P: fix `UnknownCapability`validation and maintainig (#3647)

* P2P: allow to serialize UnknownCapability

Otherwise it can't be properly passed through the P2P network which makes
it impossible to use UnknownCapabilities as an extensions in the existing
networks.

Follow https://github.com/nspcc-dev/neo-go/pull/3778.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>

* P2P: fix verification rules for NetworkAddressWithTime

Without this commit every `Addr` message containing UnknownCapability
will be considered as invalid. The desired behaviour is to include node
with UnknownCapability into the list of peers.

Follow the https://github.com/nspcc-dev/neo-go/pull/3778, should be a
part of https://github.com/neo-project/neo/pull/3639.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>

* P2P: don't strip UnknownCapabilities from node's version

Make the behaviour compatible with
https://github.com/nspcc-dev/neo-go/pull/3778.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>

---------

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>

5962 of 9228 branches covered (64.61%)

Branch coverage included in aggregate %.

5 of 9 new or added lines in 6 files covered. (55.56%)

1 existing line in 1 file now uncovered.

22106 of 41308 relevant lines covered (53.52%)

83889.2 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% tests/Neo.UnitTests/Network/P2P/Capabilities/UT_UnknownCapability.cs
1
0.0
0.0% tests/Neo.UnitTests/Network/P2P/Payloads/UT_NetworkAddressWithTime.cs
2
0.0
0.0% tests/Neo.UnitTests/Network/P2P/Payloads/UT_VersionPayload.cs

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% tests/Neo.UnitTests/Network/P2P/Payloads/UT_VersionPayload.cs
Jobs
ID Job ID Ran Files Coverage
1 12536801072.1 29 Dec 2024 04:03PM UTC 2928
22.65
GitHub Action Run
Source Files on build 12536801072
  • Tree
  • List 557
  • Changed 325
  • Source Changed 6
  • Coverage Changed 322
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #12536801072
  • d55f0a1f on github
  • Prev Build on master (#12514201180)
  • Next Build on master (#12554947074)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc