Hyperchain Properties
Leader election
89> prob:distribution(prob:select_stakers(10000, [{thomas, 80}, {hans, 10}, {erik, 10}])).
[{thomas,0.8103},{hans,0.0965},{erik,0.0932}]
90> prob:distribution(prob:select_stakers(10000, [{thomas, 80}, {hans, 10}, {erik, 10}])).
[{thomas,0.7957},{erik,0.1053},{hans,0.099}]108> prob:distribution(prob:select_stakers(100, [{thomas, 800}, {hans, 80}, {erik, 80}] ++ [{N, 1} || N <- lists:seq(1,40)])).
[{thomas,0.84},{erik,0.09},{hans,0.05},{31,0.01},{37,0.01}]
109> prob:distribution(prob:select_stakers(100, [{thomas, 800}, {hans, 80}, {erik, 80}] ++ [{N, 1} || N <- lists:seq(1,40)])).
[{thomas,0.86},{hans,0.06},{erik,0.06},{19,0.01},{23,0.01}]
110> prob:distribution(prob:select_stakers(100, [{thomas, 800}, {hans, 80}, {erik, 80}] ++ [{N, 1} || N <- lists:seq(1,40)])).
[{thomas,0.77},
{erik,0.09},
{hans,0.07},
{7,0.02},
{14,0.02},
{9,0.01},
{24,0.01},
{34,0.01}]
111> prob:distribution(prob:select_stakers(10000, [{thomas, 800}, {hans, 80}, {erik, 80}] ++ [{N, 1} || N <- lists:seq(1,40)])).
[{thomas,0.808},
{hans,0.0773},
{erik,0.0769},
{18,0.0017},
{7,0.0016},
{22,0.0015},
{33,0.0015},
{14,0.0015},
{13,0.0014},
{11,0.0013},
{15,0.0012},
{39,0.0011},
{40,0.0011},
{1,0.0011},
{35,0.0011},
{30,0.0011},
{25,0.001},
{3,0.001},
{2,0.001},
{32,0.001},
{5,0.001},
{4,0.0009},
{28,0.0009},
{29,0.0009},
{19,0.0009},
{17,0.0009},
{27,0.0009},
{34,...},
{...}|...]Synchronization
Pinning
Non-productive stakers
Parent chain compatibility
Last updated
Was this helpful?