Files
openethereum/parity
Nipunn Koorapati 4389742ca3 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.
2016-08-29 11:35:23 +02:00
..
2016-08-03 17:58:22 +02:00
2016-08-22 19:41:58 +03:00
2016-08-24 18:35:38 +02:00
2016-08-23 16:53:24 +02:00
2016-08-23 19:28:21 +02:00
2016-08-05 11:06:01 +02:00
2016-08-22 19:41:58 +03:00
2016-08-24 18:35:38 +02:00
2016-08-24 18:35:38 +02:00
2016-08-17 16:06:41 +02:00
2016-08-05 10:32:04 +02:00
2016-08-23 19:28:21 +02:00
2016-08-23 16:53:24 +02:00
2016-08-24 18:35:38 +02:00
2016-08-24 18:35:38 +02:00
2016-07-17 23:00:57 +02:00
2016-08-23 13:53:27 +08:00