예제 #1
0
def config(attester_count, attester_reward, epoch_length, shard_count,
           default_balance, max_validators):
    return generate_config(attester_count=attester_count,
                           attester_reward=attester_reward,
                           epoch_length=epoch_length,
                           shard_count=shard_count,
                           default_balance=default_balance,
                           max_validators=max_validators)
예제 #2
0
def config(default_end_dynasty, deposit_size, cycle_length,
           max_validator_count, min_committee_size, shard_count,
           slot_duration):
    return generate_config(default_end_dynasty=default_end_dynasty,
                           deposit_size=deposit_size,
                           cycle_length=cycle_length,
                           max_validator_count=max_validator_count,
                           min_committee_size=min_committee_size,
                           shard_count=shard_count,
                           slot_duration=slot_duration)
예제 #3
0
def config(attester_count, attester_reward, epoch_length, shard_count,
           default_balance, max_validators, notaries_per_crosslink):
    return generate_config(
        attester_count=attester_count,
        attester_reward=attester_reward,
        epoch_length=epoch_length,
        shard_count=shard_count,
        default_balance=default_balance,
        max_validators=max_validators,
        notaries_per_crosslink=notaries_per_crosslink,
    )
예제 #4
0
def config(base_reward_quotient, default_end_dynasty, deposit_size,
           cycle_length, max_validator_count, min_committee_size,
           min_dynasty_length, shard_count, slot_duration, sqrt_e_drop_time):
    return generate_config(base_reward_quotient=base_reward_quotient,
                           default_end_dynasty=default_end_dynasty,
                           deposit_size=deposit_size,
                           cycle_length=cycle_length,
                           max_validator_count=max_validator_count,
                           min_committee_size=min_committee_size,
                           min_dynasty_length=min_dynasty_length,
                           shard_count=shard_count,
                           slot_duration=slot_duration,
                           sqrt_e_drop_time=sqrt_e_drop_time)