def userC_challenges_the_coin_spent_exit(context):
    client = Client(container.get_root_chain(), container.get_child_chain_client(), userC_key)
    client.challenge_exit(uid, tx_blk_num=TRANSFER_TX_2_BLOCK)
    time.sleep(5)

    operator = Client(container.get_root_chain(), container.get_child_chain_client(), operator_key)
    operator.submit_block()
Beispiel #2
0
def userC_challenges_the_exit(context):
    client = Client(container.get_root_chain(), container.get_child_chain_client(), userC_key)
    client.challenge_exit(uid, tx_blk_num=TRANSFER_TX_1_BLOCK)
    time.sleep(5)
def userC_challenges_the_spent_coin_exit(context):
    client = Client(container.get_root_chain(),
                    container.get_child_chain_client(), userB_key)
    client.challenge_exit(uid, tx_blk_num=DEPOSIT_TX_BLOCK)
    time.sleep(5)