예제 #1
0
    // request btc transfer
    public void SendRequestCallback(BitcoinIntegration.ResponseData data)
    {
        Debug.Log("BitcoinSDKTest: SendRequestCallback");
        messageLog += "SendRequestCallback\n";
        messageLog += data.message;

        transactionHashStr = BitcoinIntegration.instance.getCurrentTxHash();
    }
예제 #2
0
    // request btc transfer
    public void SendRequestCallback(BitcoinIntegration.ResponseData data)
    {
        if (debugLevel > 0)
        {
            Debug.Log("BitcoinSDKGui: SendRequestCallback");
        }
        messageLog += "SendRequestCallback\n";
        messageLog += data.message;

        transactionHashStr = BitcoinIntegration.instance.getCurrentTxHash();
        InputField_TxHash.GetComponentInChildren <InputField>().text = transactionHashStr;

        LoggingText.GetComponent <Text>().text = messageLog;
    }
    // request btc transfer - callback
    public void SendRequestCallback(BitcoinIntegration.ResponseData data)
    {
        if (debugLevel > 0)
        {
            Debug.Log("BitcoinSDKGui: SendRequestCallback");
        }
        messageLog += "SendRequestCallback\n";
        messageLog += data.message;

        availableAssets[currentBtcAsset].transactionHashStr = BitcoinIntegration.instance.getCurrentTxHash();
        objectGroups[currentBtcAsset].InputField_Transaction1.GetComponentInChildren <InputField>().text = availableAssets[currentBtcAsset].transactionHashStr;

        LoggingText.GetComponent <Text>().text = messageLog;

        if ((availableAssets[currentBtcAsset].transactionHashStr != null) && (availableAssets[currentBtcAsset].transactionHashStr.Length > 0))
        {
            verifyTransactions(currentBtcAsset);
        }
    }