1. Sep 29, 2020
  2. Sep 28, 2020
  3. Sep 25, 2020
  4. Sep 24, 2020
  5. Sep 23, 2020
  6. Sep 22, 2020
  7. Sep 21, 2020
  8. Sep 18, 2020
    • Jon Häggblad's avatar
      grandpa-rpc: use FinalityProofProvider to check finality for rpc (#6215) · 8a0ac4c4
      Jon Häggblad authored
      * grandpa-rpc: use FinalityProofProvider to check finality for rpc
      
      * grandpa-rpc: minor tidy
      
      * grandpa-rpc: remove dyn FinalityProofProvider
      
      * grandpa-rpc: remove unused dependencies
      
      * node: move finality_proof_provider setup
      
      * grandpa-rpc: print error reported by finality_proof_provider
      
      * grandpa-rpc: add note about unnecessary encode/decode
      
      * grandpa-rpc: dont encode/decode and use correct hash
      
      * grandpa-rpc: set_id is optional
      
      * grandpa-rpc: create test for prove_finality
      
      * grandpa-rpc: set visibility back to how it was
      
      * grandpa-rpc: remove unused dependency
      
      * grandpa-rpc: minor tidy
      
      * grandpa: doc strings
      
      * grandpa-rpc: rename to prove_finality
      
      * grandpa-rpc: use current set id if none is provided
      
      * grandpa-rpc: remove unnecessary check in test
      
      * node: group finality_proof_provider in rpc_setup
      
      * grandpa: make prove_finality concrete in FinalityProofProvider
      
      * grandpa-rpc: wrap finality output in struct and store as Bytes
      
      * grandpa-rpc: exhaustive error codes and wrap
      
      * grandpa-rpc: let prove_finality take a range instead of a starting point
      
      * grandpa-rpc: fix test for changed API
      
      * grandpa-rpc: fix line length
      
      * grandpa: fix reviewer nits
      
      * node/rpc: fix reviewer comments
      8a0ac4c4
    • Shawn Tabrizi's avatar
      WeightInfo for Scheduler (#7138) · 743cf754
      Shawn Tabrizi authored
      * initial scheduler stuff
      
      * integrate weightinfo
      
      * Update pallet_scheduler.rs
      743cf754
    • Anton Gavrilov's avatar
      Prometheus metrics for RPC calls (#7088) · 2c5a82f8
      Anton Gavrilov authored
      * WS and HTTP middlewares added
      
      * Prometheus endpoint added
      
      * Counters renamed
      
      * Proper style for inc
      
      * Metrics initialization re-written
      
      * Rework to handler middleware
      
      * Introduce transport prefix for metrics
      
      * String shortened
      
      * Commented code removed, new line inserted
      
      * One more string shortened
      
      * Wasm build fixed
      
      * Wasm build fixed once again
      
      * Rework to shared metrics
      
      * Added collectors label
      
      * Tilde removed from cargo
      
      * Switch to owned metrics in parameters
      2c5a82f8
    • Jianping Deng's avatar
      Update SS58 configuration for Bifrost (#7142) · 22ea00a1
      Jianping Deng authored
      * Add 6 as address type of ss58 for Bifrost Network
      
      * Update SS58 configuration for Bifrost
      22ea00a1
    • Xiliang Chen's avatar
      Bounties (#5715) · 67e1dad9
      Xiliang Chen authored
      
      
      * add some compact annotation
      
      * implement bounties for treasury
      
      * fix test build
      
      * remove some duplicated code
      
      * fix build
      
      * add tests
      
      * fix build
      
      * fix tests
      
      * rename
      
      * merge deposit byte fee
      
      * add comments
      
      * refactor storage
      
      * support sub bounty
      
      * emit BountyBecameActive when sub bounty is created
      
      * able to contribute bounty
      
      * allow curator to cancel bounty
      
      * remove bounty contribution
      
      * implement bounty expiry
      
      * Able to extend bounty
      
      * fix build and update tests
      
      * create sub bounty test
      
      * add more tests
      
      * add benchmarks for bounties
      
      * fix build
      
      * line width
      
      * fix benchmarking test
      
      * update trait
      
      * fix typo
      
      * Update lib.rs
      
      Missing documentation on Bounties added on this change. Please check the definitions of `propose_bounty` and `create_bounty`.
      
      * update docs
      
      * add MaximumSubBountyDepth
      
      * put BountyValueMinimum into storage
      
      * rework bount depth
      
      * split on_initialize benchmarks
      
      * remove components from constant functions
      
      * Update weight integration into treasury
      
      * Update reject proposal read/writes
      
      * fix weight calculation
      
      * Ignore weights with 0 factor
      
      * Remove 0 multipliers
      
      * add some docs
      
      * allow unused for generated code
      
      * line width
      
      * allow RejectOrigin to cancel a pending payout bounty
      
      * require BountyValueMinimum > ED
      
      * make BountyValueMinimum configurable by chain spec
      
      * remove sub-bounty features
      
      * update curator
      
      * accept curator
      
      * unassign and cancel
      
      * fix tests
      
      * new tests
      
      * Update lib.rs
      
      - Include on `Assign_curator`, `accept_curator` and `unassign_curator` on Bounties Protocol Section 
      - Include curator fee and curator deposit definitions on Terminology
      - Update intro.
      
      * fix test
      
      * update extend_bounty_expiry
      
      * fix benchmarking
      
      * add new benchmarking code
      
      * add docs
      
      * fix tests
      
      * Update benchmarking.rs
      
      * Make BountyValueMinimum a trait config instead of stroage value
      
      * fix runtime build
      
      * Update weights
      
      * Update default_weights.rs
      
      * update weights
      
      * update
      
      * update comments
      
      * unreserve curator fee
      
      * update tests
      
      * update benchmarks
      
      * fix curator deposit handling
      
      * trigger CI
      
      * fix benchmarking
      
      * use append instead of mutate push
      
      * additional noop tests
      
      * improve fee hanlding. update event docs
      
      * RejectOrigin to unassign
      
      * update bounty cancel logic
      
      * use Zero::zero() over 0.into()
      
      * fix tests
      
      * fix benchmarks
      
      * proposed fixes to bounties
      
      * fix tests
      
      * fix benchmarks
      
      * update weightinfo
      
      * use closure
      
      * fix compile
      
      * update weights
      
      Co-authored-by: default avatarRRTTI <[email protected]>
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      67e1dad9
    • Wei Tang's avatar
      pow: replace the thread-base mining loop with a future-based mining worker (#7060) · 5380bbce
      Wei Tang authored
      
      
      * New worker design
      
      * Remove unused thread import
      
      * Add back missing inherent data provider registration
      
      * Add function to get a Cloned metadata
      
      * Add some docs
      
      * Derive Eq and PartialEq for MiningMetadata
      
      * Fix cargo lock
      
      * Fix line width
      
      * Add docs and fix issues in UntilImportedOrTimeout
      
      * Update client/consensus/pow/src/lib.rs
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * Add back comments
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarDavid <[email protected]>
      5380bbce
    • Shawn Tabrizi's avatar
      Pallet Indices (#7137) · a3080f27
      Shawn Tabrizi authored
      a3080f27