1. Aug 28, 2020
  2. Aug 23, 2020
    • Gavin Wood's avatar
      Time-delay proxies (#6770) · dfe2871b
      Gavin Wood authored
      
      
      * Time-delay proxies.
      
      * Tests
      
      * Initial couple of benchmarks
      
      * Fix up runtime
      
      * Last couple of benchmarks
      
      * Tests
      
      * Docs
      
      * Migration
      
      * add tests to proxy benchmarks
      
      * generated benchmarks, not integrated
      
      * Fix weight trait
      
      * integrate weightinfo
      
      * default weight
      
      * Grumble
      
      * Deduplication, split proxy from announced_proxy and don't require reauthentication
      
      * Fix
      
      * Remoe superfluous
      
      * Typos
      
      * Indent
      
      * Fix
      
      * Fixes
      
      * rename 'proxy_announced' -> 'announced_proxy'
      
      * flip rename
      
      * comments and spacing
      
      * fix proxy_announced
      
      * remove unneeded `execute` marker
      
      * Avoid unneeded changes to extrinsic indices
      
      * Cleanup
      
      * Fixes
      
      * Update Benchmarks and Weights for Delayed Proxy (#6811)
      
      * update bechmarks to parameterize announcements
      
      * remove announcement param from proxy
      
      * Update pallet_proxy.rs
      
      * Update weights
      
      * Bump runtime
      
      * Fix benchmark
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      dfe2871b
  3. Aug 17, 2020
    • Shawn Tabrizi's avatar
      WeightInfo for System, Timestamp, and Utility (#6868) · 8e1ed7d9
      Shawn Tabrizi authored
      * initial updates to system
      
      * fix compile
      
      * Update writer.rs
      
      * update weights
      
      * finish system weights
      
      * timestamp weights
      
      * utility weight
      
      * Fix overflow in weight calculations
      
      * add back weight notes
      
      * Update for whitelisted benchmarks
      
      * add trait bounds
      
      * Revert "add trait bounds"
      
      This reverts commit 12b08b71.
      
      * Update weights for unaccounted for read
      8e1ed7d9
  4. Aug 04, 2020
    • thiolliere's avatar
      pallet-democracy use of weightinfo (#6783) · 549050b7
      thiolliere authored
      * democracy use of weightinfo
      
      * fix some doc and benchs
      
      * todo generate from parity machine
      
      * factorize and add license
      
      * use final weights
      
      * add slightly more sensible default weight
      
      * refactor
      
      * rename benchmark to avoid confusion
      
      * just make remove_other_vote benchmark being the worst case of the extrinsic
      549050b7
  5. Jul 30, 2020
  6. Jun 16, 2020
  7. May 15, 2020
  8. Apr 04, 2020
    • Benjamin Kampmann's avatar
      Additional Metrics collected and exposed via prometheus (#5414) · 8991aab9
      Benjamin Kampmann authored
      
      
      This PR refactors the metrics measuring and Prometheus exposing entity in sc-service into its own submodule and extends the parameters it exposes by:
      
      - system load average (over one, five and 15min)
      - the TCP connection state of the process (lsof), refs #5304
      - number of tokio threads
      - number of known forks
      - counter for items in each unbounded queue (with internal unbounded channels)
      - number of file descriptors opened by this process (*nix only at this point)
      - number of system threads (*nix only at this point)
      
      refs #4679
      
      Co-authored-by: default avatarMax Inden <[email protected]>
      Co-authored-by: default avatarAshley <[email protected]>
      8991aab9
  9. Jan 31, 2020
  10. Jan 27, 2020
  11. Jan 05, 2020
  12. Dec 10, 2019
    • Benjamin Kampmann's avatar
      Break appcrypto dep cycle (#4347) · d7c3fa29
      Benjamin Kampmann authored
      * move application-crypto tests into seperate crate
      
      * Fix crate name, update script and add docs
      
      * pressing 'save' helps
      
      * remove useless lines
      
      * adding header
      
      * split into actual modules
      d7c3fa29
  13. Dec 09, 2019
  14. Nov 28, 2019
    • Svyatoslav Nikolsky's avatar
      Recover transaction pool on light client (#3833) · 2ffaf054
      Svyatoslav Nikolsky authored
      
      
      * recover tx pool on light client
      
      * revert local tests fix
      
      * removed import renamings
      
      * futures03::Future -> std::future::Future
      
      * Update core/transaction-pool/graph/src/error.rs
      
      Co-Authored-By: default avatarTomasz Drwięga <[email protected]>
      
      * replace remove_from_ready with remove_invalid
      
      * avoid excess hashing
      
      * debug -> warn
      
      * TransactionPool + BasicTransactionPool
      
      * pause future tx reject when resubmitting
      
      * bump impl_version to make CI happy
      
      * and revert back local test fixes
      
      * alter doc to restart CI
      
      * Transaction::clone() -> Transaction::duplicate()
      
      * transactions -> updated_tranasctions
      
      * remove explicit consensus-common ref
      
      * ::std:: -> std::
      
      * manual set/unset flag -> calling clusore with given flag value
      
      * removed comments
      
      * removed force argument
      
      * BestIterator -> Box<Iterator>
      
      * separate crate for TxPool + Maintainer trait
      
      * long line fix
      
      * pos-merge fix
      
      * fix benches compilation
      
      * Rename txpoolapi to txpool_api
      
      * Clean up.
      
      * Finalize merge.
      
      * post-merge fix
      
      * Move transaction pool api to primitives directly.
      
      * Consistent naming for txpool-runtime-api
      
      * Warn about missing docs.
      
      * Move  abstraction for offchain calls to tx-pool-api.
      
      * Merge RPC instantiation.
      
      * Update cargo.lock
      
      * Post merge fixes.
      
      * Avoid depending on client.
      
      * Fix build
      2ffaf054
  15. Nov 22, 2019
    • Tomasz Drwięga's avatar
      Offchain execution extensions (#4145) · 06f6daab
      Tomasz Drwięga authored
      * Pass Extensions instead of individual objects.
      
      * Move TransactionPool to a separate ExternalitiesExtension.
      
      * Fix compilation.?
      
      * Clean up.
      
      * Refactor testing utilities.
      
      * Add docs, fix tests.
      
      * Fix doctest.
      
      * Fix formatting and add some logs.
      
      * Add some docs.
      
      * Remove unused files.
      06f6daab
  16. Nov 14, 2019
    • Benjamin Kampmann's avatar
      Reorganising the repository - external renames and moves (#4074) · f44873dc
      Benjamin Kampmann authored
      * Adding first rough ouline of the repository structure
      
      * Remove old CI stuff
      
      * add title
      
      * formatting fixes
      
      * move node-exits job's script to scripts dir
      
      * Move docs into subdir
      
      * move to bin
      
      * move maintainence scripts, configs and helpers into its own dir
      
      * add .local to ignore
      
      * move core->client
      
      * start up 'test' area
      
      * move test client
      
      * move test runtime
      
      * make test move compile
      
      * Add dependencies rule enforcement.
      
      * Fix indexing.
      
      * Update docs to reflect latest changes
      
      * Moving /srml->/paint
      
      * update docs
      
      * move client/sr-* -> primitives/
      
      * clean old readme
      
      * remove old broken code in rhd
      
      * update lock
      
      * Step 1.
      
      * starting to untangle client
      
      * Fix after merge.
      
      * start splitting out client interfaces
      
      * move children and blockchain interfaces
      
      * Move trie and state-machine to primitives.
      
      * Fix WASM builds.
      
      * fixing broken imports
      
      * more interface moves
      
      * move backend and light to interfaces
      
      * move CallExecutor
      
      * move cli off client
      
      * moving around more interfaces
      
      * re-add consensus crates into the mix
      
      * fix subkey path
      
      * relieve client from executor
      
      * starting to pull out client from grandpa
      
      * move is_decendent_of out of client
      
      * grandpa still depends on client directly
      
      * lemme tests pass
      
      * rename srml->paint
      
      * Make it compile.
      
      * rename interfaces->client-api
      
      * Move keyring to primitives.
      
      * fixup libp2p dep
      
      * fix broken use
      
      * allow dependency enforcement to fail
      
      * move fork-tree
      
      * Moving wasm-builder
      
      * make env
      
      * move build-script-utils
      
      * fixup broken crate depdencies and names
      
      * fix imports for authority discovery
      
      * fix typo
      
      * update cargo.lock
      
      * fixing imports
      
      * Fix paths and add missing crates
      
      * re-add missing crates
      f44873dc
  17. Oct 02, 2019
  18. May 31, 2019
    • Tomasz Drwięga's avatar
      Offchain-worker APIs stubs (#2615) · c93ca93e
      Tomasz Drwięga authored
      * WiP: HTTP Apis.
      
      * Working on the API.
      
      * Add docs, clean up the API.
      
      * Expose ext_ stuff as well.
      
      * Implement HTTP helpers for offchain sr-io.
      
      * Remove HTTP stuff.
      
      * Revert "Remove HTTP stuff."
      
      This reverts commit 7cca029d.
      
      * HTTP apis.
      
      * Additional offchain methods.
      
      * Make it compile.
      
      * Implement wasm-ext boundary of offchain methods.
      
      * Add stubs for offchain stuff to prevent panics.
      
      * Fix tests.
      
      * Addres some more issues.
      
      * Introduce typedef, use unsafe from_utf8
      
      * Bump runtime version.
      
      * Introduce error to distinguish deadline and io errors.
      
      * Add local_storage_cas
      
      * Some tests for offchain stuff.
      
      * Address more grumbles.
      
      * Fix tests compilation.
      
      * Fix borked merge.
      
      * Improve docs for expected return values from ext functions.
      
      * Adding new sign/enrypt/decrypt APIs.
      c93ca93e
  19. Mar 06, 2019
  20. Oct 10, 2018
  21. Sep 12, 2018
    • Gav Wood's avatar
      Phase 1 of repo reorg (#719) · bc276f3c
      Gav Wood authored and Arkadiy Paronyan's avatar Arkadiy Paronyan committed
      * 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
      bc276f3c
  22. Aug 27, 2018
    • Guanqun Lu's avatar
      rename Polkadot to Substrate in the license header via following four commands (#614) · 10fa5cef
      Guanqun Lu authored
      git grep -l 'This file is part of Polkadot' | xargs sed -i 's/This file is part of Polkadot/This file is part of Substrate/g'
          git grep -l 'Polkadot is free software' | xargs sed -i 's/Polkadot is free software/Substrate is free software/g'
          git grep -l 'Polkadot is distributed in the hope' | xargs sed -i 's/Polkadot is distributed in the hope/Substrate is distributed in the hope/g'
          git grep -l 'along with Polkadot' | xargs sed -i 's/along with Polkadot/along with Substrate/g'
      10fa5cef
  23. Feb 08, 2018
  24. Feb 07, 2018
  25. Feb 06, 2018