Esempio n. 1
0
def main() -> None:
    main_entry(
        trinity_boot,
        APP_IDENTIFIER_ETH1,
        get_components_for_eth1_client(),
        (Eth1AppConfig,)
    )
Esempio n. 2
0
def main_beacon() -> None:
    main_entry(
        trinity_boot,
        APP_IDENTIFIER_BEACON,
        get_plugins_for_beacon_client(),
        (BeaconAppConfig,)
    )
Esempio n. 3
0
def main_beacon() -> None:
    main_entry(trinity_boot, APP_IDENTIFIER_BEACON, BASE_PLUGINS, (BeaconAppConfig,))
Esempio n. 4
0
def main() -> None:
    main_entry(trinity_boot, get_all_plugins())
Esempio n. 5
0
def main() -> None:
    main_entry(trinity_boot, APP_IDENTIFIER_ETH1, get_all_plugins(),
               (Eth1AppConfig, ))
Esempio n. 6
0
def main_beacon() -> None:
    main_entry(trinity_boot, get_base_db, APP_IDENTIFIER_BEACON,
               get_components_for_beacon_client(), (BeaconAppConfig, ))
Esempio n. 7
0
def main_beacon() -> None:
    main_entry(trinity_boot, BASE_PLUGINS, (BeaconAppConfig, ))
Esempio n. 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, ))
Esempio n. 9
0
def main_beacon() -> None:
    main_entry(trinity_boot, BASE_PLUGINS)