Commit Graph

8 Commits

Author SHA1 Message Date
Gav Wood 17cc2be4b5
Rename ethcore -> parity in license. 2016-12-11 19:30:54 +01:00
debris 996b4b9dc0 fixed transaction addresses mapping, fixes #1971 2016-08-31 16:55:43 +02:00
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
debris e8c451ac82 cleaning up hash reexports 2016-08-03 18:05:17 +02:00
Tomasz Drwięga ab42ec8c81 Removing unneeded lifetime 2016-03-07 14:40:39 +01:00
debris 32074cc420 fixed compilation issue caused by incorrect merge 2016-03-02 05:55:42 +01:00
debris 010659cf12 added missing , in comment 2016-03-02 04:54:47 +01:00
debris 68ba016279 improved blockchain generator 2016-03-02 04:25:03 +01:00