Commit Graph

34 Commits

Author SHA1 Message Date
Robert Habermeier 6da40e8a7a kill unused macro_use annotation 2017-12-18 11:08:43 +01:00
Robert Habermeier 9a030d6e09 simple BFT agreement 2017-12-18 11:08:29 +01:00
Robert Habermeier afdc9d69e2 fix primitives compilation 2017-12-14 11:56:14 +01:00
Robert Habermeier 8d433278de Merge branch 'master' into rh-candidate-agreement 2017-12-14 11:54:25 +01:00
Robert Habermeier 233d88fdb8 keep track of messages known by validators 2017-12-13 18:45:08 +01:00
Robert Habermeier 655b8ce275 count candidate issuance as implicit vote 2017-12-13 16:41:58 +01:00
Robert Habermeier 9612e1d7c1 Minimal collation work-flow and necessary traits (#25)
* collator crate skeleton and description

* parachain primitives: proof -> witness and egress format

* collation of ingress queues through trait

* add ingress collation test

* structure for collated ingress

* add collated ingress to proposal

* witness -> proof

* ingress collation and candidate creation + code cleanup

* update collator lib to new definitions

* address formatting grumble
2017-12-13 15:04:58 +01:00
Robert Habermeier 57f6dd4cc5 produce proposal from table 2017-12-13 12:12:26 +01:00
Robert Habermeier ee05b9dbdf some tests for misbehavior 2017-12-13 10:39:33 +01:00
Robert Habermeier f8a28e4de4 add harness for tests 2017-12-13 10:11:41 +01:00
Robert Habermeier 45ac233cd1 test context for table 2017-12-12 18:27:24 +01:00
Robert Habermeier 2fa8fad0ef make table mod public 2017-12-12 18:13:08 +01:00
Robert Habermeier 47d93e2cbd candidate receipt type 2017-12-12 18:09:07 +01:00
Robert Habermeier 10312920b5 import availability votes 2017-12-12 17:57:03 +01:00
Robert Habermeier cf4e4d7001 import votes on validity 2017-12-12 17:48:13 +01:00
Robert Habermeier 4ec91d687c candidate statement importing 2017-12-12 17:24:28 +01:00
Tomasz Drwięga 55e74cd426 Update some types and interfaces to match the spec (#24)
* Update primitives.

* Fix validator interface.
2017-12-04 16:51:43 +01:00
Guanqun Lu d17dcc1893 move version out of yaml and let it populate dynamically from package info (#26) 2017-12-04 14:57:13 +01:00
Tomasz Drwięga db78e5fb4c RPC & Client (#21)
* Initial version of http server.

* Refactor the structure.

* add unassigned ports info.

* Rename servers to match conventions.

* Add client crate and some proper RPC implementations.

* Style & docs.
2017-11-15 19:29:14 +01:00
Tomasz Drwięga 0ceebe6625 camel case and deny (#20) 2017-11-13 20:51:30 +01:00
Robert Habermeier 3dfafb5ec3 State Machine: Abstract function execution (#19)
* initial primitives

* add block primitives

* state machine: backend

* in-memory backend

* tests for overlayed storage

* blanked impl for state machine error

* abstract call execution

* squash warnings temporarily

* fix contracts crate

* address grumbles

* remove redundant state-machine dependency
2017-11-13 16:39:58 +01:00
Tomasz Drwięga 2fa0239dab State machine crate and rust impl of executor (#17)
* Executor.

* Rust contracts implementation.

* Add documentation and fix transfer data.

* Fix auth contract interface.

* Add some executor tests.

* Validator set contract.
2017-11-12 16:53:11 +01:00
Tomasz Drwięga e9177294f6 Initial validator trait. (#14)
* Initial validator trait.

* Add missing docs warning.

* Fix formatting.

* Fix validator output and serialization.

* Get rid of redundant ValidationCode type.
2017-11-12 16:48:35 +01:00
Tomasz Drwięga 2d08a51f8a Fix naming and code. 2017-11-11 12:53:38 +01:00
Tomasz Drwięga 1f3c2f7148 More compact bytes serialization and code re-use. 2017-11-11 11:52:00 +01:00
Tomasz Drwięga e2c97a3656 Add tests for invalid cases. 2017-11-10 21:45:23 +01:00
Tomasz Drwięga a08fda16b7 Merge branch 'master' into td-serialization 2017-11-10 21:32:32 +01:00
Tomasz Drwięga 799d03254f Serialization with serde. 2017-11-10 21:31:48 +01:00
Tomasz Drwięga ff626bd5a1 Travis build. (#12) 2017-11-10 15:12:41 +01:00
Robert Habermeier 74ec849f7e Block primitive (#11)
* initial primitives

* add block primitives
2017-11-10 15:03:40 +01:00
Tomasz Drwięga dbb123d09c Uint & Hash types. (#10)
* Uint & Hash types.

* Fix author

* Rename crate to primitives.
2017-11-10 13:34:36 +01:00
Tomasz Drwięga da44b3fcfa Use yaml. 2017-11-10 12:36:47 +01:00
Tomasz Drwięga 5c57479348 CLI crate. 2017-11-10 12:19:47 +01:00
Robert Habermeier 72dba98250 initial commit 2017-11-07 19:15:12 +01:00