refactor/reputation: unify the values used (#2462)
* refactor/reputation: unify the values used * chore/rep: rename Annoy* to Cost*, make duplicate message Cost*Repeated * fix/reputation: lost and found, convert at the boundary to substrate * refactor/rep: move conversion to base reputation one level down, left conversions * fix/rep: order of magnitude adjustments Thanks pierre! * remove spaces * chore/rep: give rationale for order of magnitude * refactor/rep: move UnifiedReputationChange to separate file * fix/rep: order of magnitudes correction
Showing
- polkadot/node/network/approval-distribution/src/lib.rs 8 additions, 8 deletionspolkadot/node/network/approval-distribution/src/lib.rs
- polkadot/node/network/availability-distribution/src/lib.rs 6 additions, 6 deletionspolkadot/node/network/availability-distribution/src/lib.rs
- polkadot/node/network/availability-recovery/src/lib.rs 3 additions, 3 deletionspolkadot/node/network/availability-recovery/src/lib.rs
- polkadot/node/network/bitfield-distribution/src/lib.rs 9 additions, 16 deletionspolkadot/node/network/bitfield-distribution/src/lib.rs
- polkadot/node/network/bridge/src/action.rs 2 additions, 2 deletionspolkadot/node/network/bridge/src/action.rs
- polkadot/node/network/bridge/src/lib.rs 5 additions, 5 deletionspolkadot/node/network/bridge/src/lib.rs
- polkadot/node/network/bridge/src/network.rs 4 additions, 4 deletionspolkadot/node/network/bridge/src/network.rs
- polkadot/node/network/collator-protocol/src/lib.rs 1 addition, 1 deletionpolkadot/node/network/collator-protocol/src/lib.rs
- polkadot/node/network/collator-protocol/src/validator_side.rs 5 additions, 5 deletions...adot/node/network/collator-protocol/src/validator_side.rs
- polkadot/node/network/pov-distribution/src/lib.rs 6 additions, 6 deletionspolkadot/node/network/pov-distribution/src/lib.rs
- polkadot/node/network/protocol/src/lib.rs 4 additions, 2 deletionspolkadot/node/network/protocol/src/lib.rs
- polkadot/node/network/protocol/src/reputation.rs 65 additions, 0 deletionspolkadot/node/network/protocol/src/reputation.rs
- polkadot/node/network/statement-distribution/Cargo.toml 1 addition, 1 deletionpolkadot/node/network/statement-distribution/Cargo.toml
- polkadot/node/network/statement-distribution/src/lib.rs 9 additions, 10 deletionspolkadot/node/network/statement-distribution/src/lib.rs
- polkadot/node/overseer/src/lib.rs 2 additions, 2 deletionspolkadot/node/overseer/src/lib.rs
- polkadot/node/subsystem/src/messages.rs 2 additions, 2 deletionspolkadot/node/subsystem/src/messages.rs
Please register or sign in to comment