- Mar 31, 2020
-
-
Cecile Tonglet authored
Commit: 69e790ea Parent branch: origin/master Forked at: 2afecf81
-
gabriel klawitter authored
* add post-build-test stage * check status * fix busybox shell * renaming for consistency
-
- Mar 30, 2020
-
-
yanganto authored
* Show network id/version in subkey - show network id/version when creating - show network id/version when inspecting * Update bin/utils/subkey/src/main.rs use `unwrap_or_default` for more clean syntax Co-Authored-By: Bastian Köcher <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
Stanislav Tkach authored
-
Max Inden authored
The library `sysinfo` exposes process memory as kibibytes and not bytes, thus the value needs to be multiplied by 1024 to comply with the metric name and the Prometheus base units [1]. [1] https://prometheus.io/docs/practices/naming/#base-units
-
Cecile Tonglet authored
-
Nikolay Volf authored
-
Pierre Krieger authored
* Fix tried to send handshake twice * Fix wrong boolean * Change to debug
-
Rakan Alhneiti authored
* Add KEY_KIND_ID to the public trait This change is being introduced for the purpose of identifying a public key with it's identifier and algorithm "kind". * Use `sign_with` as implemented in BareCryptoStore * Implement `sign_with` in sc_keystore * Fix inconsistencies, use *_KIND_ID in sp_core testing * Rename KeyKindId to CryptoTypeId * Remove pair-returning functions from BareCryptoStore trait * Define CryptoTypeId in app-crypto macros * Add functions to get keys supported by keystore * Fix sign_with signature to include CryptoTypePublicPair * Add `sign_with_any` and `sign_with_all` * Use keystore.sign_with in auth_discovery * Rename get_supported_keys -> supported_keys * Added headers to function docstrings * Use chain instead of extending a temp vector * Fixed some code formatting * Restrict size of CryptoTypeId This is to be able to use Encode/Decode derives and the overcome having the size being unknown at compile-time. * Implement sign_with in the trait itself * Remove whitespace * Use key_type also as a CryptoTypeId in app_crypto macros * Rename `get_keys` to `keys` in BareCryptoStore * Remove usage of key_pair funcs in tests * Adjust docstring for *_CYPTO_ID constants * Fix failures * Simplify mapping on keys * Remove one let * Fixed typo * PR feedback * remove whitespace * Zip keys and signatures * Use into_iter & remove cloned * Pass index to MissingSignature * Use typed errors instead of strings for BareCryptoStore * Implement Debug for trait error * Use hashsets for better performance for supported_keys * Make sure keys are inserted into the keystore * Make sign_with_all return type consistent with `sign_with` * Rename Error to BareCryptoStoreError * Rename CRYPT_TYPE_ID -> CRYPTO_ID * Remove unnecessary CRYPTO_ID declaration in Public trait * Convert pub key to CryptoTypePublicPair * Fix use * Fix code style * Implement From on CryptoTypePublicPair in app_crypto macros * Change CryptoTypePublicPair to a struct * Implement Display on CryptoTypePublicPair * Pass CryptoTypePublicPair to MissingSignature error * Adjust docs according to function signature * Unify keys implementation * Fix RPC author tests * Fix stackoverflow * Tabify spaces * Pass KeyTypeId to error for easier debugging * Fix asserts * Use ToHex to format public key * Use constants from sp_core * Rename testing KeyTypeId constants * Please compiler * Restore KeyTypeId names apparently, they're not only used in tests * Use BareCryptoStoreError instead of String * Document return value * Fix borrow check * Convert to hashset internally * WIP - iter_keys * Return raw_public_keys * Address PR feedback * Address PR Feedback * Fix hexdisplay import error * Update primitives/core/src/traits.rs Co-authored-by: Bastian Köcher <[email protected]>
-
Cecile Tonglet authored
-
Cecile Tonglet authored
Commit: 31352af1 Parent branch: origin/master Forked at: 2afecf81
-
Cecile Tonglet authored
-
Pierre Krieger authored
* Make transactions and block announces use notifications * Add documentation
-
pscott authored
* Add docs.rs metadata to all cargo.toml files * Remove docs.rs metada in substrate's cargo.toml
-
- Mar 29, 2020
-
-
Cecile Tonglet authored
Commit: 44e2e1d9 Parent branch: origin/master Forked at: 2afecf81
-
Cecile Tonglet authored
Commit: 2206e52d Parent branch: origin/master Forked at: 2afecf81
-
Bastian Köcher authored
The signal handler will be reset to the default system one. This means the program will be exited instead of panicking. This is required to support piping in the console.
-
Joseph Mark authored
* Extend PerThing + Saturating * Add saturating_pow to Saturating * Add saturating_truncating_mul to PerThing (rounding-down mul) * Add saturating_reciprocal_mul to PerThing (divide x by perthing) * Provide default methods where possible * Restore const functions * Fix test * Update primitives/arithmetic/src/per_things.rs Co-Authored-By: Kian Paimani <[email protected]> * Add comment and test verifying no overflow * Formatting * Fix possible overflow and change type constraint * Use overflow pruning for all mul * Formatting and comments * Improve comments and names * Comments in `rational_mul_correction` explain overflow aversion. * Test rational_mul_correction * Formatting * Docs and formatting * Add new trait methods to Perthing type impl * Fix signature * saturating_pow for Delegations * Add missing trait method to impl Co-authored-by: Kian Paimani <[email protected]>
-
Nikolay Volf authored
-
- Mar 28, 2020
-
-
Bastian Köcher authored
-
- Mar 27, 2020
-
-
Spencer Judge authored
* Provide easy conversions from common key types to `AccountId32` * Fix spaces instead of tabs
-
thiolliere authored
* hide metadata function for non generic event * add doc for decl_storage
-
Bastian Köcher authored
* Enable `wasmtime` only for `x86_64` in substrate node When using the new feature of cargo `cargo build -Z features=itarget`, the `wasmtime` feature will not bleed into the build for other architectures. * Use new cargo feature in CI
-
thiolliere authored
-
Nikolay Volf authored
-
Bastian Köcher authored
-
Cecile Tonglet authored
Commit: d15e96bd Parent branch: origin/master Forked at: 2afecf81
-
Cecile Tonglet authored
Commit: beff5380 Parent branch: origin/master Forked at: 2afecf81
-
Cecile Tonglet authored
-
Kian Paimani authored
* Update CONTRIBUTING.adoc * Update docs/CONTRIBUTING.adoc Co-Authored-By: Bastian Köcher <[email protected]> * Update docs/CONTRIBUTING.adoc Co-Authored-By: Bastian Köcher <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
Bastian Köcher authored
This removes the requirement to import `PerThing` to use a type that implements the trait.
-
Cecile Tonglet authored
-
Gavin Wood authored
-
Cecile Tonglet authored
-
- Mar 26, 2020
-
-
Cecile Tonglet authored
-
Cecile Tonglet authored
Commit: f7bd10a5 Parent branch: origin/master Forked at: 2afecf81
-
gabriel klawitter authored
-
Cecile Tonglet authored
Commit: fe23d880 Parent branch: origin/master Forked at: 2afecf81
-
Cecile Tonglet authored
Commit: e5dbd82c Parent branch: origin/master Forked at: 2afecf81
-
Cecile Tonglet authored
-