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

Chia-Network / chia-blockchain / 28459187561

30 Jun 2026 04:16PM UTC coverage: 91.645% (-0.02%) from 91.668%
28459187561

push

github

web-flow
[CHIA-4256] Make farmer resilient to malformed pool difficulty responses (#21009)

* Reject malformed pool difficulty values at the HTTP boundary.

Parse GET /pool_info and POST /partial responses through typed pool
protocol schemas, skip invalid per-pool difficulties in new_signage_point,
and add tests for boundary rejection and per-pool fault isolation.

* Record invalid partial stats and reject pool_info error responses.

Keep GET /pool_info error_code handling consistent with prior behavior,
and count malformed POST /partial success bodies as invalid partials.

* Test pool_info error_code rejection at the HTTP boundary.

* Consolidate pool info difficulty regression tests.

Fold the GET /pool_info rejection cases into the existing pool info configuration table so the same boundary behavior is covered without duplicate setup.

10989 of 12190 branches covered (90.15%)

Branch coverage included in aggregate %.

61 of 61 new or added lines in 3 files covered. (100.0%)

72 existing lines in 8 files now uncovered.

113857 of 124038 relevant lines covered (91.79%)

1.84 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

88.33
/chia/full_node/full_node.py


Source Not Available

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

© 2026 Coveralls, Inc