SS58 versioning (Network IDs) (#3147)

* Introduce network IDs for SS58

* Fix

* Allow numeric overrides.

* Improve docs

* String rather than str

* Comment out code that will become valid after other PR

* Fix
This commit is contained in:
Gavin Wood
2019-07-20 09:24:10 +08:00
committed by GitHub
parent c70b81444a
commit a7a4caed1a
5 changed files with 174 additions and 22 deletions
+4
View File
@@ -28,6 +28,8 @@ hex = { version = "0.3", optional = true }
regex = { version = "1.1", optional = true }
num-traits = { version = "0.2", default-features = false }
zeroize = { version = "0.9.2", default-features = false }
lazy_static = { version = "1.3", optional = true }
parking_lot = { version = "0.8", optional = true }
[dev-dependencies]
substrate-serializer = { path = "../serializer" }
@@ -47,6 +49,8 @@ bench = false
default = ["std"]
std = [
"wasmi",
"lazy_static",
"parking_lot",
"primitive-types/std",
"primitive-types/serde",
"primitive-types/byteorder",