slickage / baron

Baron is a Bitcoin payment processor that anyone can deploy
163 stars 35 forks source link

USD/BTC spot rate imprecise if Baron/bitcoind is offline #55

Open akinsey opened 10 years ago

akinsey commented 10 years ago

Solving this by grabbing the transaction.time from the bitcoin transaction and grabbing data from bitstamped using that timestamp. I'm aware the timestamp may not be 100% accurate, but it appears to be the best we can do at this time.

wtogami commented 10 years ago

This will be very difficult to fully solve. Fortunately it should be very rare as users are unlikely to pay while they are unable to load the payment page.