예제 #1
0
def main() -> None:
    main_entry(
        trinity_boot,
        APP_IDENTIFIER_ETH1,
        get_components_for_eth1_client(),
        (Eth1AppConfig,)
    )
예제 #2
0
def main_beacon() -> None:
    main_entry(
        trinity_boot,
        APP_IDENTIFIER_BEACON,
        get_plugins_for_beacon_client(),
        (BeaconAppConfig,)
    )
예제 #3
0
def main_beacon() -> None:
    main_entry(trinity_boot, APP_IDENTIFIER_BEACON, BASE_PLUGINS, (BeaconAppConfig,))
예제 #4
0
def main() -> None:
    main_entry(trinity_boot, get_all_plugins())
예제 #5
0
def main() -> None:
    main_entry(trinity_boot, APP_IDENTIFIER_ETH1, get_all_plugins(),
               (Eth1AppConfig, ))
예제 #6
0
def main_beacon() -> None:
    main_entry(trinity_boot, get_base_db, APP_IDENTIFIER_BEACON,
               get_components_for_beacon_client(), (BeaconAppConfig, ))
예제 #7
0
def main_beacon() -> None:
    main_entry(trinity_boot, BASE_PLUGINS, (BeaconAppConfig, ))
예제 #8
0
파일: main.py 프로젝트: wangroot/trinity
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, ))
예제 #9
0
def main_beacon() -> None:
    main_entry(trinity_boot, BASE_PLUGINS)