Commit Graph

11 Commits

Author SHA1 Message Date
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
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
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 799d03254f Serialization with serde. 2017-11-10 21:31:48 +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