Пример #1
0
def update_claim(user,
                 password,
                 claim_name,
                 claim_id,
                 txid,
                 nout,
                 metadata,
                 content_type,
                 source_hash,
                 currency,
                 amount,
                 bid,
                 address=None,
                 tx_fee=None,
                 callback=None):

    server = Server(configs.get('wallet_rpc'))
    tp = Timekeeping()
    res = server.update_claim(user, password, claim_name, claim_id, txid, nout,
                              metadata, content_type, source_hash, currency,
                              amount, bid, address, tx_fee)
    tp.print_interval('update_claim')
    if callback is not None:
        return callback(res)

    return res