Storage changes subscription (#464)

* Initial implementation of storage events.

* Attaching storage events.

* Expose storage modification stream over RPC.

* Use FNV for hashing small keys.

* Fix and add tests.

* Swap alias and RPC name.

* Fix demo.

* Addressing review grumbles.

* Fix comment.
This commit is contained in:
Tomasz Drwięga
2018-08-01 14:29:52 +02:00
committed by Svyatoslav Nikolsky
parent 098cfcd319
commit 503bcb5686
16 changed files with 484 additions and 61 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ pub fn rpc_handler<Block: BlockT, S, C, A, Y>(
system: Y,
) -> RpcHandler where
Block: 'static,
S: apis::state::StateApi<Block::Hash>,
S: apis::state::StateApi<Block::Hash, Metadata=Metadata>,
C: apis::chain::ChainApi<Block::Hash, Block::Header, Metadata=Metadata>,
A: apis::author::AuthorApi<Block::Hash, Block::Extrinsic, Metadata=Metadata>,
Y: apis::system::SystemApi,