コード例 #1
0
def step_impl(context, userName, transactionAlias, orderer):
    directory = bootstrap_util.getDirectory(context)
    user = directory.getUser(userName=userName)
    transaction = user.tags[transactionAlias]
    bootstrap_util.broadcast_channel_config_tx(context=context,
                                               certAlias=None,
                                               composeService=orderer,
                                               user=user,
                                               configTxEnvelope=transaction)
コード例 #2
0
def step_impl(context, userName, certAlias, configTxName, orderer):
    directory = bootstrap_util.getDirectory(context)
    user = directory.getUser(userName=userName)
    configTxEnvelope = user.tags[configTxName]
    bootstrap_util.broadcast_channel_config_tx(
        context=context,
        certAlias=certAlias,
        composeService=orderer,
        user=user,
        configTxEnvelope=configTxEnvelope)