Bitcoin Forum
June 21, 2024, 11:29:14 PM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / Re: Announcing BlockCypher's Transaction API: create&manage bitcoin transactions on: January 18, 2016, 03:38:18 PM
This is PHP and the syntax is very similar to C. If you see the link I provided, it wont be very difficult for you to decipher the working logic. sign() is a server side function which is taking $txSkeleton & $privateKeys variables as input and returning the signed data. But, if I could sign using PHP itself, I could avoid this step and directly push the signed Tx. I hope, someone, who knows PHP, chime in and point me to a code that allows me to do so...

Okay - then I hope the OP will explain his misleading point (hopefully it isn't a scam but it could be).


Well... blockcypher is definitely not a scam. blockcypher API is also used by services like ShapeShift.io. blockchain.info needs your private key/password too to send a Tx. This has become the de-facto rule for small bitcoin app devs and most do not bother much about this (well they'll tell you lots of security stories though). I have used blockchain.info before and none of my faucets ever got hacked. The thumb rule is to keep low amount in the hot wallet. But, as I am preparing for a bigger project I was exploring for an API that offers better security.

Actually blockchain.info doesn't use your keys on their side, all signing is done in browser. You never hand over raw keys to blockchain.info thank the stars!
2  Bitcoin / Development & Technical Discussion / Re: A small optimization on: January 15, 2016, 02:38:45 PM
Describe how you would attribute the "nth address"  correctly in a distributed network and/or block fork.

I'm assuming your basis would be something along the lines of the "mth" output index in the "nth" transaction would contain the nth address. If only transaction ordering could be reasoned with Wink

As a side note, is 2^48 number of transaction output indexes sufficient for all the addresses in time ever?

What about script hashes?

Basically you're suggesting that you can compress the public address into something smaller, which at best case "might" reduce any scripts that contain 20 bytes hashes of public keys (P2PK) into 4-6 bytes, saving at most 16 bytes. Not even enough to fit another transaction in beside it. So less than doubling the transaction count in a single block (best case).

You're better off doubling the block size capacity (to 2mb) and you already have a better solution.
3  Bitcoin / Development & Technical Discussion / Re: Bitcoin Node App for Android on: January 15, 2016, 02:17:02 PM
BitcoinJ will work. However you will need to run it in full node mode and allocate sufficient storage. Seems like a waste to use an android device when a raspberry pi with a USB HD might suffice instead.
4  Economy / Trading Discussion / Re: CFD trading mt gox market on: February 19, 2014, 04:26:43 PM
I think btc.sx provide a CFD product or something similar, it's the only ting they do.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!