示例#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)