Author

Topic: Withdrawing bitcoin from Britcoin (Read 1353 times)

full member
Activity: 140
Merit: 100
August 03, 2011, 07:16:03 AM
#5
If I try to send bitcoins to an invalid public address (for example, changing one character from upper case to lower case) using the client, it tells me it's an invalid address. This is good.

What happens if I enter an invalid address at Britcoin on the withdraw screen? Will it act similarly, i.e. refuse the transaction and tell me it's invalid? I don't want to experiment because the withdraw amount has to be at least .5 BTC, I believe, and I'm not willing to risk it. Smiley

britcoin talks to a bitcoind to actually talk to the network.  If britcoin attempts to construct a transaction to an address that is invalid (i.e. the checksum doesn't match) then it will get an error back from bitcoind and should pass this error onto the user.

You can check this by looking at the britcoin source (since it's open source).

in the meantime, check out the FAQ.

Will

Thanks very much, Will.

I'm not a coder, but this is pretty straightforward in terms of answering my question:

Code:
function bitcoin_withdraw($uid, $amount, $curr_type)
{
    $addy = post('address');
    $bitcoin = connect_bitcoin();
    $validaddy = $bitcoin->validateaddress($addy);
    if (!$validaddy['isvalid'])
        throw new Problem('Bitcoin says no', 'That address you supplied was invalid.');
    syslog(LOG_NOTICE, "address=$addy");
    endlog();

hero member
Activity: 767
Merit: 500
August 02, 2011, 05:33:36 PM
#4
If I try to send bitcoins to an invalid public address (for example, changing one character from upper case to lower case) using the client, it tells me it's an invalid address. This is good.

What happens if I enter an invalid address at Britcoin on the withdraw screen? Will it act similarly, i.e. refuse the transaction and tell me it's invalid? I don't want to experiment because the withdraw amount has to be at least .5 BTC, I believe, and I'm not willing to risk it. Smiley

britcoin talks to a bitcoind to actually talk to the network.  If britcoin attempts to construct a transaction to an address that is invalid (i.e. the checksum doesn't match) then it will get an error back from bitcoind and should pass this error onto the user.

You can check this by looking at the britcoin source (since it's open source).

in the meantime, check out the FAQ.

Will
full member
Activity: 140
Merit: 100
August 02, 2011, 12:36:45 PM
#3
If I try to send bitcoins to an invalid public address (for example, changing one character from upper case to lower case) using the client, it tells me it's an invalid address. This is good.

What happens if I enter an invalid address at Britcoin on the withdraw screen? Will it act similarly, i.e. refuse the transaction and tell me it's invalid? I don't want to experiment because the withdraw amount has to be at least .5 BTC, I believe, and I'm not willing to risk it. Smiley
full member
Activity: 140
Merit: 100
July 16, 2011, 03:25:50 PM
#2
http://blockexplorer.com/address/1GDGhnQFFzCQ2CvtKr4pDRW4J5Wo3yk9Xp

And you can see the transaction in block explorer. Just replace the address at the end with your own.
member
Activity: 112
Merit: 10
July 16, 2011, 01:56:38 PM
#1
Hey all,

I withdrew 0.5 bitcoins from the Britcoin exchange about an hour ago. On the site it says it has been validated and finished. However my bitcoin account is still not credited... How long should I expect it to take?
I have checked the address and it was entered correctly.

Thanks!
Jump to: