Staking Validator Selection

## 1. Staking Election

There are a few dimensions when choosing validators in Parallel protocol. Here they are listed in order of priority, from high to low:
The reputation of the node operator
The commission rate and nomination volume of the validator
The downtime and luckiness which wraps era points on the Polkadot network and slash records in the past
These metrics can be uniformized in the following equation:
$Score = R \cdot ( crf \cdot (1 - CR) + nf \cdot \frac{1}{N} + epf \cdot \frac{EEP} {EEPA}) \cdot SR$
R: Reputation, 0 or 1
CR: Commission Rate
N: Nomination of one validator
EEP: Average Era Points of one validator in the past 28 eras.
EEPA: Average Era Points of All validators in the past 28 eras.
crf: A constant shows how much influence of the Commission Rate of a validator. The default value is 100.
nf: A constant shows how much influence of the Nomination of a validator. The default value is 1000.
epf: A constant shows how much influence of the Era Points of a validator. The default value is 10.
SR: Slash Record, default 1, set to 0 if ever slashed in the past month.
The staking strategy will be useful not only in Parallel's system. We aim to create an interface with the most potential to be helpful to users on other parachains as well.

## 2. Data Simulation

Validators
R
CR
N
EEP
EEPA
crf
nf
epf
SR
Score
Validators 1
1
10%
123
900
950.37
100
1000
10
1
107.60007719714811
Validators 2
1
5%
256
800
974.44
100
1000
10
1
107.11609360247937
Validators 3
1
3%
209
960
957.06
100
1000
10
1
111.81540807238915
Validators 4
1
8%
247
800
960.25
100
1000
10
1
104.37809863461703
Validators 5
1
20%
129
1160
1001.69
100
1000
10
1
99.3323670593596
Validators 6
1
2%
214
1020
943.5
100
1000
10
1
113.4837080070725