Пример #1
0
def ordererBootstrap_impl(context, ordererType):
    context.ordererProfile = config_util.PROFILE_TYPES.get(
        ordererType, "SampleInsecureSolo")
    config_util.generateOrdererConfig(context, config_util.CHANNEL_PROFILE,
                                      context.ordererProfile, "orderer.block")
    config_util.generateChannelConfig(context.interface.SYS_CHANNEL_ID,
                                      config_util.CHANNEL_PROFILE, context)
Пример #2
0
def ordererBootstrap_impl(context, ordererType):
    profile = config_util.PROFILE_TYPES[ordererType]
    config_util.generateOrdererConfig(context, TEST_CHANNEL_ID, profile,
                                      "orderer.block")