Bitcoin Forum
December 03, 2016, 10:09:41 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 [108] 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 ... 168 »
  Print  
Author Topic: Blockchain.info - Bitcoin Block explorer & Currency Statistics  (Read 414030 times)
arsenische
Legendary
*
Offline Offline

Activity: 1116


View Profile
March 22, 2013, 03:08:53 PM
 #2141

- snip -
Is output https://blockchain.info/q/newkey actually correct?
- snip -
I converted the private key to Base58 via brainwallet.info and tried to sign a message... and noticed, that it showed a different bitcoin address (not the one that had been given by https://blockchain.info/q/newkey).
- snip -

It works fine for me.

I used http://brainwallet.org/

Then I clicked the "Secret Exponent" button, and entered the private key received from https://blockchain.info/q/newkey in the "Secret Exponent" field.

When I clicked the button for "Compressed" key, the displayed Bitcoin Address was the same as the one given by https://blockchain.info/q/newkey

Are you sure you are using "compressed key" when generating the Base58 code and Bitcoin Address?

Hmm.. You are right, I used a different procedure. I used "converter" tab to convert to Base58, and then used Base58 on the "sign" tab. And it showed different address. So maybe I'm just misunderstanding something, sorry.

1480802981
Hero Member
*
Offline Offline

Posts: 1480802981

View Profile Personal Message (Offline)

Ignore
1480802981
Reply with quote  #2

1480802981
Report to moderator
1480802981
Hero Member
*
Offline Offline

Posts: 1480802981

View Profile Personal Message (Offline)

Ignore
1480802981
Reply with quote  #2

1480802981
Report to moderator
1480802981
Hero Member
*
Offline Offline

Posts: 1480802981

View Profile Personal Message (Offline)

Ignore
1480802981
Reply with quote  #2

1480802981
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480802981
Hero Member
*
Offline Offline

Posts: 1480802981

View Profile Personal Message (Offline)

Ignore
1480802981
Reply with quote  #2

1480802981
Report to moderator
1480802981
Hero Member
*
Offline Offline

Posts: 1480802981

View Profile Personal Message (Offline)

Ignore
1480802981
Reply with quote  #2

1480802981
Report to moderator
arsenische
Legendary
*
Offline Offline

Activity: 1116


View Profile
March 22, 2013, 04:05:10 PM
 #2142

Ok.. So new_key returns bitcoin address and exponent for private key (not a private key itself)?

When  I put it in brainwallet, it gives the right bitcoin address... So it means that theoretically I control my test money. Thanks for help!

But now there is a question, how to spend them practically via blockchain API?

I want to use this call:
https://blockchain.info/merchant/$guid/payment?to=$address&amount=$amount

According to brainwallet doc,
Quote
$guid can be replaced with a hex encoded private key and the password parameters can be omitted.

I tried to convert private key from DER to HEX format via brainwallet's "converter", but when I feed the result string to blockchain, I get
Quote
{"error":"Invalid PK Bytes Length"}

How do I get a hex encoded private key?

Thanks!

arsenische
Legendary
*
Offline Offline

Activity: 1116


View Profile
March 22, 2013, 11:33:08 PM
 #2143

What I do:

1. Go to https://blockchain.info/q/newkey , it shows 2 words, such as:

      1jDY146mpM6BKYsxGVRz9ckVGYuSEDv2o f5b4522d9a49d7ba38450058f8e390454dd1d6f513a0e299a55e2f46e51f8021

    So

      $address1 = 1jDY146mpM6BKYsxGVRz9ckVGYuSEDv2o
      $privHex = f5b4522d9a49d7ba38450058f8e390454dd1d6f513a0e299a55e2f46e51f8021

2. Send $amount+0.0005 bitcoins to $address1

3. Call https://blockchain.info/merchant/$privHex/payment?to=$someOtherAddress&amount=$amount , it will give me the error:
      {"error":"No free outputs to spend"}

4. Go to http://brainwallet.org/#converter , paste there $privHex, convert it to $privBase58

5. Go to http://brainwallet.org/#sign , paste there $privBase58, notice bitcoin address $address2

6. Send $amount+0.0005 bitcoins to $address2

7. Call exactly the same query as in 3: https://blockchain.info/merchant/$privHex/payment?to=$someOtherAddress&amount=$amount
      It works, money sent from $address2!

If I go to http://brainwallet.org/#generator and put there $privHex as exponent and click "Compressed", I will see $address1 there and Private Key (DER). But I have no idea how to convert that private key to hex format required by blockchain.info to be able to spend test money that has been sent to $address1.

Please help. How can it be explained and how is it supposed to work?

piuk
Hero Member
*****
Offline Offline

Activity: 910



View Profile WWW
March 23, 2013, 03:46:40 AM
 #2144

Piuk - do you run bitcoind or your own implementation of the protocol?

Bitcoind, just with some modified networking code.

Please help. How can it be explained and how is it supposed to work?

The private key returned by /new is Hex encoded and the compressed address is shown. The merchant API should be compatible with no conversion however using the call where you pass in a single private key only the uncompressed address is checked. Now both the compressed and uncompressed balances will be check and it should work fine.

arsenische
Legendary
*
Offline Offline

Activity: 1116


View Profile
March 23, 2013, 09:43:12 AM
 #2145

Please help. How can it be explained and how is it supposed to work?

The private key returned by /new is Hex encoded and the compressed address is shown. The merchant API should be compatible with no conversion however using the call where you pass in the loan private key only the uncompressed address would be check. Now both the compressed and uncompressed balances will be check and it should work fine.

Thank you so much, it works!

rme
Hero Member
*****
Offline Offline

Activity: 672


1R2sWeVhFitB8zVbkrmdSoXzaQRsw6cfh


View Profile
March 23, 2013, 05:38:19 PM
 #2146

Firstbits in Blockchain.info is not working (for new ones)
(sorry for the size and color, just to call attention).

For example, this url https://blockchain.info/address/1R2sWe is the firsbits of 1R2sWeVhFitB8zVbkrmdSoXzaQRsw6cfh and it is not woking.

Also firstbits.com is down.
rme
Hero Member
*****
Offline Offline

Activity: 672


1R2sWeVhFitB8zVbkrmdSoXzaQRsw6cfh


View Profile
March 24, 2013, 01:51:22 PM
 #2147

bump
willphase
Hero Member
*****
Offline Offline

Activity: 770


View Profile
March 24, 2013, 10:26:40 PM
 #2148

bump

why are you bumping a question that's already been answered:

blockchain.info isn't calculating firstbits for new addresses. Could you fix it please?

Ah for some reason I disabled this. It is enabled again now but has a bit of catching up to do.

Will

jamesg
VIP
Legendary
*
Offline Offline

Activity: 1330


AKA: gigavps


View Profile
March 25, 2013, 02:39:34 PM
 #2149

Piuk,

It seems some recent changes to the SSL cert (within the last week) have caused Java clients trying to connect to the API to not be able to validate your SSL cert. Did you move to SNI SSL cert or do something else?

Thanks,
James
piuk
Hero Member
*****
Offline Offline

Activity: 910



View Profile WWW
March 25, 2013, 04:22:25 PM
 #2150

Piuk,

It seems some recent changes to the SSL cert (within the last week) have caused Java clients trying to connect to the API to not be able to validate your SSL cert. Did you move to SNI SSL cert or do something else?

Thanks,
James

I made a few SSL changes last night I think may be the full certificate chain was incomplete. Please try again now.

jamesg
VIP
Legendary
*
Offline Offline

Activity: 1330


AKA: gigavps


View Profile
March 25, 2013, 04:48:51 PM
 #2151

I made a few SSL changes last night I think may be the full certificate chain was incomplete. Please try again now.

I have retried a small payment through the API and everything is working normally again.

Thanks for the quick fix.

Best,
James
lunarboy
Hero Member
*****
Offline Offline

Activity: 544



View Profile
March 25, 2013, 09:42:00 PM
 #2152



Any plans to add a safari Browser extension? The firefox and Chrome versions look great !
Carlos L.
Legendary
*
Offline Offline

Activity: 952


View Profile
March 26, 2013, 07:49:50 PM
 #2153

Why don't you answer my ticket on zendesk?

I have added a tool to help you debug this issue. The server will now log the response of every callback and you can view the logs by entering the callback url on https://blockchain.info/api/api_receive or https://blockchain.info/api/blockchain_wallet_api.

http://i.imgur.com/P2rNqUJ.png
Thank you Thank you Thank you Thank you Thank you   Grin

Where can I tip you?
Can you please order the result by date?

Thanks.
JonSnow
Member
**
Offline Offline

Activity: 112


View Profile
March 28, 2013, 11:16:01 PM
 #2154

Anyone else having problems receiving the SMS code?  I can't login because the code isn't being sent, and this sucks since I sell bitcoins ...
JonSnow
Member
**
Offline Offline

Activity: 112


View Profile
March 29, 2013, 05:27:37 AM
 #2155

Update:  it's been over 5 hours and no response - still locked out of my wallet due to not receiving the SMS codes, and now it's stuck on "changing wallet identifier" ... am I the only one having issues?
ripper234
Legendary
*
Offline Offline

Activity: 1260


Ron Gross


View Profile WWW
March 29, 2013, 10:44:50 AM
 #2156

Update:  it's been over 5 hours and no response - still locked out of my wallet due to not receiving the SMS codes, and now it's stuck on "changing wallet identifier" ... am I the only one having issues?

I am not receiving my email verification code and am locked out.

Please do not pm me, use ron@bitcoin.org.il instead
Mastercoin Executive Director
Co-founder of the Israeli Bitcoin Association
piuk
Hero Member
*****
Offline Offline

Activity: 910



View Profile WWW
March 29, 2013, 01:20:40 PM
 #2157

Any plans to add a safari Browser extension? The firefox and Chrome versions look great !

Sure, if apple accepts it into the extension gallery.

Can you please order the result by date?

Done.

I am not receiving my email verification code and am locked out.

Email and SMS codes should be coming through again now.

MikeH
Sr. Member
****
Offline Offline

Activity: 392


View Profile
March 29, 2013, 01:39:45 PM
 #2158

hope so but I suspect they will be backed up - I would have generated 5 confirmation code emails alone.
ripper234
Legendary
*
Offline Offline

Activity: 1260


Ron Gross


View Profile WWW
March 29, 2013, 02:10:22 PM
 #2159

Any plans to add a safari Browser extension? The firefox and Chrome versions look great !

Sure, if apple accepts it into the extension gallery.

Can you please order the result by date?

Done.

I am not receiving my email verification code and am locked out.

Email and SMS codes should be coming through again now.

Thanks for the quick response, it works!

Please do not pm me, use ron@bitcoin.org.il instead
Mastercoin Executive Director
Co-founder of the Israeli Bitcoin Association
hazek
Legendary
*
Offline Offline

Activity: 1078


View Profile
March 29, 2013, 06:57:23 PM
 #2160

piuk an chance on that graph we talked about a while back that draws what this one does: http://statistics.ecdsa.org/

My personality type: INTJ - please forgive my weaknesses (Not naturally in tune with others feelings; may be insensitive at times, tend to respond to conflict with logic and reason, tend to believe I'm always right)

If however you enjoyed my post: 15j781DjuJeVsZgYbDVt2NZsGrWKRWFHpp
Pages: « 1 ... 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 [108] 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 ... 168 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!