Skip to content
  1. Apr 06, 2020
  2. Apr 05, 2020
  3. Apr 04, 2020
    • Benjamin Kampmann's avatar
      Fix non-linux build of sc-client (#5524) · d8d87147
      Benjamin Kampmann authored
      * procfs is linux only
      
      * also for the import
      
      * fixup non-linux build
      d8d87147
    • 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
    • Shawn Tabrizi's avatar
      Simple Staking Payouts (#5406) · e33dae64
      Shawn Tabrizi authored
      * Simple Payouts
      
      * explicit test for out of order claiming
      
      * Add `payout_all` benchmark
      
      * Fix merge
      
      * add docs
      
      * change event to controller
      
      * Fix timestamp test warnings
      
      * Revert "change event to controller"
      
      This reverts commit 5d4a9783
      
      .
      
      * Update Reward event doc
      
      * Add "non-production" test
      
      * add unlock chunk to test
      
      * fix merge
      
      * End payout early if no reward points
      
      * payout_validator -> payout_stakers
      
      * bring back payout nominator/validator, but limit their use to before migration era
      
      * Add test for before migration
      
      * New payout works for the era that we migrate
      
      * Fix logic, check that migration era works
      
      * Migrate Era tests (copypasta)
      
      * Move comment
      
      * Add mock back to external functions
      
      * Fixes based on review from gui
      
      * Update Cargo.lock
      
      * Update Cargo.lock
      
      * small docs update
      
      Co-authored-by: default avatarjoepetrowski <[email protected]>
      e33dae64
    • Gavin Wood's avatar
      EnsureOrigin is a frame abstraction - it should be in frame_support (#5521) · bbf4df60
      Gavin Wood authored
      * EnsureOrigin is a frame abstraction - it should be in frame_support
      
      * Fixes
      bbf4df60
    • André Silva's avatar
      support: add lateness trait (#5519) · 0c7f8b22
      André Silva authored
      * support: add lateness trait
      
      * babe: implement the lateness trait
      
      * babe: add docs about lateness entry lifetime
      
      * babe: don't use option for lateness storage entry
      0c7f8b22
  4. Apr 03, 2020
    • Pierre Krieger's avatar
      Split the Roles in three types (#5520) · 525cb7a1
      Pierre Krieger authored
      
      
      * Split the Roles bitfield in three
      
      * Forgot to include some changes
      
      * Fix cli test
      
      * More test fixes
      
      * Oh God, merging master broke other tests
      
      * Didn't run the doctests
      
      * Address review
      
      * I'm trying to fix the build blindly because it's taking a good hour to compile on my machine
      
      * Address some review
      
      * Also update the peerset's API to make sense
      
      * Fix peerset tests
      
      * Fix browser node
      
      * client: distinguish between local and network authority
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      525cb7a1
    • Denis_P's avatar
      prepopulate CARGO_HOME caches (#5505) · 25fb92ab
      Denis_P authored
      * test (ci): prepopulate caches with debug
      
      * test (ci): error in path
      
      * optimization (ci): CARGO_HOME cache prepopulation
      25fb92ab
    • Alexander Theißen's avatar
      Make Dispatchable return the actual weight consumed (#5458) · 1193bc2e
      Alexander Theißen authored
      * Make Dispatchable return the actual weight consumed
      
      Add PostInfo associated type to Dispatchable and have frame implement
      Dispatchable { type PostInfo = PostDispatchInfo } where PostDispatchInfo
      contains the actual weight consumed.
      
      * Fix whitespace issues in docs
      1193bc2e