Robert Habermeier
5b2a93821c
use published finality-grandpa
2018-11-01 20:25:59 +01:00
Robert Habermeier
6704f15e99
finish GRANDPA test: dynamic authority sets
2018-11-01 20:15:51 +01:00
Robert Habermeier
9630f34775
client sets aux in import pipeline
2018-10-31 12:47:41 +01:00
Robert Habermeier
d346b330f9
implement aux-storing in client-db
2018-10-31 12:41:22 +01:00
Robert Habermeier
3f2a7f3cba
set aux in block import
2018-10-31 12:40:21 +01:00
Robert Habermeier
c64ff78776
initial test to ensure auxiliary data is generated correctly
2018-10-31 12:39:27 +01:00
Robert Habermeier
fe6dd131f0
tests compile after changes
2018-10-30 23:46:27 +01:00
Robert Habermeier
afbe00db75
extract out tests to file
2018-10-29 17:05:42 +01:00
Robert Habermeier
6d4acb053d
tests compile using new test framework
2018-10-29 17:03:08 +01:00
Robert Habermeier
84925067f4
generalizable data for peers in test network
2018-10-29 16:25:22 +01:00
Robert Habermeier
0302a1fc5e
refactor import queue to use explicit block import references
2018-10-29 15:56:10 +01:00
Robert Habermeier
e2ee6a2b90
read authority set from DB on startup
2018-10-29 02:31:51 +01:00
Robert Habermeier
3317fee0a1
write authority set to DB
2018-10-29 02:05:47 +01:00
Robert Habermeier
55ca13ab09
call into chain WASM to check for changes
2018-10-28 20:50:31 +01:00
Robert Habermeier
442e300163
add substrate finality grandpa primitives for WASM
2018-10-28 20:37:09 +01:00
Robert Habermeier
66dafbcb0b
minimize public interface
2018-10-28 18:45:42 +01:00
Robert Habermeier
ab6c343aaf
Merge branch 'master' into rh-grandpa-dynamic2
2018-10-27 18:12:33 +02:00
Robert Habermeier
1a3fe5657d
restart voter with new authority set as necessary
2018-10-27 17:32:42 +02:00
Robert Habermeier
25984d8dc8
add some tests for authority set logic
2018-10-27 16:18:01 +02:00
Benjamin Kampmann
50adea6220
Consensus Engines Implementation: Aura ( #911 )
...
* Generalize BlockImport
- move ImportBlock, BlockOrigin, ImportResult into shared sr-primitives
- let Consensus provide and traits again
- update consensus traits to latest development
- implement traits on client::Client, test_client::TestClient
- update RHD to use the new import_block API
* Move ImportBlock into consensus-common
* Send import notification in aura tests
* Integrating aura into service
* Make Signatures more generic
* Aura Block Production with the given key
* run aura on the thread pool
* start at exact step start in aura
* Add needed wasm blob, in leiu of better solutions.
* Make API ids consistent with traits and bring upstream for sharing.
* Add decrease_free_balance to Balances module
* Encode `Metadata` once instead of two times
* Bitops include xor
* Upgrade key module.
* Default pages to somewhat bigger.
* Introduce upgrade key into node
* Add `Created` event
2018-10-27 15:59:18 +02:00
Robert Habermeier
e33a8dde4a
compiles
2018-10-27 15:43:03 +02:00
guanqun
c0f7021427
Remove pub in macros ( #1027 )
...
* use :vis in macro_rules!
* use :vis in meta
2018-10-27 12:15:15 +02:00
Tomasz Drwięga
55e53a9898
Use local index for misbehaviour calculation ( #934 )
...
* Compute next index for misbehaviour reporting correctly.
* Merge branch 'master' into td-graph-improvements
2018-10-26 19:19:20 +02:00
Robert Habermeier
5f6dc6bc6a
apply authority set changes
2018-10-26 19:19:12 +02:00
Bastian Köcher
d3f2a00793
Multiple improvements to the decl_module! macro ( #953 )
...
* General `decl_module` improvements
* Make `deposit_event` implementable by `decl_module!`
* Make `decl_module!` implement calls directly
* Regenerate the wasm file after master rebase
2018-10-26 12:34:25 +02:00
gabriel klawitter
f0eb519318
ci: change rust container tag from substrate to nightly ( #1015 )
2018-10-26 12:03:56 +02:00
guanqun
b1976c9014
mutate returns a value ( #945 )
...
* mutate returns a value
* code comment fixes
* fix the compile
2018-10-26 11:13:16 +02:00
Luke Schoen
10210b9520
docs: Remove readme since should not be in src folder ( #1004 )
2018-10-26 11:10:06 +02:00
Luke Schoen
f923e38cc7
docs: Relates to Issue #995 . Fix links in existing documentation ( #999 )
...
* docs: Remove safe-mix since is no longer local dependency
* docs: Fix existing packages link. Still only includes Substrate Core
2018-10-26 11:09:48 +02:00
Luke Schoen
7b4b98abef
docs: Move contribution links to Contribution section ( #994 )
2018-10-25 18:35:42 +02:00
Luke Schoen
190f167251
docs: Fix broken link to License in Readme ( #993 )
...
* docs: Fix link to LICENSE
* fix: Remove surrounding text
2018-10-25 18:35:13 +02:00
Luke Schoen
a6596582bf
docs: Relates to #578 Minor fixes to documentation section in Readme ( #992 )
...
* docs: Fix syntax for module comment. Rename to substrate Core
* docs: Reorder package layers in order of level of abstraction
* docs: Make text more concise
* docs: Add SRML abbreviation
2018-10-25 18:34:49 +02:00
Robert Habermeier
a422a14b52
use generic block number in GRANDPA
2018-10-25 18:00:46 +02:00
Robert Habermeier
08890f2bc1
note future changes when importing block
2018-10-25 16:48:51 +02:00
Luke Schoen
c207ecfbfc
docs: Relates to #578 . Add instructions for rustdoc viewing and contributing ( #957 )
...
* doc: Relates to #578 . Add rustdoc documentation guide to readme
* fix: Fix testing of dot points. Show packages over multiple lines so all visible
* fix: Fix indentation and change from authorting to contributing
2018-10-25 10:13:20 +02:00
Bastian Köcher
f8896f954d
Make decl_storage! assume less about the environment ( #956 )
2018-10-25 09:44:47 +02:00
Bastian Köcher
6244b6a3b9
Encode Metadata once instead of two times ( #946 )
2018-10-25 09:36:57 +02:00
Bastian Köcher
1ba73e0e88
Make decl_module! implement OnFinalise ( #947 )
2018-10-23 09:58:15 +02:00
Tomasz Drwięga
52093c4b7a
Runtime version pub sub. ( #948 )
2018-10-23 08:21:05 +02:00
Robert Habermeier
fb1401ab79
Merge branch 'master' into rh-grandpa-dynamic2
2018-10-22 16:06:42 +02:00
Gav Wood
396e258de3
Update README.adoc
2018-10-21 13:26:25 +02:00
Gav Wood
f14a8c289d
Update README.adoc
2018-10-21 13:25:11 +02:00
Gav
f31cfe96e4
Move getgoing script into scripts.
2018-10-21 12:37:39 +02:00
Gav Wood
d9a7c74e5c
Add simple script to get going on mac
2018-10-21 12:37:01 +02:00
Robert Habermeier
515153fa85
localize messages to set-index and add pending changes
2018-10-21 11:11:53 +02:00
Gav
5579eeb761
Minor fix for subkey
2018-10-20 23:33:18 +02:00
Gav
cb6c2fa087
Remove erroneous println
2018-10-20 23:23:41 +02:00
Gav Wood
8a9ffeaea2
Add runtime so that cargo install works ( #940 )
2018-10-20 23:01:49 +02:00
Gav Wood
1475610880
Remove nonsense code and options, fix score and generally make subkey work ( #936 )
...
* Remove nonsense code and options, fix score and generally make subkey work.
* Rename Demo -> Node
2018-10-20 22:15:28 +02:00
Luke Schoen
e47f3835fd
fix: Fix typo in argument name ( #935 )
2018-10-20 12:43:20 +02:00