RPC api for offchain storage (#4694)

* Rpc api for offchain storage

* Replace Vec<u8> to Bytes, replace Mutex to RwLock

* Remove pub

* Modify copyright year
This commit is contained in:
Edwin
2020-01-29 06:31:28 +08:00
committed by GitHub
parent d38e96f2e1
commit 9a6d9f0db5
10 changed files with 218 additions and 9 deletions
+1
View File
@@ -18,6 +18,7 @@ rpc = { package = "jsonrpc-core", version = "14.0.3" }
sp-version = { version = "2.0.0", path = "../../primitives/version" }
serde_json = "1.0.41"
sp-session = { version = "2.0.0", path = "../../primitives/session" }
sp-offchain = { version = "2.0.0", path = "../../primitives/offchain" }
sp-runtime = { version = "2.0.0", path = "../../primitives/runtime" }
sp-rpc = { version = "2.0.0", path = "../../primitives/rpc" }
sp-state-machine = { version = "0.8", path = "../../primitives/state-machine" }