Robert Habermeier
de65de4758
fix tests after merge
2018-02-06 14:44:25 +01:00
Robert Habermeier
5a675e9c64
fix most issues with compiling on WASM
2018-02-06 12:02:03 +01:00
Robert Habermeier
2bc7c57359
reintroduce slicable to primitives
2018-02-05 16:15:45 +01:00
Robert Habermeier
188332cc4b
extract out all primitives
2018-02-01 11:13:55 +01:00
Arkadiy Paronyan
44499550d9
Networking and in-memory client ( #38 )
...
* Networking crate draft
* Started work on syncing algo
* Fixed query range
* BlockCollection tests
* In-mem client backend
* Fixed tests
* Renamed Transaction
* Removed stray println
* Docs
2018-01-30 18:49:52 +01:00
Gav Wood
3402f169a7
Introduce basic skeleton for Polkadot runtime. ( #32 )
...
* Introduce basic skeleton for Polkador runtime.
* Clean up the runtime skeleton.
* Make initial runtime skeleton compile.
* Compile polkadot-runtime both for Wasm ad native, allowing for testing and direct usage.
* More fleshing out on runtime.
* Update native support.
* Fix warning.
* Update gitignore
* Update path.
* Fix path.
* Remove accidentally committed files.
* Add wasm binaries.
* Fix test.
* Native storage support API.
* Add environmental module
* Add native environment to make native source-code compatible with wasm.
Also tests.
* Finish up & polish environment stuff.
* Avoid using reentrancy issues.
* Add some docs and a test.
* Remove unneeded function.
* Documentation
* Tweak docs
* Remove TODOs.
* Balance transfers + util methods.
* Rejig tests and ensure authorities are addressed consistently.
* Add marshaller for xfer function
* Transaction dispatch test.
* Minor fix.
* Add test for ser/de transaction.
* Add ser/de for header.
* Add tests for header ser/de
* Introduce basic block decoding/execution framework.
* Introduce block decoding/execution framework (p2)
* Big refactor.
* Split out joiner.
* Hide away support modules.
* Fix up wasm runtime.
* use externalities for chain_id
* Clean up (Test)Externalities.
* Repot and introduce keccak-256 external.
* Signing with crypto.
* fix unsafety hole in environmental using function
* Introduce Ed25519 crypto.
* Repotting.
* Add ed25519_verify external.
* Introduce Ed25519 verify as an external.
* fix unsafety hole around unwinding
* Compile fixes.
* use new environmental API
* Tests for ed25519 verify.
* Polish
* Introduce UncheckedTransaction & test.
* Implement basic block and tx processing
* Introduce static hex and valid signature for block test.
* Repot session.
* comments.
* Refactor and timestamp test
* Remove fluff
* Remove fluff.
* Staking eras and tests.
* Implement sessions.
* Polish
* Test sessions.
* Introduce better hashing.
- Blake2 for secure hashing
- XX for fast hashing
* Fix tests.
* Introduce staking.
* Tests for simple staking system.
* Build fix for wasm.
* Fix tests.
* Repotting and docs.
* Docs and licence.
* Documentation.
* Remove superfluous code.
* Remove dummy key.
* Remove other superfluous file.
* Optimise with swap_remove
2018-01-23 15:24:17 +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
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
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
1f3c2f7148
More compact bytes serialization and code re-use.
2017-11-11 11:52:00 +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