Author

Topic: Feasibility on putting block chain on Google App Engine (Read 2125 times)

legendary
Activity: 1526
Merit: 1129
You can query the balance of an address that's in your wallet. You don't need the private key. You can't (today) query the balance of every addresses in the block chain, a la blockexplorer. That's a use case that'd be useful to support later.
legendary
Activity: 1304
Merit: 1014
If you have the BTC, post a bounty!

Good idea.  I may post a bounty once I figure out what I need.  If I go with the GAE method then it will need to run on GAE.  Again I just need to read out of the blockchain.  Also, some the bitcond commands also need to work so you can query the blockchain from GAE, for instance, getting the balance of a bitcoin address.

Seems like if bitcoin can run on GAE it can scale indefinitely.

legendary
Activity: 1102
Merit: 1014
If you have the BTC, post a bounty!
legendary
Activity: 1304
Merit: 1014
In that case I guess you could use BitCoinJ to connect to the network every 10 minutes or so and download new blocks. Create an implementation of the BlockStore interface that uses the appengine datastore and you'd be "done" I guess, though nobody has tried it yet.

Thanks Mike.  I'll be looking into this although I don't know if I have the time (or maybe even the talent).
legendary
Activity: 1526
Merit: 1129
In that case I guess you could use BitCoinJ to connect to the network every 10 minutes or so and download new blocks. Create an implementation of the BlockStore interface that uses the appengine datastore and you'd be "done" I guess, though nobody has tried it yet.
member
Activity: 98
Merit: 10
The problem with using Bitcoin on GAE is that, last time I checked, you are not allowed to make outbound TCP connections.

Not true, certain types of connections are restricted - basically, anything involving raw sockets but outbound tcp connections work fine
legendary
Activity: 1358
Merit: 1003
Ron Gross
The problem with using Bitcoin on GAE is that, last time I checked, you are not allowed to make outbound TCP connections.

Take a look at Stratum. It's still very much work in progress, but it should work on GAE (I assume outbound HTTP connections are allowed).
legendary
Activity: 1526
Merit: 1129
The problem with using Bitcoin on GAE is that, last time I checked, you are not allowed to make outbound TCP connections.
member
Activity: 98
Merit: 10
What is the feasibility on putting block chain on Google App Engine?  I would like to do this since my app relies on Google App Engine.  I just want to read out of the block chain.

You could probably copy it up there and write yourself something similar to blockexplorer, I believe the source for it or something similar is out there.

Quote from: jine
Another solution would be to use the RPC-interface to bitcoind and place the blockchain + bitcoin somewhere else, for instance - EC2 (which have a free tier first year for a micro server)

This is what I have did for the litecoin faucet.
sr. member
Activity: 403
Merit: 250
BitCoinJ is a Java-implementation of the bitcoin protocol, it should be able to port it to GAE.
Another solution would be to use the RPC-interface to bitcoind and place the blockchain + bitcoin somewhere else, for instance - EC2 (which have a free tier first year for a micro server)

A third solution would be to use blockchain/blockexplorer to get data, depending on what your needs is.

--
Regards, Jim
Bit LC Inc.
https://www.bitlc.net
legendary
Activity: 1304
Merit: 1014
What is the feasibility on putting block chain on Google App Engine?  I would like to do this since my app relies on Google App Engine.  I just want to read out of the block chain.
Jump to: