Enhanced Council. (#2407)
* first --unclean-- working version of locks and weight decay * Refactor voter activity history. * Tuning offset calculation and tests * Remove print. * Configurable decay ratio. * Remove spaces. * Name for activity. * Fix some style * Re-write voters as chunked map-vec. * Adds panic todo. * Fix some of the grumbles. * Fix some of the grumbles. * Chunked approvals vector. * Introduce voter_index for set_approvas in favor of complexity. * Add a bit more docs * Add boolean approvals as scalar. * Some cleanups TODO removes. * enhance some error checking. * No more double_map * Combined voter info and fee. * Fix global tests * Bump. * Fix line length * Fix error message. * Kill As<T>. * Final fix. * _Further_ kill As. * Proper imbalance for fee. * Bump. * Fix spacing. * Update * Address grumbles. * Line width.
parent
5a2282ce
Showing
- substrate/node/cli/src/chain_spec.rs 6 additions, 1 deletionsubstrate/node/cli/src/chain_spec.rs
- substrate/node/runtime/src/lib.rs 3 additions, 0 deletionssubstrate/node/runtime/src/lib.rs
- substrate/srml/council/src/lib.rs 87 additions, 29 deletionssubstrate/srml/council/src/lib.rs
- substrate/srml/council/src/motions.rs 16 additions, 16 deletionssubstrate/srml/council/src/motions.rs
- substrate/srml/council/src/seats.rs 1372 additions, 287 deletionssubstrate/srml/council/src/seats.rs
- substrate/srml/indices/src/lib.rs 1 addition, 1 deletionsubstrate/srml/indices/src/lib.rs
Please register or sign in to comment