Data could not be retrieved [object Object]
Brief Description: Click on "Order #5e94859f3f8e2d7f130d17da0baebc0df601f37e" displays error message, "Data could not be retrieved [object Object]".
Operating System (OS and version): Ubutnu 15.10 OpenBazaar version: Version 1.0.6 Hardware:
Reproducible (Always / Almost Always / Sometimes / Rarely / Couldn't Reproduce): Always
Steps to reproduce:
- Create "service" product
Observed Behavior: Error dialog.
Expected Behavior: Details of paid order. Should display ship to address, and a description of the "service"
Additional info (links, images, etc go here):
http://imgur.com/a/34TAu
I think this is somehow related to a failure in libbitcoin-client. If you can find a stack trace that would help.
Why are we using libbitcoin again? Why not use SPV nodes?
It might be able to do SPV. I wrote an (incomplete) SPV library. https://github.com/cpacia/pybitcoin
The issue is mainly that the moderator can't look up a transaction and get the inputs if it's SPV (since he doesn't learn of the funding tx until after it confirms). I suppose we could have either party to the dispute just send over the inputs and have the moderator just sign them without looking up the tx in the chain.
That's a lot of work though to make that library work 100%.
What's wrong with using an off-the-self SPV library (instead of starting from scratch)?
There aren't any good python ones AFAIK.
@drwasho Are we restricting ourselves to Python? Seems like a wasted opportunity.
We're already python based for the backend. But, show me a good alternative that is cross-platform? And don't suggest anything with Java.
We could wrap a c++ or Java version but kind of annoying if we are just turning around to use it with Python.
@drwasho: https://github.com/jgarzik/picocoin? C binds very easily to Python
this should fixed now.