Stanislav Tkach
0f02bed702
Update hex-literal version, simplify imports and remove unused dependencies ( #2371 )
2019-04-25 11:17:40 +02:00
Gavin Wood
babe638be7
Subkey can construct and sign transfer txs ( #2109 )
...
* First effort
* Fix for encoding
* !fixed subkey xfer creation (still brittle because of double-hardcoded genesis_hash (#2221 )
* CLI genesis hash
* Add test
* Slightly nicer text
* Fix Elm hash
* Update lock file
2019-04-24 12:23:59 +02:00
Marcio Diaz
bf9d7957d8
Use from_ss58check and to_ss58check from Ss58Codec for ed25519 ( #2355 )
...
* fix: use Ss58Codec for from_ss58check and to_ss58check
* Update lib.rs
* chore: clean
2019-04-24 11:58:30 +02:00
Gav Wood
eca163ba64
Bump version to 1.0.0 globally ( #2149 )
...
* Bump versionb globally
* Rebuild and fix
* Rename fixes
* Rebuild
* Minor fix and code formatting for validator election
* Fix tests
* More test fixes
* Fix several bugs in phragmen elections.
* Rebuild, remove pointless closures
2019-04-01 15:16:06 +02:00
Logan Saether
e6c73e8951
update readme ( #2066 )
2019-03-21 10:44:39 +01:00
Stanislav Tkach
cd7d877cd4
Replace the incorrect 'commit' keyword with 'rev' ( #2026 )
2019-03-19 21:04:54 +01:00
Gav Wood
7bb1412d15
Fixes for new Schnorrkel API ( #2015 )
...
* Fixes for new Schnorrkel API
* Include specific commit hash for schnorrkel
2019-03-16 14:46:47 +01:00
Gav Wood
d7fcf5dc9d
Overhaul crypto (Schnorr/Ristretto, HDKD, BIP39) ( #1795 )
...
* Rijig to Ristretto
* Rebuild wasm
* adds compatibility test with the wasm module
* Add Ed25519-BIP39 support
* Bump subkey version
* Update CLI output
* New keys.
* Standard phrase/password/path keys.
* Subkey uses S-URI for secrets
* Move everything to use new HDKD crypto.
* Test fixes
* Ignore old test vector.
* fix the ^^ old test vector.
* Fix tests
* Test fixes
* Cleanups
* Fix broken key conversion logic in grandpa
CC @rphmeier
* Remove legacy Keyring usage
* Traitify `Pair`
* Replace Ed25519AuthorityId with ed25519::Public
* Expunge Ed25519AuthorityId type!
* Replace Sr25519AuthorityId with sr25519::Public
* Remove dodgy crypto type-punning conversions
* Fix some tests
* Avoid trait
* Deduplicate DeriveJunction string decode
* Remove cruft code
* Fix test
* Minor removals
* Build fix
* Subkey supports sign and verify
* Inspect works for public key URIs
* Remove more crypto type-punning
* Fix typo
* Fix tests
2019-03-13 14:08:31 +01:00
Gav Wood
9f3b4468db
Make subkey support Sr25519 crypto ( #1933 )
...
* Make subkey support Sr25519 crypto.
* Rebuild runtime.
* Build and rejig locks.
* Fix grumbles
* Derivations
* Introduce tests
2019-03-07 17:10:17 +01:00
Bastian Köcher
7927054f86
Update copyrights to 2019 ( #1932 )
2019-03-06 15:04:28 +01:00
Stanislav Tkach
8247ad5613
Migrate subkey and chain-spec-builder to the 2018 edition ( #1605 )
2019-01-29 12:47:40 +01:00
Benjamin Kampmann
ab4c70b379
Update dependencies ( #1527 )
...
* update to latest env_logger
* roundabout dependency update
* Update to latest vengen
* Update rand to 0.6
* Update to latest rng shuffle API
* Roundabout update of dependencies
* Update rustc_hex
* Update wasm
* Fix logging setup in tests
* revert to fix test
2019-01-25 12:44:41 +01:00
Simon Warta
8606595a6d
Add simple keygen command to subkey ( #1250 )
...
* Remove _ prefix from variable
* Handle empty pattern in vanity tool
* Deduplicate and fix account printing
* Add comment on restore subcommand
* Add simple keygen command
2018-12-12 15:32:00 +01:00
Simon Warta
0ab26a9c4f
Simplify onboarding when using subkey restore ( #1079 )
...
* Switch order of `subkey restore` output
to macht the derivation chain: seed -> keypair -> pubkey -> address
* Use terms public key and address explicitly `subkey restore`
2018-11-09 13:30:07 +00: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
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
Tomasz Drwięga
e8d88fcb7b
Global unique subscription ids. ( #848 )
...
* Global unique subscription ids.
* Fix tests.
2018-10-01 16:31:52 +01:00
Sergey Pepyakin
6d8bea5137
Extract vanity, add restore ( #843 )
2018-09-29 18:51:52 +01:00
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
Sergey Pepyakin
283eb383c0
5 random fixes ( #2 ) ( #623 )
...
* Tabs instead of spaces.
* Remove double spaces.
* Add spaces between ID and the following {
* Update to nightly 2018-08-27
* Align wat code properly
2018-08-29 11:26:44 +02:00
Chevdor
903ce68809
Subkey fix and refactor ( #418 )
...
* Fix bug and refactoring
- Fix panic in some cases
- Extract the generation as a reusable function
- Improve scoring calculation
- Add tests
- Sort the results
- Fix the case when called with a desired pattern either empty or of 1 char
- Add a 'even more' paranoiac mode
- Add benchmarks
Fix #417
* Fixed compilation for nightly
2018-07-26 11:11:52 +02:00
Gav Wood
66affa2b95
Use a simpler increment seed iterator. ( #186 )
...
* Use a simpler increment seed iterator.
* Use more secure seeding.
2018-05-30 17:40:16 +02:00
Gav Wood
c831e7c511
Key generation utility ( #176 )
...
* RPCs for versioning.
* Build fix for bad merge.
* Add system_name RPC
* Fix tests.
* Fix demo build.
* Remove BadFormat.
* Add ss58check encoding and subkey.
* Improvements.
* Update Cargo.toml
2018-05-29 18:05:50 +02:00