Commit Graph

168 Commits

Author SHA1 Message Date
keorn c0201bd891 replace cli with engine method, simplify 2016-09-12 11:07:40 +02:00
keorn 3a68fab066 new simple authority engine 2016-09-08 12:12:24 +02:00
keorn 91fbaf935c Merge remote-tracking branch 'parity/master' into bft
Conflicts:
	ethcore/src/client/client.rs
2016-09-05 18:16:09 +02:00
keorn 2f3d162f57 Merge remote-tracking branch 'parity/master' into bft 2016-08-31 18:19:24 +02:00
keorn 4025645188 accumulate seal in precommit 2016-08-29 12:09:51 +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
keorn a12a764d6c add rounds check, simplify tests 2016-08-26 19:27:50 +02:00
keorn fcae03e55f propose message test 2016-08-25 19:22:10 +02:00
keorn 77f06be7fb fix error propagation 2016-08-24 15:55:47 +02:00
keorn 1cb3c164da propose step 2016-08-24 11:58:49 +02:00
keorn 99a143eb37 change broadcast interface, add basic message handling 2016-08-23 17:19:23 +02:00
keorn 3aa862c9c2 add test, start tendermint 2016-08-23 12:58:40 +02:00
keorn 2f5aeda44f reusable voting on hashes 2016-08-22 13:19:23 +02:00
keorn 74939a43d6 fix types and lifetimes 2016-08-21 15:27:39 +02:00
keorn 8da38fa98b intro simple seal bft engine 2016-08-19 17:18:30 +02:00
Gav Wood ccdf80f4dc Fix several RPCs (#1926)
* Fix up pending receipts details.

* Add support for additional params and registry over RPC.

* Fix tests.

* Add test, additional fix.

Fixes #1932.

* Fix up tests.

* Fix test.

* Fix test.
2016-08-17 19:25:02 +02:00
keorn b672d51a74 Instant sealing engine (#1767)
* add an instant sealing engine

* add sealing engine tests

* rename to InstantSeal

* update name in json

* whitespace

[ci:skip]
2016-07-30 14:42:31 -07:00
keorn 11cb544c24 Collect consensus/null engines into a single module (#1754)
* collect consesnsus engine code into module

* move Engine to mod

* fix json test
2016-07-28 20:32:20 +02:00