Skip to content
  1. Jun 17, 2020
  2. Jun 16, 2020
  3. Jun 15, 2020
    • Peter Goodspeed-Niklaus's avatar
      update provisioner subsystem (#1257) · 8495eb37
      Peter Goodspeed-Niklaus authored
      * update provisioner subsystem
      
      Closes #1143
      
      * update with answers to the questions posed by previous todos
      
      * add misbehavior reports, disputes to provisioner messages
      
      * expand on the protocol
      
      * updates per code review
      8495eb37
  4. Jun 12, 2020
  5. Jun 11, 2020
    • Fedor Sakharov's avatar
      New service initial commit (#1234) · 9b634717
      Fedor Sakharov authored
      
      
      * New service initial commit
      
      * More separation of the new and old services
      
      * Fix review comments
      
      * Adds polkadot.json
      
      * Fix browser build
      
      * Remove unused import
      
      * Update node/service/src/lib.rs
      
      Co-authored-by: default avatarFedor Sakharov <[email protected]>
      
      * Remove duplicate json files
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      9b634717
    • asynchronous rob's avatar
      Scheduler Module (#1162) · 1696982d
      asynchronous rob authored
      
      
      * scheduler module skeleton
      
      * update scheduler skeleton to match latest version of guide
      
      * better session change notification
      
      * add mock randomness and fix test compilation
      
      * shuffle validators into groups
      
      * finish implementing session change logic for scheduler
      
      * tweak core assignment type to track retries of parathread
      
      * reframe queued parathread core as offset
      
      * implement initialzation and finalization routines
      
      * implement parathread claim queuing
      
      * implement core_para
      
      * implement the group_validators routine and fix errors
      
      * add a reason for freeing cores
      
      * implement `schedule` function
      
      * add some docs to the scheduled function
      
      * implement `occupied` helper
      
      * implement availability predicate
      
      * fix some warnings
      
      * integrate scheduler into initializer
      
      * integrate scheduler into mock module
      
      * avoid conflict with Substrate's scheduler storage
      
      * add parathreads index to paras module
      
      * implement parathreads map in paras module
      
      * add is_parathread to paras
      
      * test adding parathread claim
      
      * test that you cannot add claims when no parathread cores exist
      
      * check session change parathread queue pruning
      
      * test validator shuffling
      
      * add allow_unused to scheduler items
      
      * add test for scheduling
      
      * add some more tests for scheduling logic
      
      * test core rotation
      
      * check parathread claim pruning after retries
      
      * add bound notes
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      Co-authored-by: default avatarBernhard Schuster <[email protected]>
      
      * more suggestions from review
      
      * test availability predicate, add box to please compiler
      
      * add changes to guide
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      Co-authored-by: default avatarBernhard Schuster <[email protected]>
      1696982d