Straight: An Open-Source Bitcoin Payment Gateway
straight.romansnitko.com
straight.romansnitko.com
@romansnitko, can you add me to skype: spunxz
More importantly, I will add a bitcoind adapter for those willing to store blockchain on their server and not trust any third party service.
To sum it up, there is nothing in the architecture of this software that says you should rely on third party services to query the blockchain.
That just means you're leaking all of your payment details to multiple parties instead of one, makes you dependent on the uptime of two different services at once, and doubles the number of outgoing requests.
> More importantly, I will add a bitcoind adapter for those willing to store blockchain on their server and not trust any third party service.
I'm not sure how you intend to accomplish this, bitcoind doesn't have an interfaces or the indexes to do arbitrary "address balance" (addresses do not have balances!) lookups like your blockchain.info adapter expects. You'll have to built your own indexes from the raw block data, or implement an SPV node, or some other such mess.
As for leaking the data, I'm not sure about you mean. What adapters do is, they simply check addresses and transactions. How does that qualify as leaking? Straight doesn't tell Blockchain.info or Helloblock.info how much money is expected, nor does it tell them who made the payment and which store expects it.
This requires 70GB of leveldb indexes on disk, as well as the 30GB block chain, but is a better solution if you can spare the disk space and CPU time. Else an lite client can be made to be very light weight for a situation like this, around 75MB on disk all told.
> Straight doesn't tell Blockchain.info or Helloblock.info how much money is expected, nor does it tell them who made the payment and which store expects it.
Sure it does. It marks all of the "address balances" you query with payments received by your service. You're making a request to an unused address moments before it will be receiving a payment from another party, proof that particular IP address is the receiver. As soon as you have a marker like that you can begin exposing the customers involved much more easily.
If you have any ideas how to improve it, I'll be happy to listen.
https://github.com/slickage/baron
Doesn't rely on Blockchain.info either :)