Gav Wood
1e01162505
Phase 1 of repo reorg ( #719 )
...
* Remove unneeded script
* Rename Substrate Demo -> Substrate
* Rename demo -> node
* Build wasm from last rename.
* Merge ed25519 into substrate-primitives
* Minor tweak
* Rename substrate -> core
* Move substrate-runtime-support to core/runtime/support
* Rename/move substrate-runtime-version
* Move codec up a level
* Rename substrate-codec -> parity-codec
* Move environmental up a level
* Move pwasm-* up to top, ready for removal
* Remove requirement of s-r-support from s-r-primitives
* Move core/runtime/primitives into core/runtime-primitives
* Remove s-r-support dep from s-r-version
* Remove dep of s-r-support from bft
* Remove dep of s-r-support from node/consensus
* Sever all other core deps from s-r-support
* Forgot the no_std directive
* Rename non-SRML modules to sr-* to avoid match clashes
* Move runtime/* to srml/*
* Rename substrate-runtime-* -> srml-*
* Move srml to top-level
2018-09-12 11:13:31 +02:00
Chevdor
da56ae7e46
Remove polkadot doc from substrate ( #700 )
...
* Improve doc
- convert some md to adoc
- include contrib docs to the main readme
- add readme for some packages and include them
* Bring changes from 46c9333fff into the replacing adoc file
* Minor fixes
* Remove files irrelevant for substrate
* Remove old polkadot related doc
2018-09-11 12:57:19 +02:00
Gav Wood
33a2e27c47
Revert "fix wasm executor compile error ( #631 )" ( #642 )
...
This reverts commit b7ef395cc1 .
2018-09-05 12:12:59 +02:00
woodsmur
b7ef395cc1
fix wasm executor compile error ( #631 )
2018-08-31 17:28:47 +02:00
Guanqun Lu
5c8b52ba16
fix one typo in README ( #627 )
2018-08-29 11:25:20 +02:00
Gav Wood
278a054b81
Introduce Runtime Events ( #607 )
...
* Squashed commit.
New slashing mechanism (#554 ) …
* Slashing improvements
- unstake when balance too low
- unstake after N slashes according to val prefs
- don't early-terminate session/era unless unstaked
- offline grace period before punishment
* Fix warning
* Cleanups and ensure slash_count decays
* Bump authoring version and introduce needed authoring stub
* Rename
* Fix offline tracker
* Fix offline tracker
* Renames
* Add test
* Tests
* Tests.
Remove accidental merge files.
Merge remote-tracking branch 'origin/master' into gav-new-pos
Version bump, fixes (#572 ) …
* Bump version, don't propose invalid blocks
* Fix build.
* Fixes.
* More fixes.
* Fix tests.
* Fix more tests
* More tests fixed
Fix merge
Fix accidental merge bug
Fixes.
Staking failsafes …
- Don't slash/unstake/change session when too few staking participants
- Introduce set_balance PrivCall
Make minimum validator count dynamic.
test fixes
Fix tests.
Fix tests
Fix tests, update readme.
Merge remote-tracking branch 'origin/master' into gav-new-pos
Test with release.
Use safe math when dealing with total stake
Fix test again.
Introduce events into runtime.
Fix tests
Add events for account new/reap
Integration-style tests for events.
* Remove old code
2018-08-28 12:11:40 +01:00
Gav Wood
f59bcd15da
New slashing logic ( #570 )
...
* New slashing mechanism (#554 )
* Slashing improvements
- unstake when balance too low
- unstake after N slashes according to val prefs
- don't early-terminate session/era unless unstaked
- offline grace period before punishment
* Fix warning
* Cleanups and ensure slash_count decays
* Bump authoring version and introduce needed authoring stub
* Rename
* Fix offline tracker
* Fix offline tracker
* Renames
* Add test
* Tests
* Tests.
* Remove accidental merge files.
* Version bump, fixes (#572 )
* Bump version, don't propose invalid blocks
* Fix build.
* Fixes.
* More fixes.
* Fix tests.
* Fix more tests
* More tests fixed
* Fix merge
* Fix accidental merge bug
* Fixes.
* Staking failsafes
- Don't slash/unstake/change session when too few staking participants
- Introduce set_balance PrivCall
* Make minimum validator count dynamic.
* test fixes
* Fix tests.
* Fix tests
* Fix tests, update readme.
* Test with release.
* Use safe math when dealing with total stake
* Fix test again.
* Fix grumbles.
2018-08-27 17:11:04 +02:00
Robert Habermeier
934829c052
get everything building
2018-08-14 18:59:32 +02:00
agryaznov
b7de4be612
README: fixed typo in docker run command ( #518 )
2018-08-09 11:55:16 +02:00
Chevdor
13585cc9cc
Add doc to install a specific tagged version ( #497 )
2018-08-05 14:04:27 +02:00
Chevdor
1bd19d8511
Improve docker image size with a 2 stages image ( #463 )
...
* Improve docker image size with a 2 stages image
* Minor doc updates
* Fix and reduce size of the docker image
* Fix paths in scripts
2018-08-03 19:34:53 +02:00
yuelipeng
65434697cb
Update README.adoc
...
typo fix
2018-07-30 14:49:35 +08:00
Chevdor
93fb824dfc
Export ws port 9944 and add doc ( #440 )
...
Fix #437
2018-07-28 09:14:30 +01:00
Chevdor
97a6db785e
Add docker image ( #375 )
...
* Add Dockerfile
Add documentation
Ref #375
* Add PORT, VOLUME and reduce size of the docker image significantly
Fix doc and reduce image size
Fix #375
* Fix docker compose
2018-07-27 16:32:12 +02:00
Chevdor
bb97684112
WIP: Asciidoc ( #407 )
...
* Rename readme
* Add some Asciidoc demo
* Remove extra lines
2018-07-24 11:12:53 +02:00