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

ethcore / parity / 3861 / 2
73%
master: 73%

Build:
DEFAULT BRANCH: master
Ran 29 Aug 2016 10:08AM UTC
Files 265
Run time 11s
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 Aug 2016 09:35AM UTC coverage: 86.37% (+0.05%) from 86.323%
RUN_COVERAGE="true"

push

travis-ci

arkpar
Make the block header struct's internals private (#2000)

* Make the block header struct's internals private

Currently, this involves a lot of explicit cloning, but we
could migrate the return types of the get_* functions to
be copies rather than references since they are mostly copy
types anyway.

I opted to eliminate the constructor in favor of using
Default::default() plus calling a bunch of setters. This
is similar to the model that a Google Protobuf client uses
and I think it looks fine.

* Drop some unnecessary cloning by comparing references

* Fix compiler errors from callsites in tests.

23312 of 26991 relevant lines covered (86.37%)

0.86 hits per line

Source Files on job 3861.2 (RUN_COVERAGE="true")
  • Tree
  • List 0
  • Changed 14
  • Source Changed 0
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3861
  • Travis Job 3861.2
  • 4389742c on github
  • Prev Job for RUN_COVERAGE="true" on master (#3859.2)
  • Next Job for RUN_COVERAGE="true" on master (#3863.2)
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