Exemple #1
0
def main() -> None:
    main_entry(
        trinity_boot,
        APP_IDENTIFIER_ETH1,
        get_components_for_eth1_client(),
        (Eth1AppConfig,)
    )
Exemple #2
0
def main_beacon() -> None:
    main_entry(
        trinity_boot,
        APP_IDENTIFIER_BEACON,
        get_plugins_for_beacon_client(),
        (BeaconAppConfig,)
    )
Exemple #3
0
def main_beacon() -> None:
    main_entry(trinity_boot, APP_IDENTIFIER_BEACON, BASE_PLUGINS, (BeaconAppConfig,))
Exemple #4
0
def main() -> None:
    main_entry(trinity_boot, get_all_plugins())
Exemple #5
0
def main() -> None:
    main_entry(trinity_boot, APP_IDENTIFIER_ETH1, get_all_plugins(),
               (Eth1AppConfig, ))
Exemple #6
0
def main_beacon() -> None:
    main_entry(trinity_boot, get_base_db, APP_IDENTIFIER_BEACON,
               get_components_for_beacon_client(), (BeaconAppConfig, ))
Exemple #7
0
def main_beacon() -> None:
    main_entry(trinity_boot, BASE_PLUGINS, (BeaconAppConfig, ))
Exemple #8
0
def main() -> None:
    # Need a pretty long timeout because we fire all components at the same time so unless there
    # are at least a dozen idle cores, some of them will take a while to actually start running.
    os.environ['ASYNCIO_RUN_IN_PROCESS_STARTUP_TIMEOUT'] = '30'
    main_entry(trinity_boot, get_base_db, APP_IDENTIFIER_ETH1,
               get_components_for_eth1_client(), (Eth1AppConfig, ))
Exemple #9
0
def main_beacon() -> None:
    main_entry(trinity_boot, BASE_PLUGINS)